Cisco 200-901 Practice Test - Questions Answers, Page 3
List of questions
Related questions
What is the outcome of executing this command? git clone ssh:/[email protected]/path/to/my-project.git
creates a local copy of a repository called “my-project”
initiates a new Git repository called “my-project”
creates a copy of a branch called “my-project”
creates a new branch called “my-project”
Which action does the Git command git merge allow the developer to perform?
Combine multiple sequences of commits into one unified history
Push changes to the remote repository
Create, list, rename, and delete branches
Switch between branches
How does a developer create and switch to a new branch called “my-bug-fix” to develop a product fix?
git checkout -b my-bug-fix
git branch -b my-bug-fix
git branch my-bug-fix
git checkout my-bug-fix
A developer needs to prepare the file README.md in the working tree for the next commit operation using Git. Which command needs to be used to accomplish this?
git -a README.md
git add README.md
git add README.md staging
git commit README.md
A developer is reviewing a code that was written by a colleague. It runs fine, but there are many lines of code to do a seemingly simple task repeatedly. Which action organizes the code?
Refactor the code by removing any unnecessary tests.
Reverse engineer and rewrite the code logic.
Using functions, rewrite any pieces of code that are repeated.
Modify the code to use loops.
Which principle is a value from the manifesto for Agile software development?
processes and tools over teams and interactions
detailed documentation over working software
adhering to a plan over responding to requirements
customer collaboration over contract negotiation
Which advantage does the agile process offer compared to waterfall software development?
to add or update features with incremental delivery
to view the full scope of end-to-end work
to have each phase end before the next begins
to fix any issues at the end of the development cycle
How do XML and JSON compare regarding functionality?
XML provides more support for mapping data structures into host languages than JSON.
XML provides more human readability than JSON.
JSON provides less support for data types than XML.
JSON natively supports arrays and XML does not natively support arrays.
What are two principles of an infrastructure as code environment? (Choose two.)
Components are coupled, and definitions must be deployed for the environment to function.
Redeployments cause varying environment definitions.
Environments must be provisioned consistently using the same inputs.
Service overlap is encouraged to cater for unique environment needs.
Complete complex systems must be able to be built from reusable infrastructure definitions.
Which two encoding formats do YANG interfaces support? (Choose two.)
XML
JSON
XHTML
BER
plain text
Question