nerdexam
CiscoCisco

350-401 · Question #497

350-401 Question #497: Real Exam Question with Answer & Explanation

The correct answer is B: The command succeeded in deleting the object. HTTP 204 No Content – DELETE Response Explained Option B is correct because HTTP status code 204 "No Content" indicates that the server successfully processed the request but has no content to return in the response body - in the context of a DELETE request, this means the resour

Submitted by diego_uy· Mar 6, 2026Automation

Question

"HTTP/1.1 204 No Content" is returned when the curl -i -X DELETE command is issued. Which situation has occurred?

Options

  • AThe object could not be located at the URI path.
  • BThe command succeeded in deleting the object
  • CThe object was located at the URI, but it could not be deleted.
  • DThe URI was invalid

Explanation

HTTP 204 No Content – DELETE Response Explained

Option B is correct because HTTP status code 204 "No Content" indicates that the server successfully processed the request but has no content to return in the response body - in the context of a DELETE request, this means the resource was found and successfully deleted.

The distractors are wrong because:

  • A (object not found) would return a 404 Not Found response
  • C (found but couldn't delete) would return a 403 Forbidden or 500 Internal Server Error
  • D (invalid URI) would return a 400 Bad Request or 404 Not Found

🧠 Memory Tip: Think of 204 as "mission accomplished, nothing left to show you" - the DELETE worked, the resource is gone, so there's literally no content to return. Any error scenario (can't find it, can't delete it, bad URI) would always return a 4xx or 5xx error code, never a 2xx success code.

Topics

#HTTP Status Codes#REST API#curl command#HTTP DELETE method

Community Discussion

No community discussion yet for this question.

Full 350-401 PracticeBrowse All 350-401 Questions