
CCIE Security
Domain 3Objective 9
3.9 Interaction with Network Devices Through APIs Using Basic Python Scripts CCIE-SECURITY Practice Questions (Page 12)
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 56–60
- 56
A network automation script authenticates to a device's API using OAuth2. The script obtains an access token and needs to maintain the session across multiple requests. What is the best practice for including the token in subsequent API calls?
Select an answer first - 57
A Python script receives a JSON response from a network device's API. The response contains a nested structure with interface statistics. The engineer needs to extract the 'in_octets' value for interface 'GigabitEthernet0/1'. Which Python expression correctly accesses this value?
Select an answer first - 58
An engineer is using a NETCONF API to modify the hostname of a device. The API requires an XML payload. Which Python code snippet correctly constructs and sends the XML payload?
Select an answer first - 59
A network engineer is writing a Python script to read a YAML configuration file that defines a list of interfaces to be configured. The YAML file contains a mapping with a sequence of interfaces. Which Python code snippet correctly loads the YAML and accesses the first interface name?
Select an answer first - 60
A security engineer is evaluating a network device's REST API to automate firewall rule changes. The API documentation states that the API is RESTful and uses standard HTTP methods. The engineer wants to update a specific firewall rule without changing other rules. Which HTTP method should be used?
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.