If you come to Kubernetes from backend development, you probably feel comfortable writing Deployments, Services, and Ingress manifests. The Certified Kubernetes Security Specialist (CKS) exam tests a different layer: what happens in the Linux host, the container runtime, the network path, and the image supply chain when something goes wrong.
1. Official CKS Exam Domains
Start by mapping your study time to the six official CNCF exam domains:
| Domain | Weight | Backend Blind Spots to Watch |
|---|---|---|
| Minimize Microservice Vulnerabilities | 20% | securityContext, Pod Security Standards, RBAC, NetworkPolicy, Secrets encryption at rest |
| Supply Chain Security | 20% | Minimal base images, image vulnerability scanning (e.g., Trivy), registry policies, signature checks |
| Monitoring, Logging, and Runtime Security | 20% | Runtime behavioral alerts (e.g., Falco), API server audit logs, immutable filesystems |
| Cluster Setup | 15% | Network isolation, CIS benchmarks for control-plane components, Ingress TLS, node metadata protection |
| Cluster Hardening | 15% | API server access restriction, minimal ServiceAccounts, disabling auto-mounted tokens, upgrades |
| System Hardening | 10% | Reducing host kernel attack surface, AppArmor, seccomp, restricting kernel modules |
Reference: CNCF CKS Overview
2. First Hands-On Bridge: Container Config to Host OS (AppArmor)
One of the fastest ways to feel the shift from application YAML to host-level security is AppArmor. AppArmor is a Linux Security Module (LSM) enforced by the worker node's kernel, while your Pod manifest tells Kubernetes which profile to apply.
Prerequisites on the worker node (from the official Kubernetes AppArmor tutorial):
- Verify AppArmor is enabled in the Linux kernel:
cat /sys/module/apparmor/parameters/enabledshould returnY. - Confirm your container runtime (such as containerd or CRI-O) supports AppArmor.
- For a custom
Localhostprofile, pre-load the profile onto every node where the Pod may be scheduled (for example, usingapparmor_parser), because the Kubernetes scheduler does not check custom node-level profiles automatically.
Pod manifest using the stable securityContext.appArmorProfile field:
apiVersion: v1 kind: Pod metadata: name: apparmor-localhost-demo spec: containers: - name: secure-container image: nginx:latest securityContext: appArmorProfile: type: Localhost localhostProfile: k8s-apparmor-example-deny-write - Use
type: RuntimeDefaultto apply the container runtime's default profile,type: LocalhostwithlocalhostProfilefor a node-loaded custom profile, ortype: Unconfinedto disable AppArmor enforcement. - What to verify after
kubectl apply: check that the Pod entersRunningstate (kubectl get pod apparmor-localhost-demo) and test a blocked action (such as writing a file inside adeny-writeprofile) to confirm the host kernel rejects it with a permission error.
Reference: Restrict a Container's Access to Resources with AppArmor
3. How to Sequence Your Practice
- Build familiarity with the six domains above using official Kubernetes documentation and hands-on cluster labs.
- Practice switching quickly between cluster manifests (
NetworkPolicy,RBAC,securityContext) and node-level checks (AppArmor, audit logs, image scans). - Treat timed mock environments as your final readiness check before scheduling the exam.
I write longer notes on engineering leadership and developer careers in Korea on Medium.
Written with AI from the official CNCF and Kubernetes documentation linked above, and checked against those pages.



