Courseiva

200-901 Understanding and Using APIs Practice Question

Which HTTP method should be used to partially update an existing resource in a REST API?

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

✓

PATCH

PATCH is used for partial updates, while PUT replaces the entire resource.

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

    Why it's wrong here

    PUT replaces the entire target resource with the enclosed representation, so omitted fields are overwritten or cleared rather than left untouched. It tempts because PUT does update an existing resource at a known URI, which is the correct choice when sending a complete replacement representation.

  • ✗

    DELETE

    Why it's wrong here

    DELETE removes the resource identified by the request URI; it carries no representation for modifying individual fields, so it cannot perform a partial update. It tempts because DELETE targets an existing resource and is idempotent, matching the update method's idempotent nature.

  • ✗

    POST

    Why it's wrong here

    POST creates a new subordinate resource or submits data to an endpoint, and its semantics are neither safe nor idempotent, so it cannot express a partial modification of an identified resource. It tempts because POST bodies can carry a subset of fields, which resembles patching.

  • ✓

    PATCH

    Why this is correct

    PATCH applies partial modifications to an existing resource, sending only the fields being changed. PUT would replace the entire resource representation, so PATCH uniquely satisfies the stem's requirement to partially update a resource without overwriting unspecified attributes.

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 →

How Courseiva writes practice questions · Editorial policy

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.