
CiscoCertified Network Associate Automation (CCNA Automation)
Domain 4Objective 5
5. Construct a Python Unit Test 200-901 Practice Questions (Page 6)
Part of the 4.0 Application Deployment and Security 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–1 from this objective — we provide 35 practice questions to prepare you well beyond it. (estimate)
35questions here
7free pages
7concepts
15%of the exam
Questions 26–30
- 26
A project has multiple test modules that need to be run together as a group, but the engineer also wants to run them individually. What is the best way to organize the tests?
Select an answer first - 27
A team has a test suite organized into multiple packages. They want to generate a coverage report that includes only the application code, not the test code itself. They are using the coverage.py tool. Which command should they use?
Select an answer first - 28
A function send_notification(device) calls an external email service. The test needs to verify that send_notification calls the email service's send method exactly once with the device's IP address. Which approach is correct?
Select an answer first - 29
What is the primary purpose of using unittest.mock in a unit test?
Select an answer first - 30
Which class from the unittest.mock module is used to create a mock object that can replace a function or method?
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.