
CiscoCertified Network Associate Automation (CCNA Automation)
Domain 1Objective 3
3. Describe the Concepts of Test-Driven Development 200-901 Practice Questions (Page 7)
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 31–35
- 31
A developer is testing a function that sends a configuration to multiple devices. The function iterates over a list of device objects and calls a send_config method on each. To verify that the function sends the correct configuration to each device, what should the test do?
Select an answer first - 32
A developer is using TDD to build a function that checks if a given IP address is within a CIDR block. They write a test that expects is_in_cidr('192.168.1.5', '192.168.1.0/24') to return True. The test fails because the function is not implemented. What should the developer do next?
Select an answer first - 33
A team wants to ensure that TDD is followed in their CI/CD pipeline. They want to prevent code without tests from being merged. Which CI configuration best achieves this?
Select an answer first - 34
What is the purpose of using a mock object in unit testing?
Select an answer first - 35
How does test-driven development primarily contribute to reducing defects in software?
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.