200-901 · Question #598
A network engineer makes several API calls to Cisco Prime to retrieve a list of all devices. Each time a response is received, only a subset of the devices is returned. The engineer notices that…
The correct answer is D. The API rate limited the request. HTTP status code 429 indicates that too many requests have been sent in a given amount of time, which is a sign of rate limiting. Rate limiting is used by APIs to control the amount of incoming requests to prevent abuse or overloading the server. In this case, the Cisco Prime…
Question
A network engineer makes several API calls to Cisco Prime to retrieve a list of all devices. Each time a response is received, only a subset of the devices is returned. The engineer notices that HTTP code 429 is returned instead of 200 for some API calls. Why did the response exclude some of the devices?
Options
- AThe API applied an offset that was indicated in the request.
- BThe API failed to identify how many items to retrieve.
- CThe API timed out the request.
- DThe API rate limited the request.
How the community answered
(22 responses)- A5% (1)
- B9% (2)
- C18% (4)
- D68% (15)
Explanation
HTTP status code 429 indicates that too many requests have been sent in a given amount of time, which is a sign of rate limiting. Rate limiting is used by APIs to control the amount of incoming requests to prevent abuse or overloading the server. In this case, the Cisco Prime API is limiting the number of requests the network engineer can make in a certain time period, resulting in only a subset of devices being returned and some requests being rejected with a 429
Topics
Community Discussion
No community discussion yet for this question.