Members · Hands-on mock exam · CKA
CKA Hands-on Mock Exam 2
A second full CKA simulation with different tasks: 17 performance-based tasks in 2 hours on a local kind cluster, weighted like the official domains, scored by a grading script.
- 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-m2) 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 | Cluster-wide read access to nodes | Cluster Architecture, Installation and Configuration | 6% |
| 2 | A production overlay with Kustomize | Cluster Architecture, Installation and Configuration | 6% |
| 3 | Run a static pod | Cluster Architecture, Installation and Configuration | 5% |
| 4 | Check certificate expiry | Cluster Architecture, Installation and Configuration | 4% |
| 5 | Container runtime and network plugin | Cluster Architecture, Installation and Configuration | 4% |
| 6 | Autoscale on CPU | Workloads and Scheduling | 5% |
| 7 | A native sidecar container | Workloads and Scheduling | 5% |
| 8 | Default limits and a quota for a team | Workloads and Scheduling | 5% |
| 9 | Route HTTP traffic with an Ingress | Services and Networking | 5% |
| 10 | Limit where a pod can connect | Services and Networking | 6% |
| 11 | A Service on a named port | Services and Networking | 5% |
| 12 | Create a Gateway | Services and Networking | 4% |
| 13 | A new default StorageClass | Storage | 5% |
| 14 | A claim that stays Pending | Storage | 5% |
| 15 | A broken kubelet service unit | Troubleshooting | 10% |
| 16 | An app that keeps getting killed | Troubleshooting | 10% |
| 17 | Find the busiest pod | Troubleshooting | 10% |
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.