CKS

Kubernetes Security Specialist (CKS) practice exams

290 questions in 5 timed practice tests. Each test has about 60 questions and a 120-minute limit. The pass mark is 67%. Results are split across the 6 exam domains.

Exam at a glance

CKS practice exam settings
Practice tests 5
Questions in total 290
Questions per test About 60
Time limit per test 120 minutes
Pass mark 67%
Question types Single answer and multiple answer (27 multiple-answer questions)
Level Specialty
Category DevOps & Cloud Native

These are the settings of our practice tests. Check the official CNCF exam page for the current exam format before you book.

Domains and weights

CKS exam domains, weights and question counts
Domain Weight Weight bar Questions in our bank
Cluster Setup 15% 43
Cluster Hardening 15% 44
System Hardening 10% 29
Minimize Microservice Vulnerabilities 20% 58
Supply Chain Security 20% 58
Monitoring, Logging and Runtime Security 20% 58

Sample questions

Question 1 of 3

After applying a default-deny egress policy in the 'shop' namespace, the application pods can no longer resolve service names. The cluster DNS pods run in kube-system with the label k8s-app=kube-dns. Which additional egress rule restores name resolution while keeping all other egress blocked?

  1. A Allow egress to pods labelled k8s-app=kube-dns in the namespace labelled kubernetes.io/metadata.name=kube-system, on UDP and TCP port 53 (correct answer)
  2. B Allow egress to any pod in any namespace on UDP port 53 only, using an empty namespaceSelector with no podSelector restriction
  3. C Allow egress to the kube-dns Service ClusterIP using an ipBlock rule, because NetworkPolicy evaluates traffic before kube-proxy translation
  4. D Allow ingress from pods labelled k8s-app=kube-dns into the 'shop' namespace on UDP port 53 so DNS replies can return to the pods
Why: Combining namespaceSelector and podSelector in one peer narrows egress to the DNS pods, and DNS needs both UDP and TCP 53 (TCP for large responses). An empty namespaceSelector on port 53 permits any pod in the cluster to be reached on that port, which is broader than needed and omits TCP. NetworkPolicy is generally enforced after Service translation, so an ipBlock for the ClusterIP is unreliable. Replies to allowed connections are permitted automatically, so an ingress rule is not the fix.

Question 2 of 3

Workloads in a cloud-hosted cluster must not be able to query the instance metadata endpoint at 169.254.169.254, but they still need general internet egress. Which NetworkPolicy egress rule meets this requirement?

  1. A A podSelector matching the metadata agent pods combined with policyTypes Ingress only
  2. B A namespaceSelector that excludes kube-system together with an ipBlock of 0.0.0.0/0
  3. C An ipBlock with cidr 169.254.169.254/32 placed in a separate deny-type egress rule
  4. D An ipBlock with cidr 0.0.0.0/0 and an except entry of 169.254.169.254/32 (correct answer)
Why: Standard NetworkPolicy is allow-only, so the way to block one address while permitting the rest is an ipBlock of 0.0.0.0/0 with an except entry for the metadata IP. There is no deny rule type in the core NetworkPolicy API. Excluding kube-system by namespace does nothing for an external link-local address. Metadata is served by the cloud host, not pods, and an Ingress-only policy does not restrict egress at all.

Question 3 of 3

A security review finds that the kube-apiserver accepts unauthenticated requests as system:anonymous, and a ClusterRoleBinding grants that user read access to pods. Which change fixes the root cause on a kubeadm cluster with the LEAST impact on health probes?

  1. A Set --insecure-port=0 so unauthenticated clients cannot reach the HTTP endpoint
  2. B Remove NodeRestriction from --enable-admission-plugins so anonymous requests are rejected before RBAC authorization runs
  3. C Delete the ClusterRoleBinding granting access to system:anonymous, keeping default health and discovery access (correct answer)
  4. D Set --authorization-mode=AlwaysAllow on the API server so that all requests must first pass authentication before reaching RBAC
Why: Anonymous requests only obtain what RBAC grants them, so deleting the binding that gives system:anonymous pod access removes the exposure while leaving default health endpoints usable; --anonymous-auth=false is a stronger option but can break unauthenticated probes. AlwaysAllow disables authorization entirely and is the opposite of hardening. NodeRestriction is an admission plugin for kubelet writes and has no role in rejecting anonymous reads. The insecure port has been removed from modern API servers and is unrelated to anonymous authentication on the secure port.

What your score report looks like

Example attempt, CKS practice test 3

76%

Passed
Pass mark 67%

Score by exam domain
DomainWeightYour score%
Cluster Setup 15%
88
Cluster Hardening 15%
81
System Hardening 10%
76
Minimize Microservice Vulnerabilities 20%
58
Supply Chain Security 20%
84
Monitoring, Logging and Runtime Security 20%
72

Study next: Minimize Microservice Vulnerabilities. It is below the pass mark and carries 20% of the exam.

Domains and pass mark from our CKS practice tests. Scores are an example attempt.

Study plans

Two weeks

  1. Day 1: take practice test 1 in exam mode to get a baseline.
  2. Days 2 to 5: domain mode on Minimize Microservice Vulnerabilities and Supply Chain Security, the two most heavily weighted domains.
  3. Day 6: practice test 2 in exam mode, then the mistakes quiz.
  4. Days 7 to 12: practice tests 3 to 5, one every other day, each followed by its mistakes quiz.
  5. Days 13 and 14: final mode. Book the exam when your readiness stays above the pass mark.

Four weeks

  1. Week 1: one practice test in practice mode, reading every explanation. Note your two lowest domains.
  2. Week 2: domain mode on those two domains, then a second practice test in exam mode.
  3. Week 3: practice tests 3 and 4 in exam mode, with the mistakes and flagged quizzes after each.
  4. Week 4: practice test 5 and final mode until your readiness holds above the pass mark.

Questions about the CKS practice exams

Are these real CKS exam questions?
No. We write every question ourselves and map it to the published CKS exam objectives. We do not use leaked or recalled questions.
Do the time limit and pass mark match the official exam?
They match the settings of our practice tests. Exam providers change their format from time to time, so check the official exam page before you book.
Can I try it before I pay?
Yes. The free mini exam has 15 questions with full explanations and needs no account.
How long do I keep access?
A single-exam purchase gives you 12 months of access. All-Access includes this exam for as long as your subscription runs.
What happens after I finish a test?
You get a score, a pass or fail against the pass mark, a score per domain and every answer with its explanation.

Last updated November 2026. Written and reviewed by the DevOpsCode Lab team.

DevOpsCode Lab is not affiliated with CNCF. CKS and related names are trademarks of their owners.

Related exams
Exam Vendor Level Questions Minutes Price
CAPAArgo CAPA CNCF Associate 300 90 $12.99
CKACertified Kubernetes Administrator (CKA) CNCF Associate 300 120 $12.99
010-160LPI Linux Essentials 010-200 LPI Foundational 200 60 $9.99
GH-900GitHub Foundations GH-900 GitHub Foundational 300 100 $9.99
AT0-001CompTIA AutoOps+ AT0-001 CompTIA Associate 300 60 $12.99
GH-100GitHub Enterprise GH-100 GitHub Associate 300 100 $12.99