easyMultiple Choice
200-901 Practice Question: A developer is using Cisco DNA Center API to add…
A developer is using Cisco DNA Center API to add a new device to the inventory. Which HTTP method should be used for this operation?
⚠ Common exam trap
Cisco often tests the distinction between POST and PUT, where candidates mistakenly choose PUT for creation, but PUT is typically used for full replacement of an existing resource, while POST is the correct method for creating a new resource in Cisco DNA Center's API design.
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
The POST HTTP method is used to create a new resource on the server. When adding a new device to the Cisco DNA Center inventory, you are creating a new device entry, which aligns with the POST method as defined by RESTful API conventions. Cisco DNA Center's device onboarding API endpoint (e.g., /dna/intent/api/v1/network-device) specifically requires a POST request to add a device.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
PATCH
Why it's wrong here
PATCH performs a partial update on an existing resource, so it cannot create a new inventory entry. It is tempting because it modifies device records, and would be correct when changing attributes such as a device's management IP already present in the inventory.
- ✗
GET
Why it's wrong here
GET retrieves existing resource representations and cannot create a device inventory entry. It is tempting because GET is the standard method for querying inventory data, and would be correct when reading the current list of devices already registered in Cisco DNA Center.
- ✗
DELETE
Why it's wrong here
DELETE removes an existing resource and cannot add a device to inventory. It is tempting because it operates on inventory entries, and would be correct when decommissioning or removing a device that is already registered in Cisco DNA Center.
- ✓
POST
Why this is correct
POST creates a new subordinate resource within the inventory collection, matching the stem's add-a-device operation. PUT targets an existing resource at a known URI, while GET and DELETE retrieve or remove, so neither creates inventory entries.
Go deeper
Related to this question
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 →
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.