Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
Cisco logo

CiscoCertified Network Associate Automation (CCNA Automation)

Domain 1Objective 3

3. Describe the Concepts of Test-Driven Development 200-901 Practice Questions (Page 4)

Part of the 1.0 Software Development and Design domain, which accounts for 15% of the 200-901 exam. Cisco does not publish an official question count, but from its 120-minute exam (~50–80 total, ~8–12 in this domain), expect 1–2 from this objective — we provide 48 practice questions to prepare you well beyond it. (estimate)

48questions here
10free pages
8concepts
15%of the exam

Questions 16–20

  1. 16application · medium

    After implementing a new feature using TDD, a developer notices that the code has duplicated logic and long methods. All tests pass. What should the developer do next?

    Select an answer first
  2. 17foundation · easy

    In test-driven development, why are unit tests typically written before the implementation?

    Select an answer first
  3. 18application · medium

    An engineer is writing unit tests for a function that retrieves interface status from a network device via SNMP. The function takes a device IP and community string. To test the function in isolation, what should the engineer do?

    Select an answer first
  4. 19application · medium

    A developer is writing a unit test for a function that calculates the number of active interfaces on a device. The function calls an external API to get interface status. To ensure the test is a true unit test, what should the developer do?

    Select an answer first
  5. 20application · medium

    An engineer is writing unit tests for a function that calculates the subnet mask from a prefix length. The function is pure and has no external dependencies. What is the most important characteristic of these unit tests?

    Select an answer first
Finished these 5 questions?

Review the revealed explanations, or continue through the curriculum.

Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by Cisco. “200-901” is a trademark of its owner, used for identification only.