
CiscoCertified Network Associate (CCNA)
Domain 6Objective 5
6.5 Describe Characteristics of REST-based APIs (authentication Types, CRUD, HTTP Verbs, and Data Encoding) 200-301 Practice Questions (Page 6)
Part of the Automation and Programmability domain, which accounts for 10% of the 200-301 exam. Cisco does not publish an official question count, but from its 120-minute exam (~50–80 total, ~5–8 in this domain), expect 1–1 from this objective — we provide 30 practice questions to prepare you well beyond it. (estimate)
30questions here
6free pages
4concepts
10%of the exam
Questions 26–30
- 26
A developer is writing a script to create a new network device in a REST API. The API expects a JSON payload with the device name, IP address, and location. Which HTTP verb and Content-Type header should the script use?
Select an answer first - 27
A network engineer is troubleshooting a REST API call that is returning an HTTP 415 Unsupported Media Type error. The request includes a JSON payload and the Content-Type header is set to application/json. The API documentation states that it only accepts XML. What is the most likely cause of the error?
Select an answer first - 28
A developer is integrating with a REST API that requires the client to send a username and password in the Authorization header. The API returns data in a hierarchical, self-describing format that is widely used in network device configurations. Which authentication type and data encoding are being used?
Select an answer first - 29
A network engineer is using a REST API to change the description of an interface on a router. The API uses the PUT verb for full replacement and PATCH for partial updates. The engineer wants to change only the description field without affecting other interface settings. Which verb and payload should be used?
Select an answer first - 30
A network engineer is troubleshooting a REST API script that suddenly started returning 401 Unauthorized errors. The script uses OAuth 2.0 and was working earlier. The engineer checks the token and finds it has expired. Which action should the engineer take?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
No more pagesBack to 200-301
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-301” is a trademark of its owner, used for identification only.