Courseiva
Application Deployment →mediumMultiple Choice

CKAD Application Deployment Practice Question

What is the effect of running 'kubectl rollout pause deployment web'?

⚠ Common exam trap

Many candidates confuse 'pausing a rollout' with 'stopping Pods' or 'preventing scaling', but the command only suspends the deployment controller's automatic rollout logic, not the Pod lifecycle or manual scaling operations.

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

✓

It marks the deployment as paused, and no changes are applied until 'kubectl rollout resume' is run.

Running 'kubectl rollout pause deployment web' marks the deployment as paused, which means that any subsequent changes to the deployment's spec (e.g., updating the container image) will not trigger a rollout or create new ReplicaSets. The current state of the Pods remains unchanged until 'kubectl rollout resume' is executed, which resumes the rollout and applies any pending changes. This is a Kubernetes-native mechanism to control the timing of rollouts, often used for canary deployments or manual verification.

Answer analysis

Option-by-option breakdown

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

  • ✓

    It marks the deployment as paused, and no changes are applied until 'kubectl rollout resume' is run.

    Why this is correct

    Executing 'kubectl rollout pause deployment' sets the deployment's .spec.paused field to true. This causes the deployment controller to stop reconciling the desired state from the deployment specification, meaning any template, image, or label changes are not propagated to the existing ReplicaSet. The current ReplicaSet and its Pods remain untouched, and the rollout is effectively frozen until 'kubectl rollout resume deployment' sets paused back to false, at which point the controller resumes applying changes.

  • ✗

    It stops all Pods in the deployment.

    Why it's wrong here

    Pausing a deployment does not terminate, delete, or otherwise affect the running Pods managed by the deployment's ReplicaSets. The pause operation only halts the rollout process—the deployment controller stops creating or updating ReplicaSets in response to spec changes. Existing Pods continue to run normally, and the deployment logic that would cause them to be replaced or removed remains suspended until the deployment is resumed.

  • ✗

    It deletes the deployment and recreates it.

    Why it's wrong here

    'kubectl rollout pause' is not a destructive operation; it merely flips the paused flag in the deployment metadata. The Deployment object itself is not deleted or recreated, and the controller continues to exist and maintain the current ReplicaSets. Any attempt to delete and recreate would be performed by 'kubectl delete deployment' followed by 'kubectl create deployment' or an equivalent, which is entirely separate from rollout commands.

  • ✗

    It prevents new Pods from being created.

    Why it's wrong here

    Pausing a deployment does not prevent the creation of new Pods in all cases. If you scale the deployment with 'kubectl scale' while it is paused, the ReplicaSet controller will still create new Pods to reach the desired replica count. What pause actually does is prevent the deployment controller from creating a new ReplicaSet or updating existing ones in response to template changes; it does not block the ReplicaSet's own reconciliation loop that satisfies the current desired replicas.

About these practice questions

Courseiva writes every CKAD question from scratch — 826 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 CKAD 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 CKAD exam.