Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
Cisco logo

CiscoCertified Network Professional Enterprise

Domain 6Objective 1

6.1 Interpret Basic Python Components and Scripts 350-401 Practice Questions (Page 1)

Part of the 6.0 Automation and Artificial Intelligence domain, which accounts for 15% of the 350-401 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 22 practice questions to prepare you well beyond it. (estimate)

22questions here
5free pages
8concepts
15%of the exam

Questions 1–5

  1. 1expert · medium

    A Python script that uses netmiko to back up device configurations runs successfully for most devices but fails with a 'TimeoutError' on one device after 30 seconds. The script currently has no exception handling and stops. The engineer needs to make the script resilient and log the failure without stopping the entire backup process. Which modification best achieves this?

    Select an answer first
  2. 2foundation · easy

    What is the purpose of the 'finally' block in a try-except statement?

    Select an answer first
  3. 3foundation · easy

    Which Python data structure is best suited for storing a collection of key-value pairs?

    Select an answer first
  4. 4application · medium

    A Python script that automates device configuration fails with a 'NameError: name 'device_list' is not defined' when run from the command line. The variable is defined in another script that is imported at the top. Which debugging step is most likely to reveal the cause?

    Select an answer first
  5. 5foundation · easy

    Which of the following is a common debugging technique in Python?

    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. “350-401” is a trademark of its owner, used for identification only.