DevNet Associate (DEVASC) v1.0Understanding and Using APIsEasy
A network engineer is troubleshooting an issue where an application fails to retrieve device configuration via a REST API. The API call returns an HTTP status code 429. What does this status code indicate?
- AInternal server error
- BToo many requests
- CUnauthorized access
- DResource not found
Show answer & explanationAnswer & explanation
Correct answer: B. Too many requests
HTTP status code 429 specifically indicates 'Too Many Requests', which is a common response when API rate limiting has been exceeded.
Why the other options are wrong
- A. Internal server error is indicated by HTTP status code 500.
- C. Unauthorized access is typically indicated by HTTP status code 401 or 403.
- D. Resource not found is indicated by HTTP status code 404.
HTTP 429 Too Many Requests
An HTTP status code indicating that the user has sent too many requests in a given amount of time (rate limiting).
- Part of HTTP client error (4xx) responses.
- Often accompanied by a 'Retry-After' header.
- Indicates API rate limiting has been triggered.
Memory trick: Clients Fail Regularly, But Often Know Why.