350-401 · Question #839
Refer to the exhibit. Why was the response code generated?
The correct answer is B. Access was denied based on the user permissions.. HTTP 403 Forbidden Response Code Explanation Option B is correct because a 403 Forbidden response code indicates that the server understood the request but is refusing to authorize it - the client's credentials may be valid (authentication succeeded), but the user lacks the neces
Question
Exhibits
Options
- AThe resource was unreachable.
- BAccess was denied based on the user permissions.
- CAccess was denied based on the credentials.
- DThe resource is no longer available on the server.
How the community answered
(35 responses)- B94% (33)
- C3% (1)
- D3% (1)
Explanation
HTTP 403 Forbidden Response Code Explanation
Option B is correct because a 403 Forbidden response code indicates that the server understood the request but is refusing to authorize it - the client's credentials may be valid (authentication succeeded), but the user lacks the necessary permissions to access the requested resource. This is a permission/authorization issue, not an authentication issue.
- Option A is wrong because an unreachable resource would generate a 503 (Service Unavailable) or a network-level timeout error, not a 403.
- Option C is wrong because denied credentials (failed authentication) produce a 401 Unauthorized response, which specifically prompts the client to re-authenticate.
- Option D is wrong because a resource no longer available on the server generates a 410 Gone response code.
Memory Tip: Think of it this way - 401 = "Who are you?" (authentication) and 403 = "I know who you are, but you can't come in" (authorization/permissions). The key distinction between 401 and 403 is frequently tested on exams!
Topics
Community Discussion
No community discussion yet for this question.

