Practice catalog
Examples
Original CKA practice scenarios — not official exam items. Full task text is below. Interactive Start Exam (terminal + grader) is not public yet.
- cka-mvp-01 · Deploy and expose nginxDeployment + Service · 15 min
- cka-mvp-02 · Config via ConfigMapConfigMap + envFrom
- cka-mvp-03 · Secret mountSecret volume mode 0400
- cka-mvp-04 · NetworkPolicydefault-deny + allow
- cka-mvp-05 · RBAC least privilegeSA + Role + RoleBinding
cka-mvp-01 · Deploy and expose nginx
Create a Deployment and Service in the current namespace so clients can reach nginx over ClusterIP.
Requirements
- Deployment named
web- replicas:
2 - container image:
nginx:1.27.1(exact tag) - both replicas Ready
- replicas:
- Service named
web-svc- type:
ClusterIP - port
80→ targetPort80 - selects the
webpods
- type:
Notes
- Work only in your exam namespace / vCluster.
- Soft time limit: 15 minutes.
cka-mvp-02 · Config via ConfigMap
Wire application configuration through a ConfigMap.
Requirements
- ConfigMap named
app-configwith keyAPP_ENV=prod - Pod named
appthat loads env from that ConfigMap viaenvFrom.configMapRef - Pod phase
Running
cka-mvp-03 · Secret mount
Mount database credentials as files for a client Pod.
Requirements
- Secret named
db-credwith keysuserandpassword - Pod named
db-clientmounts that Secret at/etc/db - Volume defaultMode
0400(decimal256)
cka-mvp-04 · NetworkPolicy default-deny + allow
Secure namespace shop with default-deny and a narrow allow rule.
Requirements
- NetworkPolicy
default-denyin namespaceshopthat selects all pods and denies Ingress (and preferably Egress) - NetworkPolicy
allow-frontendin namespaceshopallowing traffic from Pod labelapp=frontendto pods withapp=backendon TCP8080
Namespace shop may already exist; create it if missing.
cka-mvp-05 · RBAC least privilege
Give a ServiceAccount read-only access to Pods and nothing more for Deployments.
Requirements
- ServiceAccount
reader - Role that allows
getandlistonpods - RoleBinding that binds that Role to SA
reader - As SA
reader:auth can-i get pods→yes;auth can-i create deployments→no