2 mock exams
33 tasks · 2 h eachFull-length, timed runs of 16 to 17 mixed tasks across three clusters, scored against a 67% pass mark.
The CKS gives you two hours to harden clusters, nodes and workloads. CKPrep sets up insecure clusters on your machine, times you, and checks that each hole is really closed, not just that a file looks right.
$ ./ckprep start drill-1-cluster-setup › Setting up question 01… › Setting up question 02… $ ./ckprep q 1 Deny all traffic in namespace orchard, then let app=web reach api on port 80 by Service name. Nothing else may open. $ ./ckprep grade ◐ Q1 6% 3/4 checks orchard-default-deny missed: app=web reaches api by Service name ✓ Q2 7% 4/4 checks portal-ingress-tls ✓ Q3 6% 3/3 checks metadata-egress-block ✗ Q4 8% 0/4 checks kubelet-cis-remediation … Score: 70% — PASS (67% needed) · 33 min used
The CKS is hands-on security work: lock down the kubelet, write the NetworkPolicy that blocks the metadata endpoint, enable audit logging, confine a container with AppArmor, find the Pod that's doing something it shouldn't.
Most of it means editing static manifests and node config where one typo takes the API server down. CKPrep lets you make those mistakes at home, on real clusters, with the clock running.
One command builds local kind clusters and VMs with a weakness for every task: an anonymous kubelet, an open namespace, a container running as root.
kubectl, ssh into nodes, edit static manifests, search the allowed docs. A countdown runs the whole time.
Grading probes what's actually enforced: it tries the blocked connection and calls the kubelet without credentials. Then the worked solution unlocks.
Each task is graded on several specific checks, so you see exactly which part you missed. Then you get the fix, the commands, and the pitfall that cost you.
Over time, ./ckprep progress shows your weakest curriculum topics, so you know what to practise next instead of guessing.
# deny-all: every Pod, no ingress, no egress spec: podSelector: {} policyTypes: [Ingress, Egress] # then allow three flows: # egress web → api:80 # ingress api ← web:80 # egress web → kube-dns:53, UDP and TCP
Pitfall: with egress denied, forgetting DNS makes the Service name fail even though the port rule is right.
Full-length, timed runs of 16 to 17 mixed tasks across three clusters, scored against a 67% pass mark.
Cluster setup, cluster hardening, system hardening, microservice vulnerabilities, supply chain, and monitoring and runtime security.
AppArmor, gVisor and Falco on real nodes, and patching a cluster by upgrading it. On real virtual machines, not containers.
Written from scratch for Kubernetes 1.37, with a worked solution for every task and a cheat sheet for the pack. Tasks built around a scanner (Trivy, Kubesec) or Falco alerts give you the saved report to analyse and act on. AppArmor, gVisor and Falco run live in the VM labs.
Tasks are mapped to the official CNCF CKS curriculum for Kubernetes v1.37.
The CKS pack
The exam itself costs hundreds of dollars per attempt. Practising until you're fast costs far less.
Secure checkout by Polar. Taxes calculated at checkout. Instant download.
The free runner tells you exactly what's missing before you spend anything.
$ ./ckprep doctor ✓ Platform: macOS arm64 (fully tested) ✓ Docker memory: 16 GB ✓ VM lab available Ready.
Needs Docker, kind, kubectl, helm, curl, jq, openssl and python3. The two VM labs also need Lima (plus KVM on Linux). Docker with 8 GB of memory (16 GB recommended for the mocks) and 30 GB of free disk.
Linux VM labs are tested on Ubuntu 24.04. The QEMU 10.2 in Ubuntu 26.04 currently crashes them.
No, and that's deliberate. Every task is original, written from the public Kubernetes docs and the published curriculum. Nothing is leaked or recalled from a real exam.
Yes, in the VM labs, on real nodes you ssh into. Elsewhere, tasks about scanner output or Falco alerts give you the saved report, so you practise reading it and fixing what it found.
The real CKS requires an active CKA. This pack assumes you're comfortable with kubectl, static Pod manifests and ssh into nodes.
Yes. The free CKS practice questions page has 8 tasks from this pack's drills with full solutions, one or more for each exam domain.
No. Everything runs locally in Docker and lightweight VMs. You only need internet to download images the first time.
No. CKPrep is independent and not affiliated with CNCF or The Linux Foundation. It doesn't include an exam voucher.
Nobody can honestly promise that. What it does is show you, task by task, where you'd lose points today, while there's still time to fix it.
New to the exam? Read the CKS exam guide or try the free CKS practice questions. Taking another exam too? See the CKA pack and the CKAD pack.