DEV Community

Yash Sonawane
Yash Sonawane

Posted on

I Compiled Everything You Need to Pass the CKA Into One PDF (80 Pages, Free to Preview)

I failed my first CKA attempt.

Not because I didn't study. I had watched every Udemy course, read the official docs, spun up clusters on Minikube. I felt ready.

But inside the exam — 2 hours, 17 live tasks, a real terminal — I panicked. I wasted 20 minutes on a NetworkPolicy question I knew the answer to but couldn't recall the exact YAML syntax under pressure. I ran out of time on the etcd backup task. I missed the pass mark by 4%.

That failure taught me something: the CKA isn't a knowledge test. It's a speed and recall test.

You don't need to understand Kubernetes more deeply. You need to be able to type the right commands without thinking, produce correct YAML without referencing docs every time, and debug a broken cluster systematically — in under 3 minutes per task.

So I rebuilt my study approach entirely. And I compiled everything into one document.


What I Built

After months of prep, retaking the exam (and passing — 89%), and writing 60+ technical articles on DEV.to about Kubernetes and DevOps, I packaged everything exam-critical into a 128-page CKA Complete Study Guide PDF.

It covers all 5 official CNCF domains, weighted by how much each one actually matters:

Domain Weight What's covered
Cluster Architecture & Installation 25% kubeadm full setup, RBAC, certs, Helm
Workloads & Scheduling 15% Deployments, StatefulSets, taints, QoS
Services & Networking 20% All service types, NetworkPolicy, Ingress
Storage 10% PVs, PVCs, StorageClasses
Troubleshooting 30% Node debugging, pod failures, etcd backup

That last row is the one most study resources underserve. Troubleshooting is the single largest domain — 30% of your score — and it's the one where people lose the most time in the exam. I gave it the most pages.


The Specific Things That Helped Me Pass

1. Memorising the debug workflow, not just the commands

Most guides give you a list of kubectl commands. That's not enough. What you need is a systematic workflow you execute the same way every time a task breaks:

# Step 1 — Does the resource exist?
kubectl get pod -n mynamespace

# Step 2 — What do the events say?
kubectl describe pod mypod -n mynamespace

# Step 3 — What are the logs saying?
kubectl logs mypod --previous

# Step 4 — Get a shell if it's running
kubectl exec -it mypod -- /bin/sh

# Step 5 — Check node-level if pod won't schedule
kubectl describe node worker-1
journalctl -u kubelet -n 50
Enter fullscreen mode Exit fullscreen mode

When you have this workflow in your hands — not just your head — you stop freezing on troubleshooting tasks and start moving fast.

2. The etcd backup task is free marks — if you practice it

This appears on almost every CKA attempt. It's 2 commands. But people lose it because they forget the cert paths under pressure. Here's the full thing:

ETCDCTL_API=3 etcdctl snapshot save /opt/etcd-backup.db \
  --endpoints=https://127.0.0.1:2379 \
  --cacert=/etc/kubernetes/pki/etcd/ca.crt \
  --cert=/etc/kubernetes/pki/etcd/server.crt \
  --key=/etc/kubernetes/pki/etcd/server.key

# Verify
ETCDCTL_API=3 etcdctl snapshot status /opt/etcd-backup.db --write-out=table
Enter fullscreen mode Exit fullscreen mode

Practice this 10 times from memory. It becomes automatic.

3. Context switching is where people silently lose marks

Every exam task runs on a different cluster context. If you forget to switch:

kubectl config use-context k8s-cluster-1
Enter fullscreen mode Exit fullscreen mode

...you complete the task on the wrong cluster and get zero marks. I now do this first, before reading the rest of the task. Every single time.

4. RBAC in under 3 minutes (imperative only)

Forget writing YAML for RBAC tasks. The imperative commands are 10x faster:

kubectl create serviceaccount my-sa -n default
kubectl create role pod-reader --verb=get,list,watch --resource=pods -n default
kubectl create rolebinding rb1 --role=pod-reader --serviceaccount=default:my-sa -n default

