CCNP Automation Practice Question
A network engineer is using Cisco DNA Center's Intent API to create a new site hierarchy for a branch office. The engineer sends a POST request to the /dna/intent/api/v1/site endpoint with a JSON payload containing the site name and parent site. The API returns HTTP 202 Accepted. The engineer immediately sends a GET request to retrieve the newly created site but receives a 404 Not Found. What is the most likely explanation?
⚠ Common exam trap
The trap here is treating a 202 Accepted response as immediate completion, leading to a premature GET that returns 404.
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
✓
The site creation is an asynchronous operation, and the GET request was sent before the task completed.
Cisco DNA Center's Intent API uses asynchronous operations for many tasks, including site creation. A 202 Accepted response means the request is being processed. The response usually contains a task ID. The engineer should poll the task endpoint until the task completes successfully, then retrieve the site. A GET immediately after the POST can return 404 because the site is not yet available.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
The site creation is an asynchronous operation, and the GET request was sent before the task completed.
Why this is correct
Cisco DNA Center often processes site creation asynchronously. A 202 Accepted response indicates the request was accepted but not yet completed. The API typically returns a task ID in the response body. The engineer must poll the task status until it succeeds before the site is available. Sending a GET immediately can result in 404 because the site does not exist yet.
- ✗
The POST request must use the PUT method to create a new site.
Why it's wrong here
The Cisco DNA Center Intent API uses POST to create new resources like sites. PUT is typically used for updates or replacements. Using PUT would not create a new site and would likely return a different error. The 202 Accepted indicates the POST was accepted, so the method is correct. The issue is asynchronous processing, not the HTTP method.
- ✗
The GET request must include the same JSON payload as the POST to retrieve the site.
Why it's wrong here
GET requests should not include a body payload. Retrieving a resource is done by specifying its identifier in the URL, not by sending the creation payload. Including a body with GET is non-standard and may be ignored or cause errors. The 404 indicates the resource is not found, likely because it has not been created yet due to asynchronous processing.
- ✗
The site name must be unique across all sites, and a duplicate name caused the creation to fail silently.
Why it's wrong here
If a duplicate site name caused a failure, the API would typically return an error code such as 400 Bad Request or 409 Conflict, not 202 Accepted. The 202 indicates the request was accepted for processing. A duplicate name might cause the asynchronous task to fail, but the immediate 404 on GET is more directly explained by the asynchronous nature of the operation.
About these practice questions
Courseiva writes every 350-401 question from scratch — 1,923 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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.