Courseiva

200-901 Understanding and Using APIs Practice Question

A developer is integrating with Cisco DNA Center. After a successful POST to create a new site, the API returns HTTP 202 Accepted with a task ID in the response body. The developer needs to confirm when the site creation completes. What should the developer do next?

⚠ Common exam trap

The trap here is interpreting HTTP 202 Accepted as a final success code, when it only confirms the request was queued for asynchronous processing.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Poll the task endpoint using the returned task ID until the task status indicates success or failure.

Cisco DNA Center uses asynchronous task processing for many write operations. A 202 Accepted response includes a task ID, and the client must poll the task endpoint until the status reflects completion. Treating 202 as success, resending the POST, or immediately reading the resource can produce duplicates or false assumptions about the resource state.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    Immediately issue a GET to the site endpoint and assume the site exists if any response is returned.

    Why it's wrong here

    Because the operation is asynchronous, the site may not exist yet when the GET is issued. A response might be a 404 or stale data. Assuming existence based on any response is unreliable. The developer must wait for the task to complete before verifying the resource.

  • ✗

    Resend the original POST request with the same payload until a 201 Created is returned.

    Why it's wrong here

    Resending the POST would create duplicate site creation tasks. The initial request was accepted, so retrying is unnecessary and potentially harmful. The correct action is to track the asynchronous task, not to repeat the creation request. Duplicate submissions can lead to conflicting resources or errors.

  • ✓

    Poll the task endpoint using the returned task ID until the task status indicates success or failure.

    Why this is correct

    A 202 Accepted response indicates the request was accepted for asynchronous processing. Cisco DNA Center returns a task ID that can be queried via the task API. Polling that endpoint reveals the final status, such as success or failure, along with any error details. This is the documented pattern for long-running operations.

  • ✗

    Treat the 202 response as final success and proceed without further verification.

    Why it's wrong here

    202 Accepted means the request was queued, not that it succeeded. The asynchronous task could still fail due to validation or backend errors. Proceeding without verifying the task outcome risks inconsistent state. The developer should poll the task endpoint to confirm the actual result.

About these practice questions

This 200-901 question is part of Courseiva's 975-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official Cisco exam blueprint

This 200-901 practice question is part of Courseiva's free Cisco certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 200-901 exam.