
Certified Kubernetes Administrator (CKA)
Domain 3Objective 2
Use ConfigMaps and Secrets to Configure Applications CKA Practice Questions (Page 5)
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 21–25
- 21
A pod needs to consume a ConfigMap named 'app-config' with keys 'DB_HOST' and 'DB_PORT' as environment variables. Additionally, the container command needs to use the DB_HOST value. Which pod spec correctly injects these and uses DB_HOST in the command?
Select an answer first - 22
A pod needs to consume a Secret named 'api-secret' with key 'token' as an environment variable API_TOKEN. The Secret is immutable. Which pod spec correctly injects the value?
Select an answer first - 23
A deployment is failing to pull an image from a private registry. The administrator has created a Secret of type docker-registry named 'regcred'. What is the most likely missing configuration in the deployment?
Select an answer first - 24
A ConfigMap named 'app-config' is used by multiple deployments. The team wants to prevent accidental changes. They set immutable: true. Later, they need to update a configuration value. What is the correct procedure?
Select an answer first - 25
A ConfigMap is mounted as a volume in a pod. The ConfigMap is not immutable. The team updates the ConfigMap. They expect the mounted file to update automatically. However, the file does not update. What is the most likely cause?
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.