
CiscoCertified Network Associate Automation (CCNA Automation)
Domain 4Objective 5
5. Construct a Python Unit Test 200-901 Practice Questions (Page 3)
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 11–15
- 11
A function get_interfaces() returns a list of interface names. The test needs to verify that the list contains 'GigabitEthernet0/1'. Which assertion method is appropriate?
Select an answer first - 12
Which of the following is a recommended practice for organizing tests in a Python project?
Select an answer first - 13
You want to assert that the value returned by a function is in a list of allowed values. Which unittest assertion method is most appropriate?
Select an answer first - 14
A project has a large test suite that takes a long time to run. The team wants to run only the tests that are affected by recent code changes to speed up the feedback loop. They are using a version control system. Which approach is most effective?
Select an answer first - 15
What is the purpose of a TestSuite in the unittest framework?
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.