Certified Kubernetes Administrator

CKA practice exam and hands-on tasks

The Certified Kubernetes Administrator exam is hands-on: you install, operate and repair clusters, with troubleshooting as the biggest domain. It is the core certification for people who run Kubernetes.

The exam at a glance

Format
Hands-on: tasks on live systems, in a terminal
Duration
120 minutes
Passing score
66%

From the public exam information; check the Linux Foundation's exam page before you book.

Domains and weights

DomainWeight
Troubleshooting30%
Cluster Architecture, Installation and Configuration25%
Services and Networking20%
Workloads and Scheduling15%
Storage10%

What you get for CKA

Try it: free examples

Original examples from the CKA course, written by us, not taken from any exam.

Hands-on task: Fix it: a worker is NotReady after maintenance

Time budget: 6 minutes

After some maintenance work on node w1, the node shows NotReady.

Bring w1 back to Ready, and make sure it also comes back on its own after the next reboot.

Show the model solution
kubectl describe node w1 | grep -A8 Conditions     # "Kubelet stopped posting node status"
ssh w1 'systemctl status kubelet --no-pager | head -3' # inactive (dead), disabled
ssh w1 'sudo systemctl enable --now kubelet'
kubectl get nodes -w

enable --now both starts the service and enables it at boot. Starting it without enabling fixes the node only until the next reboot.

Hands-on task: Roll out a new version and roll back to a chosen revision

Time budget: 7 minutes

In namespace cka-ws-roll, Deployment shop runs nginx:1.26.

  1. Update it to nginx:1.27 and record the change cause nginx 1.27.
  2. Update it to nginx:1.28 and record the change cause nginx 1.28.
  3. Users report a problem with 1.28 and 1.27. Roll back to the revision that runs nginx:1.26.
Show the model solution
kubectl -n cka-ws-roll set image deployment/shop nginx=nginx:1.27
kubectl -n cka-ws-roll annotate deployment/shop kubernetes.io/change-cause="nginx 1.27" --overwrite
kubectl -n cka-ws-roll set image deployment/shop nginx=nginx:1.28
kubectl -n cka-ws-roll annotate deployment/shop kubernetes.io/change-cause="nginx 1.28" --overwrite
kubectl -n cka-ws-roll rollout history deployment/shop        # revision 1 = nginx 1.26
kubectl -n cka-ws-roll rollout undo deployment/shop --to-revision=1
kubectl -n cka-ws-roll rollout status deployment/shop

rollout undo without --to-revision would only go back one step (to 1.27). After the rollback, revision 1 becomes the newest revision (4).

Spot the bug

The default class is local-path (volumeBindingMode: WaitForFirstConsumer). You create this claim and nothing else:

apiVersion: v1
kind: PersistentVolumeClaim
metadata: { name: cache, namespace: shop }
spec:
  accessModes: [ReadWriteOnce]
  resources: { requests: { storage: 1Gi } }

kubectl -n shop describe pvc cache shows waiting for first consumer to be created before binding. What is wrong?

  1. Nothing; the claim binds as soon as a Pod that uses it is scheduled
  2. The claim needs storageClassName: local-path, the default is not applied
  3. The provisioner is not running
  4. The class must be changed to Immediate with kubectl edit sc local-path
Show the answer
  1. Correct. With WaitForFirstConsumer the volume is created on the node the Pod lands on, so Pending without a Pod is by design.
  2. Not correct. A claim without storageClassName gets the default class. describe pvc would show the class name.
  3. Not correct. A broken provisioner shows waiting for a volume to be created by external provisioner after a Pod exists, not this message.
  4. Not correct. volumeBindingMode is immutable on an existing class, and WaitForFirstConsumer is the right mode for node-local storage.

Start free, then choose

The free plan lets you try the first domain of LFCS and KCNA. The CKA exam pass opens everything for CKA for 90 days, paid once; All access opens all six certifications. See pricing.

Frequently asked questions

Is this the official CKA training?

No. Clustiro is independent and not affiliated with the Linux Foundation. You book and take the exam with the Linux Foundation; we help you prepare with original material.

Are these real exam questions?

No. Every question and task is written by us. They follow the published curriculum's domains, weights and style, so the practice is realistic, but none is taken from an exam.

Do I need my own cluster or machines?

Yes: you practise on your own virtual machines, set up in the course's lab lesson. Any Windows, macOS or Linux computer with 16 GB RAM and about 70 GB free disk works (8 GB RAM is enough for LFCS), or a small cloud VM. The app never connects to them; you run the verify commands and mark your result.

How long does preparation take?

It depends on your experience and the time you have each week. The app shows your progress per domain and what to study next; the exam pass gives you 90 days and can be extended.

Other certifications