Courseiva
Kubernetes FundamentalshardMultiple ChoiceObjective-mapped

KCNA Kubernetes Fundamentals Practice Question

You create a Deployment with replicas: 3. You then scale the Deployment to 5 replicas. What is the order of operations that the Deployment controller follows?

⚠ Common exam trap

Test-takers frequently confuse scaling with a rolling update, assuming a new ReplicaSet is created, when in fact scaling only modifies the existing ReplicaSet's replica count without changing the pod template.

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 updates the existing ReplicaSet's replica count to 5, and the ReplicaSet creates the new pods

When you scale a Deployment, the Deployment controller updates the replica count on the existing ReplicaSet that matches the pod template. The ReplicaSet controller then observes the desired count and creates the additional pods to reach the new target. This ensures that the Deployment's rollout history and rollback capabilities remain intact.

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 creates a new ReplicaSet with 5 replicas and deletes the old one

    Why it's wrong here

    That would be a rolling update, not a scale up.

  • It directly creates 2 new pods without using a ReplicaSet

    Why it's wrong here

    Pods are always managed by a ReplicaSet in a Deployment.

  • It updates the existing ReplicaSet's replica count to 5, and the ReplicaSet creates the new pods

    Why this is correct

    The Deployment controller updates the ReplicaSet's .spec.replicas, and the ReplicaSet controller creates the pods.

  • It creates 2 new pods immediately without modifying the existing ReplicaSet

    Why it's wrong here

    The Deployment updates the ReplicaSet's replica count.

About these practice questions

One of 833 original KCNA 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 →

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.