
Certified Kubernetes Administrator (CKA)
Domain 3Objective 2
Use ConfigMaps and Secrets to Configure Applications CKA Practice Questions (Page 4)
Part of the Workloads and Scheduling domain, which accounts for 15% of the CKA exam. Linux Foundation does not publish an official question count, but from its 120-minute exam (~50–80 total, ~8–12 in this domain), expect 2–2 from this objective — we provide 38 practice questions to prepare you well beyond it. (estimate)
38questions here
8free pages
9concepts
15%of the exam
Questions 16–20
- 16
Which field is used to inject a specific key from a Secret as an environment variable in a Pod?
Select an answer first - 17
Which YAML snippet correctly injects the value of the 'password' key from a Secret named 'db-secret' into the environment variable 'DB_PASSWORD'?
Select an answer first - 18
When a ConfigMap is mounted as a volume in a Pod, what happens when the ConfigMap is updated?
Select an answer first - 19
A team is deploying a web application that needs a database connection string and a cache endpoint. The values are not sensitive and are stored in a ConfigMap named 'app-config'. The application container expects these values as environment variables DB_URL and CACHE_URL. Additionally, the container command needs to reference the cache endpoint as a command-line argument. Which approach correctly injects the ConfigMap data as environment variables and as a command-line argument?
Select an answer first - 20
A Secret named 'db-creds' is mounted as a volume. The application expects the file 'password' to have permissions 0600. The Secret is immutable. Which configuration ensures the correct permissions?
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. “CKA” is a trademark of its owner, used for identification only.