
CiscoCertified DevNet Professional
Domain 2Objective 1
Implement Robust REST API Error Handling for Time Outs and Rate Limits 350-901 Practice Questions (Page 4)
Part of the 2.0 Using APIs domain, which accounts for 20% of the 350-901 exam. Cisco does not publish an official question count, but from its 120-minute exam (~50–80 total, ~10–16 in this domain), expect 2–3 from this objective — we provide 28 practice questions to prepare you well beyond it. (estimate)
28questions here
6free pages
8concepts
20%of the exam
Questions 16–20
- 16
An API returns HTTP 429 with a JSON body containing `{"error": "rate_limit_exceeded", "retry_after": 30}` but no `Retry-After` header. What is the most appropriate way for the client to determine when to retry?
Select an answer first - 17
A developer is building a client for a Cisco Umbrella API. The API documentation states that rate limits are enforced per minute and the response headers include X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset. The developer wants to ensure the client never exceeds the rate limit. What should the client do before each request?
Select an answer first - 18
An engineer is designing a retry strategy for a Cisco FMC API client. The client sends a POST request to create an access policy. The request times out after 30 seconds. The engineer is unsure if the server processed the request. What should the engineer do?
Select an answer first - 19
A Python script using the requests library calls a Cisco DNA Center API. The script sets timeout=(3.05, 27) and receives a 'Connection timed out' exception. What does this exception indicate?
Select an answer first - 20
A network automation engineer is writing a Python script that calls a Cisco DNA Center API to retrieve site inventory. The script occasionally fails with a 'Read timed out' exception after 30 seconds, even though the API eventually completes the request. The engineer wants to allow the API more time to respond without making the script hang indefinitely. Which approach should the engineer take?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by Cisco. “350-901” is a trademark of its owner, used for identification only.