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

  1. 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.
  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
1Cluster-wide read access to nodesCluster Architecture, Installation and Configuration6%
2A production overlay with KustomizeCluster Architecture, Installation and Configuration6%
3Run a static podCluster Architecture, Installation and Configuration5%
4Check certificate expiryCluster Architecture, Installation and Configuration4%
5Container runtime and network pluginCluster Architecture, Installation and Configuration4%
6Autoscale on CPUWorkloads and Scheduling5%
7A native sidecar containerWorkloads and Scheduling5%
8Default limits and a quota for a teamWorkloads and Scheduling5%
9Route HTTP traffic with an IngressServices and Networking5%
10Limit where a pod can connectServices and Networking6%
11A Service on a named portServices and Networking5%
12Create a GatewayServices and Networking4%
13A new default StorageClassStorage5%
14A claim that stays PendingStorage5%
15A broken kubelet service unitTroubleshooting10%
16An app that keeps getting killedTroubleshooting10%
17Find the busiest podTroubleshooting10%

Domain mix

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

Was this page helpful?

Report a mistake