Courseiva
Cloud Native Application DeliverymediumMultiple ChoiceObjective-mapped

KCNA Cloud Native Application Delivery Practice Question

A user reports that a ConfigMap update is not reflected in running pods. Which action should be taken to ensure pods receive the updated configuration?

⚠ Common exam trap

Candidates often assume Kubernetes automatically propagates ConfigMap changes to running pods, but in reality, pods are immutable after creation and require a restart to pick up new 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

Perform a rollout restart of the deployment

A is correct because ConfigMaps are mounted into pods as volumes or consumed via environment variables at pod creation time. Kubernetes does not automatically propagate ConfigMap updates to running pods; the only way to pick up the new configuration is to restart the pods. A rollout restart of the deployment (e.g., `kubectl rollout restart deployment`) triggers a new ReplicaSet, which creates fresh pods that read the updated ConfigMap.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Perform a rollout restart of the deployment

    Why this is correct

    Triggers new pods with updated ConfigMap values.

  • Delete and recreate the ConfigMap

    Why it's wrong here

    Does not trigger pod restart; pods still use old mount.

  • Edit the deployment and change a label

    Why it's wrong here

    Does not cause pods to re-read ConfigMap unless it triggers a rollout.

  • Restart the kubelet on the nodes

    Why it's wrong here

    Unnecessary; kubelet restart does not refresh pod envs/mounts.

About these practice questions

Courseiva writes every KCNA question from scratch — 833 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

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.