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

CKA study material · question 950 of 1000

kubectl returns a Forbidden error naming your username and the resource. Which area should you investigate?

  1. The token and the API server address
  2. The kubeconfig's certificate authority data
  3. The cluster's DNS configuration
  4. The permissions bound to that identity
Show the answer

Answer: D. The permissions bound to that identity

Being named in the error means authentication succeeded and authorization failed, so the question is which roles are bound to that identity rather than how it authenticated.

Source: Troubleshooting kubectl (Kubernetes) — Authentication and authorization

Challenge yourself on this topic → Study as cards