
Certified Kubernetes Security Specialist (CKS)
Domain 2Objective 1
Minimize Base Image Footprint 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 27 practice questions to prepare you well beyond it. (estimate)
27questions here
6free pages
8concepts
20%of the exam
Questions 6–10
- 6
Which base image characteristic is most important for reducing the attack surface of a container image?
Select an answer first - 7
What is the main benefit of pinning a base image to a specific digest (e.g., ubuntu@sha256:...)?
Select an answer first - 8
You are reviewing a Dockerfile for a Python web application. The current image is based on 'python:3.9-slim' and includes a RUN step that installs 'curl', 'vim', and 'git' for debugging purposes. You need to reduce the attack surface and image size. What is the most effective change?
Select an answer first - 9
Your team maintains a set of base images for internal microservices. A recent CVE scan revealed that the current base image has a known vulnerability in a library that is not used by any of your services. You need to establish a process to keep the base images secure without breaking existing services. What is the most appropriate approach?
Select an answer first - 10
A developer is creating a Dockerfile for a Python application. To minimize the runtime footprint, which dependencies should be included in the final image?
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.