
Certified Kubernetes Security Specialist (CKS)
Domain 2Objective 4
Perform Static Analysis of User Workloads and Container Images (e.g. Kubesec, KubeLinter) CKS Practice Questions (Page 2)
Part of the Minimize Microservice Vulnerabilities domain, which accounts for 20% of the CKS exam. Linux Foundation does not publish an official question count, but from its 120-minute exam (~50–80 total, ~10–16 in this domain), expect 3–4 from this objective — we provide 22 practice questions to prepare you well beyond it. (estimate)
22questions here
5free pages
6concepts
20%of the exam
Questions 6–10
- 6
A team uses KubeLinter in a CI pipeline to lint all Kubernetes YAML files. Recently, a new Deployment was committed that uses `privileged: true` and mounts the host filesystem. The pipeline passed because the team had disabled the `privileged` check globally to reduce noise. Which KubeLinter configuration change would best address this gap while minimizing false positives?
Select an answer first - 7
A security engineer runs Kubesec on a Deployment manifest and receives a score of 2. The manifest includes `securityContext.capabilities.drop: ['ALL']` and `securityContext.runAsNonRoot: true`. The engineer wants to improve the score further. Which change is most likely to increase the Kubesec score?
Select an answer first - 8
Which of the following is a common static analysis technique used to detect vulnerabilities in container images?
Select an answer first - 9
A security team wants to scan container images for vulnerabilities before they are pushed to a production registry. They use a CI pipeline that builds images and pushes them to a private registry. Which approach provides the earliest feedback while ensuring the image is not exposed in the registry if it has critical vulnerabilities?
Select an answer first - 10
What is the primary purpose of performing static analysis on Kubernetes workload manifests and container images?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by Linux Foundation. “CKS” is a trademark of its owner, used for identification only.