
CCIE Security
Domain 3Objective 9
3.9 Interaction with Network Devices Through APIs Using Basic Python Scripts CCIE-SECURITY Practice Questions (Page 11)
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 51–55
- 51
A Python script is designed to automate the retrieval of security events from a SIEM API. The API uses token-based authentication and returns a 429 Too Many Requests status when rate limits are exceeded. The script currently fails when it receives 429. What is the best practice to handle this?
Select an answer first - 52
A Python script receives a JSON response from a network device's API that contains a list of interfaces, each with a 'name' and 'status'. The script needs to filter for interfaces that are 'up' and print their names. Which code snippets correctly accomplish this? (Select all that apply.)
Select an answer first - 53
A Python script using the requests library to interact with a network device's REST API returns a 401 status code. The script uses an API key in the header. What is the most likely cause and the correct next step?
Select an answer first - 54
A network engineer is writing a Python script to parse an XML response from a NETCONF API. The XML contains multiple 'interface' elements, each with a 'name' attribute and a 'status' child element. The engineer needs to extract the name and status for all interfaces. Which code snippets correctly achieve this? (Select all that apply.)
Select an answer first - 55
An engineer is writing a Python script to create a new VLAN on a switch using its REST API. The API expects a JSON payload with the VLAN ID and name. Which code snippet correctly sends the request?
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.