Question 407 of 1,005
Workloads and SchedulinghardMultiple ChoiceObjective-mapped

CKA Workloads and Scheduling Practice Question

This CKA practice question tests your understanding of workloads and scheduling. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A StatefulSet named 'mysql' manages 3 replicas. You need to scale it down to 1 replica. What happens to the PersistentVolumeClaims (PVCs) of the removed pods?

Question 1hardmultiple choice
Full question →

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

The PVCs are retained to preserve data.

When a StatefulSet is scaled down, the PersistentVolumeClaims (PVCs) associated with the removed pods are retained by default. This is because StatefulSets are designed for stateful workloads where data persistence is critical; the PVCs remain to preserve data in case the pod is recreated or the StatefulSet is scaled up again. Kubernetes does not automatically delete PVCs when a StatefulSet pod is removed, as PVC lifecycle is independent of pod lifecycle.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

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

  • The PVCs are retained to preserve data.

    Why this is correct

    StatefulSet does not delete PVCs when scaling down, to protect data.

    Related concept

    Read the scenario before looking for a memorised answer.

  • The PVCs are automatically backed up before deletion.

    Why it's wrong here

    No automatic backup occurs; PVCs are simply retained.

  • The PVCs are retained only if the pod with the highest ordinal is removed first.

    Why it's wrong here

    StatefulSet always removes the highest ordinal pod first, but PVCs are retained regardless.

  • The PVCs are automatically deleted along with the pods.

    Why it's wrong here

    PVCs are not automatically deleted; they are retained to prevent data loss.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often confuse StatefulSet PVC behavior with that of Deployments or Jobs, where pods and their volumes are ephemeral, leading them to incorrectly assume PVCs are automatically deleted on scale-down.

Detailed technical explanation

How to think about this question

StatefulSet uses ordinal indices (e.g., mysql-0, mysql-1, mysql-2) and each pod is bound to a unique PVC via a VolumeClaimTemplate. When scaling down, Kubernetes removes pods starting from the highest ordinal (e.g., mysql-2 first), but the PVCs remain in the namespace with their associated PersistentVolume (PV) still bound, preserving data. This behavior is controlled by the StatefulSet's podManagementPolicy (OrderedReady by default) and the PVC's reclaim policy; if the StorageClass has reclaimPolicy: Delete, the PV and underlying storage would be deleted only if the PVC is deleted manually, not automatically on scale-down.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A practitioner preparing for the CKA exam encounters this exact type of scenario on the job. The correct answer here is not the most general option — it is the best answer for the specific constraint described. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Real exam questions reward reading the full scenario before eliminating options, because the constraint defines which answer fits.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related CKA practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free CKA practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this CKA question test?

Workloads and Scheduling — This question tests Workloads and Scheduling — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: The PVCs are retained to preserve data. — When a StatefulSet is scaled down, the PersistentVolumeClaims (PVCs) associated with the removed pods are retained by default. This is because StatefulSets are designed for stateful workloads where data persistence is critical; the PVCs remain to preserve data in case the pod is recreated or the StatefulSet is scaled up again. Kubernetes does not automatically delete PVCs when a StatefulSet pod is removed, as PVC lifecycle is independent of pod lifecycle.

What should I do if I get this CKA question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Keep practising

More CKA practice questions

Last reviewed: Jun 24, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This CKA 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 CKA exam.