Certified Kubernetes Application Developer (CKAD) · Section 4 · 25% of the exam
Understand authentication, authorization and admission control
One of the objectives of the Certified Kubernetes Application Developer (CKAD) exam, in the section “Application Environment, Configuration and Security”. Here is what it covers, the points to remember and a question to try.
What it covers
Every API request passes three gates: authentication says who you are, authorization says what you may do, and admission control can change or reject what you send. This lesson covers certificates and tokens, RBAC Roles and bindings, kubectl auth can-i, and mutating and validating admission including policies and Pod Security Admission.
Points to remember
- The API server processes a request in order: authentication, authorization, mutating admission, schema validation, validating admission, then it is stored in etcd.
- 401 means authentication failed; 403 means authorization or admission refused the request.
- Kubernetes has no User object: identity comes from the credential (certificate CN and O, token, OIDC claims). ServiceAccounts are system:serviceaccount:<ns>:<name>.
- RBAC is additive and deny-by-default: Role and RoleBinding are namespaced, ClusterRole and ClusterRoleBinding are cluster-wide.
- A RoleBinding that references a ClusterRole grants those permissions only in the binding's namespace.
Try a question
A ClusterRole named view is bound to the group qa using a RoleBinding in the namespace test. What access do members of qa have?
- ARead-only access to most resources in every namespace
- BRead-only access to most resources in the
testnamespace only - CRead-only access to cluster-scoped resources such as nodes
- DNo access at all, because a RoleBinding cannot reference a ClusterRole
Show the answer
B. The scope of a grant comes from the binding: RoleBinding means one namespace, ClusterRoleBinding means all namespaces and cluster-scoped objects. ClusterRoles are reusable permission sets.
Written for practice in the style of the exam: never a question from the real exam.
In the course
The lesson Authentication, Authorization (RBAC) and Admission Control teaches this objective (about 45 minutes), and 13 practice questions test it. The course has lessons, exam-style questions, timed practice exams and an AI tutor for every objective, and a pass prediction that tells you when you're ready to book.