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 1)

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 1–5

  1. 1application · medium

    A developer is writing a Python function that calls the Meraki API to update a switch port's VLAN assignment. The function must handle the case where the switch port does not exist (HTTP 404). The developer wants the function to raise a custom exception so the caller can handle it. Which control flow construct best achieves this?

    Select an answer first
  2. 2application · medium

    A script authenticates to the Cisco SD-WAN vManage API and receives an HTTP 401 Unauthorized response. The script's token was valid 10 minutes ago, and the system clock on the server is correct. The script currently retries the request three times. What is the most likely classification of this error?

    Select an answer first
  3. 3application · medium

    A network automation script queries the Meraki API to fetch an organization's inventory. The script receives an HTTP 403 Forbidden response with a JSON body indicating the API key lacks the 'read-only' scope for the organization. The script currently retries the request three times with exponential backoff before failing. What is the most appropriate control flow change?

    Select an answer first
  4. 4foundation · easy

    In consumer code, what is the appropriate control flow action when an unrecoverable REST API error is detected?

    Select an answer first
  5. 5expert · hard

    A developer is building a script that calls the Cisco Webex API to create a team and then add members. The script receives an HTTP 403 Forbidden when adding a member, with a JSON body stating 'User is not in the same organization'. The script's current logic treats all 403 responses as unrecoverable and terminates. The team wants to distinguish between a 403 caused by a permanent permission issue and a 403 caused by a transient condition. What is the most appropriate approach?

    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.