200-901 Infrastructure and Automation Practice Question
Using the Cisco DNA Center API, an engineer wants to create a new site with building and floor information. Which HTTP method and endpoint should be used?
⚠ Common exam trap
Many candidates confuse POST with PUT or assume a 'create' suffix is needed in the endpoint, but Cisco tests the exact RESTful convention where POST on the base resource URI is the correct method for creation.
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
✓
POST /dna/intent/api/v1/site
The POST HTTP method is used to create a new resource on the server, and the Cisco DNA Center API endpoint `/dna/intent/api/v1/site` is designed to accept a POST request with a JSON payload containing site, building, and floor details. This follows RESTful conventions where POST is the standard method for resource creation, and the API documentation specifies this exact endpoint for adding a new site hierarchy.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
PUT /dna/intent/api/v1/site
Why it's wrong here
PUT replaces an existing resource and requires a site identifier; it cannot create a new site, so the request fails. It is tempting because PUT is used to update site, building or floor attributes once the site already exists and its ID is known.
- ✗
GET /dna/intent/api/v1/site
Why it's wrong here
GET retrieves site data and cannot create a site, so it fails the creation requirement. It is tempting because GET /dna/intent/api/v1/site is the correct call when the engineer needs to list or read existing sites, buildings and floors rather than add new ones.
- ✓
POST /dna/intent/api/v1/site
Why this is correct
Creating a site is a resource-creation operation, so the Cisco DNA Center intent API requires POST to /dna/intent/api/v1/site with the building and floor payload. GET would only retrieve existing sites, and PUT would update an existing one.
- ✗
POST /dna/intent/api/v1/site/create
Why it's wrong here
The DNA Center site creation endpoint is POST /dna/intent/api/v1/site, not /site/create; the extra path segment does not exist and returns 404. It is tempting because appending an action verb to a resource path feels intuitive, and such verb-style endpoints do appear elsewhere in the API.
Go deeper
Related to this question
About these practice questions
Courseiva writes every 200-901 question from scratch — 975 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 by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
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.