350-401 Automation Practice Question
A network engineer is using the Cisco DNA Center Intent API to create a new site hierarchy. The engineer sends a POST request to /dna/intent/api/v1/site with a JSON payload defining the site. The API returns a 202 Accepted response with a task ID. What should the engineer do next to confirm the site was created successfully?
⚠ Common exam trap
The trap here is assuming the operation is synchronous and immediately checking for the site, when the 202 response signals asynchronous processing requiring task polling.
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
✓
Use the task ID to poll the GET /dna/intent/api/v1/task/{taskId} endpoint until the task status is 'SUCCESS'.
When the DNA Center Intent API returns 202 Accepted, it means the request is being processed asynchronously. The response includes a task ID. The engineer must poll the task endpoint with that ID until the status indicates success. This ensures the site creation is complete before proceeding with dependent tasks.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Check the DNA Center audit logs to see if the site creation was logged.
Why it's wrong here
Audit logs record actions but do not provide a reliable way to confirm task completion. The task ID is the direct mechanism for tracking asynchronous operations. While logs might eventually show the creation, polling the task endpoint is the intended and efficient method. Relying on logs could introduce delays and uncertainty.
- ✗
Resend the POST request with the same payload to ensure the site is created.
Why it's wrong here
Resending the POST request could create a duplicate site or cause an error if the site already exists. The original request was accepted and is being processed. The engineer should not resend but instead track the task. Duplicate requests can lead to inconsistent state and are not recommended.
- ✓
Use the task ID to poll the GET /dna/intent/api/v1/task/{taskId} endpoint until the task status is 'SUCCESS'.
Why this is correct
The 202 Accepted response includes a task ID for asynchronous operations. The engineer should poll the task endpoint using that ID to check the status. Once the task status is 'SUCCESS', the site creation is complete. This is the standard pattern for DNA Center Intent API operations that are long-running.
- ✗
Immediately send a GET request to /dna/intent/api/v1/site to verify the site exists.
Why it's wrong here
A 202 Accepted response indicates the request has been accepted for processing but is not yet complete. The site creation is asynchronous, so an immediate GET may not show the site yet. The engineer must wait for the task to complete. Polling the task status is the correct approach, not immediate verification.
Go deeper
Related to this question
About these practice questions
This 350-401 question is part of Courseiva's 1,923-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 →
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 350-401 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 350-401 exam.