You are automating the deletion of a sandbox report in Threat Grid. Which HTTP method should you use?
Deleting a sandbox report is a removal of an existing resource identified by its URL. DELETE is the HTTP method defined for resource deletion, so it removes the report; GET, POST and PUT cannot delete it.
Why this answer
The HTTP DELETE method is used to delete a specified resource. In the context of Threat Grid, deleting a sandbox report is a deletion operation, so the DELETE method is appropriate. The API endpoint for deleting a report would be called with DELETE.
Exam trap
SAUTO often tests the basic HTTP methods and their purposes; candidates might confuse DELETE with POST or PUT, but DELETE is specifically for removing resources.
How to eliminate wrong answers
Option B is wrong because GET is used to retrieve data, not delete. Option C is wrong because POST is used to create or submit data, not delete. Option D is wrong because PUT is used to update or replace a resource, not delete.