Developing Applications and Automating Workflows Using Cisco Platforms (DEVASC) — Question 514
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?
Answer options
- A. The API applied an offset that was indicated in the request.
- B. The API failed to identify how many items to retrieve.
- C. The API timed out the request.
- D. The API rate limited the request.
Correct answer: D
Explanation
The correct answer is D because the HTTP code 429 indicates that the API has enforced rate limiting, meaning the number of requests made in a certain timeframe has exceeded the allowed limit. The other options do not accurately describe the behavior indicated by the 429 error; for example, an offset or timeout would not result in this specific error code.