Members · Hands-on mock exam · CKA
CKA Hands-on Mock Exam 1
A full CKA simulation: 17 performance-based tasks in 2 hours on a local kind cluster, weighted like the official domains (Troubleshooting 30%, Cluster Architecture 25%, Services and Networking 20%, Workloads and Scheduling 15%, Storage 10%). A grading script scores every task.
- 17 tasks
- 120 minutes
- 66% to pass
- 1 local cluster
How it works
- Download the kit and run
./setup.sh. It creates 1 kind cluster (kind-cert-cka-m1) and prepares every task. You need Docker, kind and kubectl. - Start the timer below and solve the tasks in your terminal, switching to the context each task names, as in the real exam.
- Grade with
./grade.sh: every task is checked on your clusters. Paste the RESULT line here to see your score by domain and save it, then read the solutions.
How this kit differs from the real exam
How this kit differs from the real exam
- The real exam gives you several clusters with separate nodes you reach over
ssh. This kit runs one single-node kind cluster on your computer;docker exec -it <node> bashstands in forssh. - Upgrading a cluster with
kubeadm upgradeand joining nodes withkubeadm joincan't be practised in kind: practise them on virtual machines (see our Kubernetes labs). - Restoring etcd is practised up to restoring the snapshot into a new data directory; switching a running cluster to it would roll back your other tasks, so the solution describes that last step instead.
- You need Helm 3.8 or newer (or Helm 4) for the Helm task. kind needs enough inotify instances on Linux
(
sudo sysctl fs.inotify.max_user_instances=512if the cluster fails to start).
Tasks
| # | Task | Domain | Weight |
|---|---|---|---|
| 1 | RBAC for a deployment bot | Cluster Architecture, Installation and Configuration | 7% |
| 2 | Back up etcd and restore the snapshot | Cluster Architecture, Installation and Configuration | 6% |
| 3 | Install an application with Helm | Cluster Architecture, Installation and Configuration | 6% |
| 4 | Use a custom resource | Cluster Architecture, Installation and Configuration | 6% |
| 5 | Roll back a failed rollout | Workloads and Scheduling | 5% |
| 6 | Configuration from a ConfigMap and a Secret | Workloads and Scheduling | 5% |
| 7 | Priority and node affinity | Workloads and Scheduling | 5% |
| 8 | Expose an app on a NodePort | Services and Networking | 5% |
| 9 | Restrict traffic to a database | Services and Networking | 6% |
| 10 | Route HTTP traffic with the Gateway API | Services and Networking | 5% |
| 11 | Add a static DNS entry to CoreDNS | Services and Networking | 4% |
| 12 | A Deployment with persistent storage | Storage | 5% |
| 13 | Bind a claim to a specific PersistentVolume | Storage | 5% |
| 14 | A kubelet that won't start | Troubleshooting | 8% |
| 15 | Pods waiting for a second scheduler | Troubleshooting | 8% |
| 16 | An app that doesn't serve traffic | Troubleshooting | 7% |
| 17 | Find errors in a multi-container pod | Troubleshooting | 7% |
Domain mix
- Cluster Architecture, Installation and Configuration · 25%
- Workloads and Scheduling · 15%
- Services and Networking · 20%
- Storage · 10%
- Troubleshooting · 30%
CKA study guide · Written by our team; not real exam tasks.