ExamGecko
Home Home / Cisco / 200-901

Cisco 200-901 Practice Test - Questions Answers, Page 3

Question list
Search
Search

What is the outcome of executing this command? git clone ssh:/[email protected]/path/to/my-project.git

A.

creates a local copy of a repository called “my-project”

A.

creates a local copy of a repository called “my-project”

Answers
B.

initiates a new Git repository called “my-project”

B.

initiates a new Git repository called “my-project”

Answers
C.

creates a copy of a branch called “my-project”

C.

creates a copy of a branch called “my-project”

Answers
D.

creates a new branch called “my-project”

D.

creates a new branch called “my-project”

Answers
Suggested answer: A

Explanation:


Reference: https://www.atlassian.com/git/tutorials/setting-up-a-repository/git-clone

Which action does the Git command git merge allow the developer to perform?

A.

Combine multiple sequences of commits into one unified history

A.

Combine multiple sequences of commits into one unified history

Answers
B.

Push changes to the remote repository

B.

Push changes to the remote repository

Answers
C.

Create, list, rename, and delete branches

C.

Create, list, rename, and delete branches

Answers
D.

Switch between branches

D.

Switch between branches

Answers
Suggested answer: A

Explanation:


Reference: https://www.atlassian.com/git/tutorials/using-branches/git-merge

How does a developer create and switch to a new branch called “my-bug-fix” to develop a product fix?

A.

git checkout -b my-bug-fix

A.

git checkout -b my-bug-fix

Answers
B.

git branch -b my-bug-fix

B.

git branch -b my-bug-fix

Answers
C.

git branch my-bug-fix

C.

git branch my-bug-fix

Answers
D.

git checkout my-bug-fix

D.

git checkout my-bug-fix

Answers
Suggested answer: A

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?

A.

git -a README.md

A.

git -a README.md

Answers
B.

git add README.md

B.

git add README.md

Answers
C.

git add README.md staging

C.

git add README.md staging

Answers
D.

git commit README.md

D.

git commit README.md

Answers
Suggested answer: B

Explanation:


Reference: https://teamtreehouse.com/community/committing-the-readmemd-file-to-repository

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?

A.

Refactor the code by removing any unnecessary tests.

A.

Refactor the code by removing any unnecessary tests.

Answers
B.

Reverse engineer and rewrite the code logic.

B.

Reverse engineer and rewrite the code logic.

Answers
C.

Using functions, rewrite any pieces of code that are repeated.

C.

Using functions, rewrite any pieces of code that are repeated.

Answers
D.

Modify the code to use loops.

D.

Modify the code to use loops.

Answers
Suggested answer: C

Which principle is a value from the manifesto for Agile software development?

A.

processes and tools over teams and interactions

A.

processes and tools over teams and interactions

Answers
B.

detailed documentation over working software

B.

detailed documentation over working software

Answers
C.

adhering to a plan over responding to requirements

C.

adhering to a plan over responding to requirements

Answers
D.

customer collaboration over contract negotiation

D.

customer collaboration over contract negotiation

Answers
Suggested answer: D

Explanation:


Reference: https://www.cisco.com/c/dam/global/en_hk/solutions/collaboration/files/agile_product_development.pdf

Which advantage does the agile process offer compared to waterfall software development?

A.

to add or update features with incremental delivery

A.

to add or update features with incremental delivery

Answers
B.

to view the full scope of end-to-end work

B.

to view the full scope of end-to-end work

Answers
C.

to have each phase end before the next begins

C.

to have each phase end before the next begins

Answers
D.

to fix any issues at the end of the development cycle

D.

to fix any issues at the end of the development cycle

Answers
Suggested answer: A

How do XML and JSON compare regarding functionality?

A.

XML provides more support for mapping data structures into host languages than JSON.

A.

XML provides more support for mapping data structures into host languages than JSON.

Answers
B.

XML provides more human readability than JSON.

B.

XML provides more human readability than JSON.

Answers
C.

JSON provides less support for data types than XML.

C.

JSON provides less support for data types than XML.

Answers
D.

JSON natively supports arrays and XML does not natively support arrays.

D.

JSON natively supports arrays and XML does not natively support arrays.

Answers
Suggested answer: D

What are two principles of an infrastructure as code environment? (Choose two.)

A.

Components are coupled, and definitions must be deployed for the environment to function.

A.

Components are coupled, and definitions must be deployed for the environment to function.

Answers
B.

Redeployments cause varying environment definitions.

B.

Redeployments cause varying environment definitions.

Answers
C.

Environments must be provisioned consistently using the same inputs.

C.

Environments must be provisioned consistently using the same inputs.

Answers
D.

Service overlap is encouraged to cater for unique environment needs.

D.

Service overlap is encouraged to cater for unique environment needs.

Answers
E.

Complete complex systems must be able to be built from reusable infrastructure definitions.

E.

Complete complex systems must be able to be built from reusable infrastructure definitions.

Answers
Suggested answer:

Which two encoding formats do YANG interfaces support? (Choose two.)

A.

XML

A.

XML

Answers
B.

JSON

B.

JSON

Answers
C.

XHTML

C.

XHTML

Answers
D.

BER

D.

BER

Answers
E.

plain text

E.

plain text

Answers
Suggested answer: A, B

Explanation:


Reference: https://www.cisco.com/c/en/us/td/docs/ios- xml/ios/prog/configuration/171/b_171_programmability_cg/model_driven_telemetry.html

Total 471 questions
Go to page: of 48