
Certified Kubernetes Security Specialist (CKS)
Domain 6Objective 4
Ensure Immutability of Containers at Runtime CKS Practice Questions (Page 4)
Part of the Monitoring, Logging and Runtime Security 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 2–3 from this objective — we provide 20 practice questions to prepare you well beyond it. (estimate)
20questions here
4free pages
5concepts
20%of the exam
Questions 16–20
- 16
A pod is running with readOnlyRootFilesystem: true, but an administrator suspects that a process inside the container is still able to write to the root filesystem. What is the most likely reason?
Select an answer first - 17
Which kubectl command can be used to verify that a running container has readOnlyRootFilesystem set to true?
Select an answer first - 18
A pod spec currently has no securityContext. You need to enforce a read-only root filesystem for a single container in the pod. Which YAML snippet should you add?
Select an answer first - 19
Besides inspecting the pod's YAML, which method can verify that a container's root filesystem is actually read-only at runtime?
Select an answer first - 20
A security team is enforcing immutability for all containers. However, a legacy application writes configuration files to /etc/app on startup. The team cannot modify the application. What is the best approach to maintain immutability while allowing the application to run?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
No more pagesBack to CKS
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.