350-201 Question 268
Select 3While investigating a potential data breach, a cybersecurity analyst reviews an HTTP response from a web server. The analyst notices the following details:
- Response Code: 404
- Headers:
Content-Type: text/html; charset=UTF-8,Cache-Control: no-cache - Body: A custom error message in HTML format.
Based on the HTTP response, which of the following conclusions can the analyst accurately make?
- A
The requested resource was not found on the server.
- B
The response indicates successful retrieval of the requested resource.
- C
The server is instructing the client not to cache the response.
- D
The body contains a custom message intended to help the user understand the issue.
- E
The server is experiencing an internal error.
Show answer and explanation
Correct answers: A, C, D
Explanation
The HTTP response code 404 indicates that the requested resource could not be found. The 'Cache-Control: no-cache' header shows that the server is instructing the client not to cache the response. Furthermore, the presence of a custom HTML error message in the body suggests the server is providing a user-friendly explanation for the issue. These details align with the correct answers.
- A. Correct.
Correct: A 404 response code explicitly means the requested resource could not be found on the server.
- B. Incorrect.
Incorrect: A successful retrieval would return a 200 response code, not a 404.
- C. Correct.
Correct: The 'Cache-Control: no-cache' header instructs the client not to cache the response.
- D. Correct.
Correct: The body contains a custom error message in HTML format, which is often used to provide user-friendly error details.
- E. Incorrect.
Incorrect: A server experiencing an internal error would return a 500-level response code, such as 500 or 503, not a 404.