200-901 Understanding and Using APIs Practice Question
In the Cisco DNA Center intent API, which HTTP method should be used to update a specific site's information?
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
✓
PUT
For updating an existing resource, PUT is used to replace the entire resource, while PATCH is for partial updates. DNA Center intent API typically uses PUT for updates, but PATCH may also be supported. The question asks for update; PUT is the standard.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
GET
Why it's wrong here
GET retrieves a representation and changes nothing, so it cannot modify the site's attributes. It is tempting because GET is the natural call for reading a site before editing it, and would be correct when the task is to fetch the site's current configuration.
- ✗
POST
Why it's wrong here
POST creates a new subordinate resource rather than replacing an existing site's fields, so it does not update that site. It is tempting because POST does carry a body and often mutates state, and would be correct when creating a new site under a parent hierarchy.
- ✓
PUT
Why this is correct
PUT replaces the identified site resource with the supplied representation, matching the intent to update a specific site. POST would create a new resource and PATCH only partially modifies, so PUT satisfies the update-existing-resource constraint.
- ✗
DELETE
Why it's wrong here
DELETE removes the site resource entirely, which is not an update of its information. It is tempting because it targets the same site URL and mutates state, and would be correct when the intent is to decommission or remove that site from the hierarchy.
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.