mediumMultiple SelectObjective-mapped
200-901 Practice Question: Which THREE are valid ways to expose ConfigMap…
Which THREE are valid ways to expose ConfigMap data to a pod in Kubernetes?
⚠ Common exam trap
Cisco often tests the distinction between ConfigMaps and Secrets, and the trap here is that candidates may confuse the purpose of Secrets (sensitive data) with ConfigMaps (non-sensitive data), or incorrectly assume that container image labels can be dynamically injected from runtime objects.
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
✓
As environment variables
Kubernetes allows ConfigMap data to be exposed as environment variables inside a pod using the `env` or `envFrom` field in the pod spec. This is a common method for injecting configuration into containers without modifying the container image.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
As a Kubernetes Secret
Why it's wrong here
Secrets are a separate resource for sensitive data, not for ConfigMap.
- ✓
As environment variables
Why this is correct
You can use envFrom or valueFrom to expose as env vars.
- ✗
As a container image label
Why it's wrong here
Labels are metadata, not for runtime configuration.
- ✓
As a volume mounted file
Why this is correct
ConfigMap can be mounted as a volume to make files available.
- ✓
As a command-line argument
Why this is correct
You can use $(VAR_NAME) syntax in command args if env vars are set from ConfigMap.
Go deeper
Related to this question
About these practice questions
One of 989 original 200-901 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This 200-901 practice question is part of Courseiva's free Cisco 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 200-901 exam.