
CCIE Security
Domain 3Objective 9
3.9 Interaction with Network Devices Through APIs Using Basic Python Scripts CCIE-SECURITY Practice Questions (Page 9)
Part of the 3.0 Security Infrastructure domain, which accounts for 15% of the CCIE-SECURITY 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 61 practice questions to prepare you well beyond it. (estimate)
61questions here
13free pages
11concepts
15%of the exam
Questions 41–45
- 41
An engineer is writing a Python script to read a YAML configuration file that contains a list of interfaces. The YAML file has the following content: interfaces: - name: GigabitEthernet0/1 ip: 192.168.1.1 - name: GigabitEthernet0/2 ip: 192.168.1.2 Which Python code correctly loads this YAML and accesses the IP address of the second interface?
Select an answer first - 42
A network engineer is automating the retrieval of configuration details from a Cisco IOS-XE device using its RESTCONF API. The device requires authentication via HTTP Basic Auth. The engineer wants to fetch the running configuration for interface GigabitEthernet0/1. Which Python code snippet correctly performs this task?
Select an answer first - 43
A network administrator is automating the removal of an old VPN tunnel configuration from a router using its REST API. The API uses standard RESTful conventions. Which HTTP method should the script use to delete the VPN tunnel resource?
Select an answer first - 44
A security team is building a Python script to automate configuration backups from multiple network devices. The devices support both Basic Auth and API keys. The team wants to minimize the risk of credentials being exposed in logs and prefers not to store passwords in plaintext. Which approach is most secure and practical?
Select an answer first - 45
A Python script that automates firewall rule changes is failing intermittently. The script sends a POST request to create a rule, but sometimes receives a 409 Conflict response. The script currently treats any non-2xx as a failure and retries the entire request. What is the most likely cause and the best fix?
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. “CCIE-SECURITY” is a trademark of its owner, used for identification only.