Cisco® 200-901 Exam Practice Questions (P. 3)
- Full Access (632 questions)
- Six months of Premium Access
- Access to one million comments
- Seamless ChatGPT Integration
- Ability to download PDF files
- Anki Flashcard files for revision
- No Captcha & No AdSense
- Advanced Exam Configuration
Question #21
What is the outcome of executing this command?
git clone ssh:/[email protected]/path/to/my-project.git
git clone ssh:/[email protected]/path/to/my-project.git
- Acreates a local copy of a repository called ג€my-projectג€Most Voted
- Binitiates a new Git repository called ג€my-projectג€
- Ccreates a copy of a branch called ג€my-projectג€
- Dcreates a new branch called ג€my-projectג€
Correct Answer:
A
Reference:
https://www.atlassian.com/git/tutorials/setting-up-a-repository/git-clone
A
Reference:
https://www.atlassian.com/git/tutorials/setting-up-a-repository/git-clone
send
light_mode
delete
Question #22
Which action does the Git command git merge allow the developer to perform?
- ACombine multiple sequences of commits into one unified historyMost Voted
- BPush changes to the remote repository
- CCreate, list, rename, and delete branches
- DSwitch between branches
Correct Answer:
A
Reference:
https://www.atlassian.com/git/tutorials/using-branches/git-merge
A
Reference:
https://www.atlassian.com/git/tutorials/using-branches/git-merge
send
light_mode
delete
Question #23
How does a developer create and switch to a new branch called `my-bug-fix` to develop a product fix?
- Agit checkout -b my-bug-fixMost Voted
- Bgit branch -b my-bug-fix
- Cgit branch my-bug-fix
- Dgit checkout my-bug-fix
Correct Answer:
A
A

The `git checkout -b my-bug-fix` command is a handy shortcut that combines two actions: it creates a new branch named `my-bug-fix` and immediately checks it out, which means you switch to this new branch right away. This is not just a time-saver but also minimizes the chance of forgetting to switch to the new branch before starting work. It's the most efficient way to both create and start working on a new branch in one go.
send
light_mode
delete
Question #24
DRAG DROP -
Drag and drop the Git commands from the left onto the right that add modified local files to a remote repository. Not all options are used.
Select and Place:

Drag and drop the Git commands from the left onto the right that add modified local files to a remote repository. Not all options are used.
Select and Place:

send
light_mode
delete
Question #25
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?
- Agit -a README.md
- Bgit add README.mdMost Voted
- Cgit add README.md staging
- Dgit commit README.md
Correct Answer:
B
Reference:
https://teamtreehouse.com/community/committing-the-readmemd-file-to-repository
B
Reference:
https://teamtreehouse.com/community/committing-the-readmemd-file-to-repository
send
light_mode
delete
Question #26
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?
- ARefactor the code by removing any unnecessary tests.
- BReverse engineer and rewrite the code logic.
- CUsing functions, rewrite any pieces of code that are repeated.Most Voted
- DModify the code to use loops.
Correct Answer:
C
C

When you spot repetitive tasks in your code, bundling them into functions is a smart move. Functions help simplify and organize code by encapsulating tasks that are used multiple times, making your code cleaner and more maintainable. This practice also enhances code readability and can make debugging a lot easier. While loops are useful, they're better suited for tasks that need iteration over a sequence rather than reducing redundancy of code chunks performing the same action repeatedly.
send
light_mode
delete
Question #27
Which principle is a value from the manifesto for Agile software development?
- Aprocesses and tools over teams and interactions
- Bdetailed documentation over working software
- Cadhering to a plan over responding to requirements
- Dcustomer collaboration over contract negotiationMost Voted
Correct Answer:
D
Reference:
https://www.cisco.com/c/dam/global/en_hk/solutions/collaboration/files/agile_product_development.pdf
D
Reference:
https://www.cisco.com/c/dam/global/en_hk/solutions/collaboration/files/agile_product_development.pdf
send
light_mode
delete
Question #28
Which advantage does the agile process offer compared to waterfall software development?
- Ato add or update features with incremental deliveryMost Voted
- Bto view the full scope of end-to-end work
- Cto have each phase end before the next begins
- Dto fix any issues at the end of the development cycle
Correct Answer:
A
A

Agile methodology is designed around the principle of incremental delivery, allowing teams to introduce or adapt features within smaller, manageable units called sprints. This approach contrasts with the linear, phase-dependent structure of Waterfall, where adjustments typically wait until project completion. Agile's iterative cycles facilitate continuous improvement and can adapt to changes more fluidly, enhancing both product quality and customer satisfaction.
send
light_mode
delete
Question #29
How do XML and JSON compare regarding functionality?
- AXML provides more support for mapping data structures into host languages than JSON.
- BXML provides more human readability than JSON.
- CJSON provides less support for data types than XML.
- DJSON natively supports arrays and XML does not natively support arrays.Most Voted
Correct Answer:
D
D

The correct assertion that JSON natively supports arrays while XML does not is a key comparison point explored in the 200-901 DEVASC Exam. While XML can represent array data using multiple elements of the same name, it does not provide built-in or "native" support for array structures as JSON does. This distinction is crucial for understanding data handling differences between the two formats, especially when considering efficiency and syntax in data serialization for programming applications. Knowing these differences helps in making better choices when deciding which format to use in various development scenarios.
send
light_mode
delete
Question #30
What are two principles of an infrastructure as code environment? (Choose two.)
- AComponents are coupled, and definitions must be deployed for the environment to function.
- BRedeployments cause varying environment definitions.
- CEnvironments must be provisioned consistently using the same inputs.Most Voted
- DService overlap is encouraged to cater for unique environment needs.
- EComplete complex systems must be able to be built from reusable infrastructure definitions.Most Voted
Correct Answer:
CE
CE
send
light_mode
delete
All Pages