CK.I · CKAD practice question
A Pod must mount a ConfigMap named feature-flags so each key in the ConfigMap appears as a separate file under /etc/config, and the container must NOT fail to start if feature-flags is temporarily absent. Which field enables that behavior?
Check answer and explanation
Correct answer: configMap.optional: true
Explanation
Setting optional: true on a ConfigMap (or Secret) volume or env reference allows the Pod to start even if the referenced object does not exist yet.
Common trap
Setting optional: true on a ConfigMap (or Secret) volume or env reference allows the Pod to start even if the referenced object does not exist yet.
Source: Original unofficial practice; not an official CKAD exam item
Checked against the cited text on 2026-11-30.