
CiscoCertified Network Associate Automation (CCNA Automation)
Domain 2Objective 9
9. Construct a Python Script That Calls a REST API Using the Requests Library 200-901 Practice Questions (Page 1)
Part of the 2.0 Understanding and Using APIs domain, which accounts for 20% of the 200-901 exam. Cisco does not publish an official question count, but from its 120-minute exam (~50–80 total, ~10–16 in this domain), expect 1–2 from this objective — we provide 18 practice questions to prepare you well beyond it. (estimate)
18questions here
4free pages
10concepts
20%of the exam
Questions 1–5
- 1
Which code snippet sends a GET request to a REST API?
Select an answer first - 2
Which characteristic is a core principle of REST APIs?
Select an answer first - 3
A network administrator is automating the retrieval of device inventory from a Meraki dashboard API. The API requires an API key in the 'X-Cisco-Meraki-API-Key' header and supports an optional 'organizationId' query parameter. The administrator has the API key in a variable 'api_key' and the organization ID in 'org_id'. Which code snippet correctly authenticates and retrieves the inventory?
Select an answer first - 4
What is the correct order of steps in a Python script that calls a REST API?
Select an answer first - 5
After calling requests.get(), what attribute of the response object contains the HTTP status code?
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. “200-901” is a trademark of its owner, used for identification only.