
Certified Kubernetes Administrator (CKA)
Domain 3Objective 2
Use ConfigMaps and Secrets to Configure Applications CKA Practice Questions (Page 6)
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 26–30
- 26
A Secret is mounted as a volume in a pod. The Secret is immutable. The team needs to rotate the credentials. What is the correct approach?
Select an answer first - 27
A pod needs to consume a ConfigMap as environment variables. The ConfigMap has keys with dashes (e.g., 'db-host'). The application expects an environment variable DB_HOST. How can you map the key to a different environment variable name?
Select an answer first - 28
A Secret named 'app-secret' has a key 'password' that is base64 encoded. The pod must receive the decoded value as an environment variable. Which configuration achieves this?
Select an answer first - 29
A cluster has a private registry that requires authentication. The administrator creates a Secret of type docker-registry. However, the image pull still fails. What is the most likely cause?
Select an answer first - 30
An application requires a database password that is stored in a Secret named 'db-secret' under the key 'password'. The security team mandates that the Secret cannot be modified after creation. The application pod must receive the password as an environment variable DB_PASSWORD. Which configuration satisfies both requirements?
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.