
CiscoCertified Network Professional Enterprise
Domain 6Objective 1
6.1 Interpret Basic Python Components and Scripts 350-401 Practice Questions (Page 5)
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 21–22
- 21
A Python script reads a CSV file containing device inventory data. Each row has columns: 'hostname', 'ip', 'location'. The engineer wants to store this data in a way that allows fast lookup of the IP address by hostname. Which data structure is most appropriate?
Select an answer first - 22
A network engineer writes a Python script that uses netmiko to connect to a switch, execute 'show mac address-table', and then parse the output to build a set of unique MAC addresses. The script currently prints the raw output. Which additional code is needed to build the set?
Select an answer first
Finished these 2 questions?
Review the revealed explanations, or continue through the curriculum.
No more pagesBack to 350-401
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.