Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
Cisco logo

CiscoCertified Network Associate Automation (CCNA Automation)

Domain 1Objective 5

5. Explain the Benefits of Organizing Code into Methods / Functions, Classes, and Modules 200-901 Practice Questions (Page 2)

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 40 practice questions to prepare you well beyond it. (estimate)

40questions here
8free pages
4concepts
15%of the exam

Questions 6–10

  1. 6expert · hard

    A developer is working on a large Python project with many modules. The project uses a module named 'utils' that contains a mix of unrelated functions: string parsing, file I/O, and network requests. The team finds that importing 'utils' in a script also imports heavy dependencies (e.g., a network library) even when only string parsing is needed. What is the best way to address this?

    Select an answer first
  2. 7application · medium

    A network automation team is building a Python application to manage network devices. They want to ensure that each device object maintains its own state (e.g., hostname, IP, status) and that operations like 'reboot' or 'update_config' are performed on the correct device. Which programming paradigm best supports this requirement?

    Select an answer first
  3. 8application · medium

    A developer is writing a Python application that manages different types of network devices: routers, switches, and firewalls. Each device type has common attributes (hostname, IP address) and some unique behaviors (routing, switching, filtering). The developer wants to model these devices to maximize code reuse and allow treating all devices uniformly. Which approach best achieves this?

    Select an answer first
  4. 9expert · hard

    A team is building a Python application that must support multiple network device vendors. Each vendor has a different API for configuring interfaces. The team wants to ensure that adding a new vendor does not require changes to the core configuration logic. Which approach best achieves this?

    Select an answer first
  5. 10foundation · easy

    In object-oriented programming, what is the primary benefit of encapsulation provided by classes?

    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.