Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
Cisco logo

CiscoCertified DevNet Professional

Domain 2Objective 2

Implement Control Flow of Consumer Code for Unrecoverable REST API Errors 350-901 Practice Questions (Page 2)

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 25 practice questions to prepare you well beyond it. (estimate)

25questions here
5free pages
4concepts
20%of the exam

Questions 6–10

  1. 6application · medium

    A Python script calls the Cisco Intersight API to create a new server profile. The API returns HTTP 400 Bad Request with a JSON body stating 'Invalid name: must be alphanumeric'. The script's current logic catches all HTTPError exceptions and retries them. What is the best control flow change?

    Select an answer first
  2. 7expert · hard

    A network automation tool calls the Cisco Meraki API to provision a new SSID. The API returns HTTP 422 Unprocessable Entity with a JSON body stating 'Invalid band selection'. The tool's generic error handler currently retries all non-2xx responses with exponential backoff. The team wants to reduce unnecessary retries while still handling transient failures. What is the most appropriate control flow strategy?

    Select an answer first
  3. 8application · medium

    A script calls the Cisco Meraki API to get the status of a switch port. The API returns HTTP 503 Service Unavailable with a Retry-After header of 30 seconds. After waiting 30 seconds and retrying, the API returns HTTP 404 Not Found because the switch was decommissioned. How should the script classify these two responses?

    Select an answer first
  4. 9expert · hard

    A network automation script calls the Cisco Meraki API to update a network's settings. The script receives an HTTP 409 Conflict because another admin is currently editing the same network. The script's current logic treats all 409 responses as unrecoverable and terminates. The team wants to handle this specific 409 differently from other 409 responses that indicate a permanent state conflict. What is the most appropriate control flow?

    Select an answer first
  5. 10foundation · easy

    Which control flow construct is best suited to handle an unrecoverable REST API error in a Python consumer?

    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.