Study. uk . com
  1. Home
  2. All questions
  3. Question 39

CKA study material · question 39 of 1000

Which HTTP status does the API server return for a request that authorization denies?

  1. 404 Not Found
  2. 401 Unauthorized
  3. 422 Unprocessable Entity
  4. 403 Forbidden
Show the answer

Answer: D. 403 Forbidden

A denied API request comes back as HTTP 403 Forbidden; 401 signals a failed authentication instead.

Source: Authorization (Kubernetes) — Authorization verdicts

Challenge yourself on this topic → Study as cards