ExamGecko
Home Home / Cisco / 200-901

Cisco 200-901 Practice Test - Questions Answers

Question list
Search
Search

Which two concepts describe test-driven development? (Choose two.)

A.

User acceptance testers develop the test requirements.

A.

User acceptance testers develop the test requirements.

Answers
B.

It enables code refactoring.

B.

It enables code refactoring.

Answers
C.

Tests are created when code is ready for release.

C.

Tests are created when code is ready for release.

Answers
D.

Implementation is driven by incremental testing of release candidates.

D.

Implementation is driven by incremental testing of release candidates.

Answers
E.

Write a test before writing code.

E.

Write a test before writing code.

Answers
Suggested answer: C, D

Which task is performed because the test-driven development approach is being used?

A.

creating test scenarios based on continuous development

A.

creating test scenarios based on continuous development

Answers
B.

writing code without committing any coding violations

B.

writing code without committing any coding violations

Answers
C.

refactoring code that is covered by existing tests

C.

refactoring code that is covered by existing tests

Answers
D.

testing existing software before developing new code

D.

testing existing software before developing new code

Answers
Suggested answer: D

Explanation:


Reference: https://www.guru99.com/test-driven-development.html

What is the first development task in test-driven development?

A.

Write code that implements a desired function.

A.

Write code that implements a desired function.

Answers
B.

Write a failing test case for a desired function.

B.

Write a failing test case for a desired function.

Answers
C.

Reverse engineer the code for a desired function.

C.

Reverse engineer the code for a desired function.

Answers
D.

Write a passing test case for existing code.

D.

Write a passing test case for existing code.

Answers
Suggested answer: B

Explanation:


Reference: https://technologyconversations.com/2013/12/20/test-driven-development-tdd-example-walkthrough/

In test-driven development, what are two of the green bar patterns? (Choose two.)

A.

another test

A.

another test

Answers
B.

break

B.

break

Answers
C.

triangulate

C.

triangulate

Answers
D.

starter test

D.

starter test

Answers
E.

fake it

E.

fake it

Answers
Suggested answer: C, E

Explanation:


Reference: https://www.cs.uic.edu/~i442/Patterns%20for%20TDD.pdf

In the test-driven development model, what is changed after a test fails?

A.

schedule

A.

schedule

Answers
B.

project requirements

B.

project requirements

Answers
C.

code

C.

code

Answers
D.

test

D.

test

Answers
Suggested answer: C

Explanation:


Reference: https://www.guru99.com/test-driven- development.html#:~:text=In%20simple%20terms%2C%20test%20cases,code%20simple%20and%20bug%2Dfree

What is a benefit of test-driven development?

A.

strict adherence to product requirements

A.

strict adherence to product requirements

Answers
B.

faster releases that have minimal features

B.

faster releases that have minimal features

Answers
C.

early customer involvement

C.

early customer involvement

Answers
D.

increased code quality

D.

increased code quality

Answers
Suggested answer: A

Which two statements describe the advantages of using a version control system? (Choose two.)

A.

It allows for branching and merging so that different tasks are worked on in isolation before they are merged into a feature or master branch.

A.

It allows for branching and merging so that different tasks are worked on in isolation before they are merged into a feature or master branch.

Answers
B.

It provides tooling to automate application builds and infrastructure provisioning.

B.

It provides tooling to automate application builds and infrastructure provisioning.

Answers
C.

It allows multiple engineers to work against the same code and configuration files and manage differences and conflicts.

C.

It allows multiple engineers to work against the same code and configuration files and manage differences and conflicts.

Answers
D.

It provides a system to track User Stories and allocate to backlogs.

D.

It provides a system to track User Stories and allocate to backlogs.

Answers
E.

It allows developers to write effective unit tests.

E.

It allows developers to write effective unit tests.

Answers
Suggested answer: A, C

What are two advantages of version control software? (Choose two.)

A.

It supports tracking and comparison of changes in binary format files.

A.

It supports tracking and comparison of changes in binary format files.

Answers
B.

It allows new team members to access the current code and history.

B.

It allows new team members to access the current code and history.

Answers
C.

It supports comparisons between revisions of source code files.

C.

It supports comparisons between revisions of source code files.

Answers
D.

It provides wiki collaboration software for documentation.

D.

It provides wiki collaboration software for documentation.

Answers
E.

It allows old versions of packaged applications to be hosted on the Internet.

E.

It allows old versions of packaged applications to be hosted on the Internet.

Answers
Suggested answer: A, B

Before which process is code review performed when version control is used?

A.

checkout of code

A.

checkout of code

Answers
B.

merge of code

B.

merge of code

Answers
C.

committing code

C.

committing code

Answers
D.

branching code

D.

branching code

Answers
Suggested answer: B

What is an advantage of a version control system?

A.

facilitates resolving conflicts when merging code

A.

facilitates resolving conflicts when merging code

Answers
B.

ensures that unit tests are written

B.

ensures that unit tests are written

Answers
C.

prevents over-writing code or configuration files

C.

prevents over-writing code or configuration files

Answers
D.

forces the practice of trunk-based development

D.

forces the practice of trunk-based development

Answers
Suggested answer: A
Total 471 questions
Go to page: of 48