Free Certified Kubernetes Security Specialist Practice Questions
200 free questions · Answer explanations · No signup required
View examination details, outline and sourcesThese questions practise related knowledge and decisions. They do not replace practical performance training or assess your actual performance.
Loading selected examination banks…
Sample Practice Questions
Try these 10 sample questions from the Certified Kubernetes Security Specialist practice bank. Each includes the answer and explanation. Continue with the interactive practice above to review the full question set.
1A NetworkPolicy exists, but test Pods remain reachable despite its ingress restrictions. The CNI plugin does not implement NetworkPolicy. What change addresses the missing enforcement?
- A.Deploy a networking solution that implements NetworkPolicy.Correct answer: A
- B.Add a second copy of the same NetworkPolicy.
- C.Change the NetworkPolicy API group to core/v1.
- D.Restart the Pods without changing the networking solution.
Explanation: The documentation states: "Creating a NetworkPolicy resource without a controller that implements it will have no effect." The resource alone does not enforce packet filtering; the network implementation must support it. Duplicating policy or restarting Pods does not add enforcement, and NetworkPolicy is not a core/v1 resource.
2A developer must read Pods only in namespace reports. Which RBAC resource defines those namespace-scoped permissions?
- A.A Role in reports.Correct answer: A
- B.A ClusterRoleBinding named reports.
- C.A RoleBinding with no associated permission-defining role.
- D.A Role in another namespace without a Role in reports.
Explanation: The documentation states: "A Role always sets permissions within a particular namespace;" Role defines permission rules within its namespace. A binding grants but does not itself define a role's rules; a cluster-wide binding or role elsewhere does not define the requested local Role.
3A Linux node image includes optional software that no cluster component or workload needs. Which package-selection approach reduces unnecessary host software?
- A.Install the base set and add only required packages.Correct answer: A
- B.Install a broad standard package group before checking which components are needed.
- C.Retain unused optional daemons solely to simplify possible future troubleshooting.
- D.Keep optional software solely because it was preselected.
Explanation: The documentation states: "I start with the base package set and really install nothing else." Select only required host software. A broad default package set or retaining unused daemons preserves unnecessary components; preselection is not a requirement assessment.
Reference: 3 quick ways to reduce your attack surface on Linux — Install less software
4How must a non-exempt Pod satisfy Baseline's restriction on sharing the host network namespace?
- A.Keep the Pod in its own network namespace rather than sharing the host's.Correct answer: A
- B.Share the host network namespace whenever the container runs as non-root.
- C.Share the host network namespace whenever privileged is false.
- D.Share the host network namespace whenever the root filesystem is read-only.
Explanation: The documentation states: "Sharing the host namespaces must be disallowed." Baseline prohibits host network namespace sharing. Non-root identity, privileged:false and a read-only root filesystem do not exempt hostNetwork:true.
Reference: Pod Security Standards — Baseline — Host Namespaces
5A production image needs a specific language runtime but no interactive tools. Which base-image choice follows the documented minimization guidance?
- A.Use the smallest trusted base that supplies the required runtime dependencies.Correct answer: A
- B.Use a scratch base despite the application's required runtime being absent.
- C.Use the full build-tool image as the runtime for potential future debugging.
- D.Choose by compressed size alone without checking the publisher or dependencies.
6In a Falco rule, which element determines whether an observed event matches the suspicious behavior being detected?
- A.The output text alone.
- B.The priority string alone.
- C.The condition expression.Correct answer: C
- D.The rule's descriptive name alone.
7Two ingress policies select the same database Pod. One allows TCP 443; the other allows TCP 8443. Assuming no other constraints, which inbound connections do these policies permit?
- A.Only TCP 443, because the first policy wins.
- B.Both TCP 443 and TCP 8443, because allows combine.Correct answer: B
- C.Only TCP 8443, because the last policy wins.
- D.Neither port, because each policy omits the other port.
8A reusable ClusterRole permits reading ConfigMaps. A RoleBinding references it in namespace billing. Where does this binding grant those permissions?
- A.In every namespace because the referenced role is a ClusterRole.
- B.Only in billing, the RoleBinding's namespace.Correct answer: B
- C.Only on cluster-scoped ConfigMaps.
- D.Only in the user's current kubectl namespace.
9On a systemd-based Linux node, which command inventories currently running service units before a hardening review?
- A.systemctl list-unit-files --type=mount
- B.systemctl list-units --type=service --state=runningCorrect answer: B
- C.kubectl get services --all-namespaces
- D.systemctl list-units --type=target --state=failed
10A workload must replace hostPath scratch storage with initially empty Pod-lifetime writable storage while complying with Baseline. Which replacement fits?
- A.A ConfigMap volume containing configuration files.
- B.An emptyDir volume mounted at the scratch path.Correct answer: B
- C.A hostPath volume with type Directory.
- D.A hostPath volume with type DirectoryOrCreate.
Explanation: The documentation states: "HostPath volumes must be forbidden." Baseline forbids hostPath volumes, and the volumes documentation states: "the emptyDir volume is initially empty." emptyDir supplies writable scratch storage for the Pod lifetime. A ConfigMap is configuration data, while changing hostPath.type still leaves a prohibited hostPath mount.
Reference: Pod Security Standards — Baseline — HostPath Volumes
Exam Review
About Certified Kubernetes Security Specialist
Certified Kubernetes Security Specialist · UNSPECIFIED
This examination scores performance. Multiple-choice practice covers related knowledge and decisions; it does not replace practical performance training or assess your actual performance.
Key exam facts
- Provider
- Created by the Cloud Native Computing Foundation (CNCF) in collaboration with The Linux Foundation; Linux Foundation delivers the certification exam, with remote proctoring.
- Format
- Online, remotely proctored performance-based command-line tasks in Kubernetes/Linux; grading is based on achieved task results, not multiple-choice responses. This multiple-choice practice bank tests related knowledge and judgment and cannot replace hands-on performance training.
- Exam questions
- Total questions: 15–20.
- Time limit
- 2 hours to complete the CKS examination tasks.
- Passing score
- 67% or above.
- Exam fee
- Exam-only list price US$445, including one free retake. LF offers separate bundles: US$625 with THRIVE-ONE annual subscription or US$645 with LFS260. Local offerings and promotions may differ.
Topics covered
Cluster Setup (15%)
- Use Network security policies to restrict cluster level access
- Use CIS benchmark to review the security configuration of Kubernetes components (etcd, kubelet, kubedns, kubeapi)
- Properly set up Ingress objects with TLS
- Protect node metadata and endpoints
- Verify platform binaries before deploying
Cluster Hardening (15%)
- Use Role Based Access Controls to minimize exposure
- Exercise caution in using service accounts e.g. disable defaults, minimize permissions on newly created ones
- Restrict access to Kubernetes API
- Upgrade Kubernetes to avoid vulnerabilities
System Hardening (10%)
- Minimize host OS footprint (reduce attack surface)
- Using least-privilege identity and access management
- Minimize external access to the network
- Appropriately use kernel hardening tools such as AppArmor, seccomp
Minimize Microservice Vulnerabilities (20%)
- Use appropriate pod security standards
- Manage kubernetes secrets
- Understand and implement isolation techniques (multi-tenancy, sandboxed containers, etc.)
- Implement Pod-to-Pod encryption (Cilium, Istio)
Supply Chain Security (20%)
- Minimize base image footprint
- Understand your supply chain (e.g. SBOM, CI/CD, artifact repositories)
- Secure your supply chain (permitted registries, sign and validate artifacts, etc.)
- Perform static analysis of user workloads and container images (e.g. Kubesec, KubeLinter)
Monitoring, Logging and Runtime Security (20%)
- Perform behavioral analytics to detect malicious activities
- Detect threats within physical infrastructure, apps, networks, data, users and workloads
- Investigate and identify phases of attack and bad actors within the environment
- Ensure immutability of containers at runtime
- Use Kubernetes audit logs to monitor access
How to prepare
Work through the topics, read the explanation after each answer, and revisit the areas where you miss questions. Use the official outline and reference materials below to guide your study.
These independent practice questions are not actual exam items and do not guarantee a passing result.
Frequently asked questions
What is the exam format?
Online, remotely proctored performance-based command-line tasks in Kubernetes/Linux; grading is based on achieved task results, not multiple-choice responses. This multiple-choice practice bank tests related knowledge and judgment and cannot replace hands-on performance training.
How many questions are on the exam?
Total questions: 15–20.
How long is the exam?
2 hours to complete the CKS examination tasks.
What is the passing score?
67% or above.
How much does the exam cost?
Exam-only list price US$445, including one free retake. LF offers separate bundles: US$625 with THRIVE-ONE annual subscription or US$645 with LFS260. Local offerings and promotions may differ.
Official sources and references
- CKS Exam Curriculum v1.37
page 2
- Important Instructions: CKS
Exam Details
- Linux Foundation Certification FAQ
How are exams scored and how soon will I get my results?
- CKS official examination page
About the CKS
- Important Instructions: CKS
Exam Details — task count
- CKA, CKAD and CKS FAQ
What score is needed to pass the exam?
- CKS official examination page
Exam Details & Resources
- CKS official examination page
Purchase options
Confirm current exam arrangements with the exam provider.