KCNA Kubernetes Fundamentals Practice Question
Which Kubernetes object is used to store non-sensitive configuration data that can be consumed by pods?
⚠ Common exam trap
The CNCF exam often tests the distinction between ConfigMap and Secret by presenting a scenario with 'configuration data' and expecting candidates to recognize that Secret is only for sensitive data, while ConfigMap is the correct choice for non-sensitive configuration.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
ConfigMap
ConfigMap is the correct Kubernetes object for storing non-sensitive configuration data, such as environment variables, command-line arguments, or configuration files, that can be consumed by pods. Unlike Secrets, ConfigMaps store data as plain text with no encoding or encryption, and are designed for configuration that does not require confidentiality.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Secret
Why it's wrong here
Secrets are for sensitive data.
- ✗
Annotation
Why it's wrong here
Annotations are metadata, not for configuration data.
- ✗
Volume
Why it's wrong here
Volumes are storage abstractions, not configuration objects.
- ✓
ConfigMap
Why this is correct
ConfigMap stores non-sensitive configuration as key-value pairs, decoupling settings from pod images. It satisfies the stem's constraint of non-sensitive data, unlike Secret, which handles sensitive values such as credentials. Pods consume ConfigMaps via environment variables, command-line arguments, or mounted volumes, enabling configuration changes without rebuilding images.
Go deeper
Related to this question
About these practice questions
This KCNA question is part of Courseiva's 930-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This KCNA practice question is part of Courseiva's free CNCF certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the KCNA exam.