Certified Kubernetes Security Specialist
Setup · Hardening · System · Microservice · Supply Chain · Runtime · 120 scenario questions
⚠️ Exam Rules
| Questions in this Techclick bank | 120 |
|---|---|
| Timer | 180 min |
| Techclick practice target | 70% |
| Official exam code | CKS |
During a CIS Benchmark assessment of a kubeadm cluster, you must audit the kubelet, API server, and etcd configuration against the documented controls and produce remediation guidance. Which tool runs these checks?
Correct: A. kube-bench inspects component flags and file permissions (kubelet, kube-apiserver, etcd, controller-manager) and reports PASS/FAIL/WARN per CIS control, so it is correct. Trivy is an image/filesystem vulnerability scanner, not a CIS config auditor. Falco watches runtime behavior, not static benchmark state. Polaris audits workload manifests for best practices, whereas CIS node-level controls are kube-bench's job.
An auditor flags that the kube-apiserver allows unauthenticated requests to be treated as the user system:anonymous. To harden the control plane and force every request through authentication, which API server flag should you set?
Correct: A. --anonymous-auth=false disables the anonymous user, forcing authentication, which is the correct hardening step. --insecure-port=8080 would reopen an unauthenticated plaintext port (a serious regression and removed in newer versions). --authorization-mode=AlwaysAllow disables authorization entirely, the opposite of hardening. Disabling bootstrap-token auth does not address anonymous access and breaks node joins, so it is incorrect.
You are securing an Ingress resource that terminates TLS for a public service and want to follow CKS-aligned practices for certificate handling. Which configurations are appropriate? (Choose TWO)
Correct: A and B. Ingress TLS is configured by pointing spec.tls.secretName at a kubernetes.io/tls Secret, and cert-manager automates ACME issuance/renewal, so both are correct. Embedding a private key in annotations exposes it in plaintext and is wrong. Relying on a self-signed LB cert provides no trust and is incorrect. Storing a CA private key in a ConfigMap leaks it because ConfigMaps are not secret storage, so that option is wrong.
A new self-managed cluster will run on general-purpose Linux nodes. To reduce the host attack surface before joining nodes, which combination best reflects node hardening guidance from the CKS curriculum?
Correct: A. Minimizing services/modules, enforcing mandatory access control, auditing, and patching are the canonical node-hardening steps, so the first option is correct. Installing every package enlarges the attack surface and is wrong. Passwordless sudo for all users destroys least privilege and is incorrect. Opening all ports to the internet is the opposite of hardening, so it is wrong.
A namespace team's deployment pipeline was bound to a ClusterRole granting verbs * on resources * cluster-wide. Applying least-privilege RBAC, what is the most appropriate remediation?
Correct: A. Least privilege means scoping permissions to the exact verbs/resources in one namespace via a Role + RoleBinding, so the first option is correct. Binding to cluster-admin grants full control and is the opposite of least privilege. Adding to system:masters bypasses RBAC and is dangerous, so it is wrong. Renaming the ClusterRole hides the issue without reducing privilege, which is incorrect.
Last updated:
Yes. You can start, finish and score it for free, and download the Techclick practice certificate.
This bank has 120 original scenario-based questions with a 180-minute timer and a 70% Techclick practice target.
The official exam code is CKS (Linux Foundation / CNCF).
No. They are original practice questions written by Techclick. This is not the vendor's official exam and not leaked dumps.
Score 70% or higher to get a Techclick practice certificate and LinkedIn badge. It is not an official Linux Foundation / CNCF certification.
Use the Kubernetes (CNCF) practice exams page (linked above) to pick the next practice test in the same track.

You earned it — let the world know!
