About this exam
This exam, 200-901 CCNAAUTO (Automating Networks Using Cisco Platforms), earns the Cisco CCNA Automation certification, formerly DevNet Associate. It covers the knowledge needed for network automation: software development and design, understanding and using APIs, Cisco platforms, application deployment and security, infrastructure and automation, and network fundamentals.
Try a sample question
This is an original sample question written by itmoshi based on the exam objectives.
A cloud-managed network's REST API enforces a rate limit of 10 requests per second per API key. A script collecting device inventories from every site sent requests faster than that, so the API rejected some of them with a Retry-After: 2 header. The API key is valid. Which HTTP status code specifically means the client has sent too many requests in a given amount of time?
- A401 Unauthorized
- B403 Forbidden
- C500 Internal Server Error
- D429 Too Many Requests
Show answer and explanation
Answer:D 429 Too Many Requests is the code that means the client sent too many requests in a given time.
Why it is correct
429 Too Many Requests is the status code defined for a client that has sent too many requests in a given amount of time (RFC 6585). It fits the situation exactly: requests were rejected for exceeding the rate limit while the key was valid. The standard fix is for the script to wait as Retry-After says (here 2 seconds; the header can also carry an HTTP date) and then retry.
The other options
- ✗ A 401 means credentials are missing or invalid. The API key is valid, so this does not fit. It is the code to expect when an API key or token is misconfigured or expired.
- ✗ B 403 is a general code meaning the server understood the request but refuses to fulfill it; it does not specifically mean too many requests. It is used, for example, to refuse an operation the client is not permitted to perform.
- ✗ C 500 reports an unexpected condition that kept the server from fulfilling the request; it does not specifically identify a rate-limit rejection. It is returned when a server-side fault causes processing to fail.
Key takeaway
4xx means a client-side problem, 5xx a server-side one. 401 → cannot authenticate. 403 → refused (e.g. no permission). 404 → resource not found. 429 → too many requests (wait as Retry-After says).
Try 48 questions like this for free
itmoshi is an unofficial study service and is not affiliated with Cisco or any exam provider.