Developing Applications and Automating Workflows Using Cisco Platforms (DEVASC) — Question 99
A developer is trying to retrieve data over a REST API. The API server responds with an HTTP client error response code. After investigating the response, the developer realizes the response has a Retry-After header. What is the root cause of this error?
Answer options
- A. An appliance limited the rate of requests to the transport layer.
- B. The REST service is unreachable at the time of the REST request.
- C. Too many requests were sent to the REST service in a given amount of time.
- D. An appliance limited the rate of requests to the application layer.
Correct answer: C
Explanation
The presence of a Retry-After header indicates that the server is temporarily unable to process the request due to too many requests being made in a short period, which corresponds to option C. Options A and D refer to limitations imposed by appliances, but they do not specifically address the context of request rate limits, while option B suggests an accessibility issue that isn't indicated by the Retry-After header.