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

  1. 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.
  2. Start the timer below and solve the tasks in your terminal, switching to the context each task names, as in the real exam.
  3. 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> bash stands in for ssh.
  • Upgrading a cluster with kubeadm upgrade and joining nodes with kubeadm join can'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=512 if the cluster fails to start).

Tasks

#TaskDomainWeight
1RBAC for a deployment botCluster Architecture, Installation and Configuration7%
2Back up etcd and restore the snapshotCluster Architecture, Installation and Configuration6%
3Install an application with HelmCluster Architecture, Installation and Configuration6%
4Use a custom resourceCluster Architecture, Installation and Configuration6%
5Roll back a failed rolloutWorkloads and Scheduling5%
6Configuration from a ConfigMap and a SecretWorkloads and Scheduling5%
7Priority and node affinityWorkloads and Scheduling5%
8Expose an app on a NodePortServices and Networking5%
9Restrict traffic to a databaseServices and Networking6%
10Route HTTP traffic with the Gateway APIServices and Networking5%
11Add a static DNS entry to CoreDNSServices and Networking4%
12A Deployment with persistent storageStorage5%
13Bind a claim to a specific PersistentVolumeStorage5%
14A kubelet that won't startTroubleshooting8%
15Pods waiting for a second schedulerTroubleshooting8%
16An app that doesn't serve trafficTroubleshooting7%
17Find errors in a multi-container podTroubleshooting7%

Domain mix

CKA study guide · Written by our team; not real exam tasks.

Was this page helpful?

Report a mistake