# Always verify
kubectl auth can-i list pods --as system:serviceaccount:default:my-sa
Enter fullscreen mode Exit fullscreen mode

Done. Under 90 seconds.


Why I Made a Paid PDF Instead of Just More Free Articles

Fair question.

I've published 60+ free articles on DEV.to about Kubernetes, DevOps, and cloud engineering. I'll keep doing that. This blog post is free. The commands above are free.

But the PDF is different. It's:

  • Structured around the exam, not around what's interesting to write about
  • Offline-ready — no tabs, no scrolling between 8 different pages during your last week of prep
  • Dense — 128 pages with every domain, every YAML template, every command pattern you need
  • Curated — built from what actually appears on the exam, not a complete Kubernetes reference

If you've spent ₹15,000+ on courses and exam fees, spending ₹299 on something that could save your retake attempt is worth it.

Get the CKA Complete Study Guide

30-day money back guarantee. Instant download. Works on any device.


What's Inside (Full Breakdown)

Domain 1 — Cluster Architecture (25%)

  • Every control plane component and what breaks when it fails
  • Full kubeadm cluster setup from scratch (pre-flight → init → CNI → join)
  • Cluster upgrade path with drain/uncordon workflow
  • RBAC complete: Roles, ClusterRoles, ServiceAccounts, bindings
  • Certificate management and rotation

Domain 2 — Workloads (15%)

  • When to use Deployment vs StatefulSet vs DaemonSet vs Job
  • Rolling updates, rollbacks, and scaling
  • Node affinity, taints, tolerations with real examples
  • Resource requests/limits and QoS classes (Guaranteed/Burstable/BestEffort)

Domain 3 — Networking (20%)

  • All 5 service types with use cases (ClusterIP, NodePort, LoadBalancer, ExternalName, Headless)
  • NetworkPolicy — ingress + egress rules with working YAML
  • Ingress with TLS, path routing, and rewrite annotations
  • CoreDNS — how pod DNS resolution actually works

Domain 4 — Storage (10%)

  • PersistentVolume + PVC lifecycle and binding
  • StorageClasses and dynamic provisioning
  • Access modes explained (RWO vs ROX vs RWX — and which cloud providers support which)
  • ConfigMap and Secret as volumes

Domain 5 — Troubleshooting (30%)

  • Universal 7-step debug workflow
  • Pod failure states table: Pending, ImagePullBackOff, CrashLoopBackOff, OOMKilled, Evicted — cause + fix for each
  • Node NotReady diagnosis path
  • etcd backup and restore (full commands, full cert paths)
  • Log analysis patterns

Bonus: Exam Day Cheat Sheet

  • 28 essential kubectl commands with explanations
  • Complete YAML templates (initContainers, PVC, NetworkPolicy, Ingress, RBAC)
  • Context management reminders
  • Time allocation strategy for the 2-hour window

Who This Is For

✅ You've done a CKA course but want a structured exam-focused reference

✅ You're in the last 2-4 weeks of prep and want everything in one place

✅ You failed once and want to plug the specific gaps

✅ You work with Kubernetes daily and want CKA certification for your career

❌ Not for complete beginners who've never touched Kubernetes

❌ Not a replacement for hands-on practice — you still need to run the commands


One Last Thing

The CKA is hard because it's performance-based. You can't memorise your way through it. You have to practice.

But showing up to the exam without a solid reference — without knowing the exact syntax for NetworkPolicy egress rules or the exact cert paths for etcd — is leaving marks on the table.

This PDF is that reference.

CKA Complete Study Guide — ₹299

Good luck. You've got this.


Yash Sonawane is a DevOps and Cloud Engineering student building in public. 60+ technical articles on DEV.to, open-source projects at github.com/yashsonawane25, and content at CodeTreasureHub.


Tags to add on DEV.to:

kubernetes devops career beginners

Cover image size:

1000×420px — use the dark navy CKA banner

Canonical URL:

Leave blank (DEV.to as original source)

Top comments (0)