Which statement correctly distinguishes 401 Unauthorized from 403 Forbidden?

Get ready for your WGU ITEC2034 D385 Software Security and Testing Test. Study with multiple choice questions that include hints and explanations. Boost your confidence for your exam day!

Multiple Choice

Which statement correctly distinguishes 401 Unauthorized from 403 Forbidden?

Explanation:
The key idea is authentication versus authorization in HTTP status codes. A 401 means the client hasn’t provided valid authentication credentials (or none were provided) and the server is asking for them, often with a WWW-Authenticate challenge. A 403 means the client has authenticated, but does not have permission to access the resource due to insufficient authorization. The statement is correct because it captures that distinction: missing or invalid credentials map to 401, while valid credentials but insufficient authorization map to 403. The other choices mix up these meanings (for example, describing a missing resource or a bad request format, or labeling these codes as internal errors or success), which doesn’t fit how these status codes are defined.

The key idea is authentication versus authorization in HTTP status codes. A 401 means the client hasn’t provided valid authentication credentials (or none were provided) and the server is asking for them, often with a WWW-Authenticate challenge. A 403 means the client has authenticated, but does not have permission to access the resource due to insufficient authorization. The statement is correct because it captures that distinction: missing or invalid credentials map to 401, while valid credentials but insufficient authorization map to 403. The other choices mix up these meanings (for example, describing a missing resource or a bad request format, or labeling these codes as internal errors or success), which doesn’t fit how these status codes are defined.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy