mediumMultiple ChoiceObjective-mapped
200-901 Practice Question: A developer is designing a REST API for managing…
A developer is designing a REST API for managing network devices. The API should support idempotent operations for updating device configuration. Which HTTP method should be used for the update operation?
⚠ Common exam trap
Cisco often tests the distinction between PUT and PATCH by emphasizing idempotency, leading candidates to mistakenly choose PATCH because it is commonly used for updates, but PATCH is not inherently idempotent.
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
PUT is the correct HTTP method for idempotent updates because it replaces the entire resource at a given URI with the request body. Idempotency means that multiple identical PUT requests produce the same result as a single request, which is essential for safely retrying configuration updates without side effects. This aligns with RFC 7231, which defines PUT as idempotent.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
DELETE
Why it's wrong here
DELETE is idempotent but used for removing resources, not updating.
- ✓
PUT
Why this is correct
PUT replaces the resource and is idempotent, making it suitable for updates.
- ✗
PATCH
Why it's wrong here
PATCH may not be idempotent depending on the operation semantics.
- ✗
POST
Why it's wrong here
POST is not idempotent; multiple requests may create multiple resources.
Go deeper
Related to this question
About these practice questions
Courseiva writes every 200-901 question from scratch — 989 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.