
CiscoCertified Network Professional Enterprise
Domain 6Objective 1
6.1 Interpret Basic Python Components and Scripts 350-401 Practice Questions (Page 2)
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 6–10
- 6
Which Python library is specifically designed for SSH connections to network devices?
Select an answer first - 7
What is the output of the following Python code? x = 5 if x > 3: print('A') else: print('B')
Select an answer first - 8
Which command is used to run a Python script named 'script.py' from the command line?
Select an answer first - 9
A Python script that automates VLAN creation on multiple switches fails with an 'IndexError: list index out of range' when processing the output of a command. The engineer suspects the output format varies between switch models. Which debugging technique is most effective to identify the cause?
Select an answer first - 10
What is the result of the following Python code? my_list = [1, 2, 3] my_list.append(4) print(len(my_list))
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.