CREST Practitioner Security Analyst (CPSA) Practice 2026 - Free CPSA Practice Questions and Study Guide

Question: 1 / 485

Which HTTP method can be used to delete a specified resource?

PATCH

DELETE

The correct choice for removing a specified resource in HTTP is the DELETE method. In RESTful web services, the DELETE method is explicitly designed for this purpose. When a client sends a DELETE request to a server, it indicates that it wishes to remove the resource identified by the URI provided in the request.

The DELETE method is one of the standard HTTP methods as defined in the HTTP/1.1 specification. When the server successfully processes a DELETE request, it generally responds with a status code indicating the outcome, such as 200 (OK) if the resource was found and deleted, or 404 (Not Found) if the resource does not exist.

To provide context, other HTTP methods serve different purposes: PATCH is used for applying partial modifications to a resource, OPTIONS is used to describe the communication options for the target resource, and TRACE is used for diagnostic purposes to perform a message loop-back test along the path to the target resource. Each method serves its own distinct function, which is why DELETE is the appropriate choice for the question related to deleting a resource.

Get further explanation with Examzify DeepDiveBeta

OPTIONS

TRACE

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy