CKA Storage Practice Question
A StorageClass named 'fast-ssd' uses the provisioner 'kubernetes.io/gce-pd' and has volumeBindingMode: WaitForFirstConsumer. A PVC 'my-pvc' requests 100Gi storage from this StorageClass. A pod using the PVC is scheduled to a node in zone 'us-central1-a'. When is the PV provisioned?
⚠ Common exam trap
Candidates often confuse 'when the pod starts running' with 'when the pod is scheduled', but the PV provisioning is triggered by the scheduling decision, not by the container runtime starting the pod.
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
✓
When the pod is scheduled to a node
The StorageClass 'fast-ssd' has volumeBindingMode set to WaitForFirstConsumer. This mode delays volume binding and provisioning until a pod using the PVC is scheduled to a node. When the pod is scheduled to a node in zone 'us-central1-a', the scheduler triggers the provisioning of a PV in that specific zone, ensuring the volume is created in the same zone as the pod.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
When the pod is scheduled to a node
Why this is correct
With volumeBindingMode: WaitForFirstConsumer, a PVC remains unbound and unprovisioned until the Kubernetes scheduler selects a node for a pod that references the PVC. At that scheduling moment, the scheduler evaluates the pod's storage topology requirements (such as zone or region) as a hard constraint, and only then does the storage backend dynamically provision the PV and bind it to the PVC. This is why the correct answer is 'when the pod is scheduled to a node,' not any earlier or later point in the pod lifecycle.
- ✗
Immediately when the PVC is created
Why it's wrong here
Immediate binding, the default volumeBindingMode, provisions and binds the PV as soon as the PVC object is created, independent of any pod. Choosing WaitForFirstConsumer deliberately overrides that behavior, so saying 'immediately when the PVC is created' describes Immediate mode, not the mode in the question. The creation of the PVC alone triggers no storage provisioning when WaitForFirstConsumer is configured.
- ✗
When the pod starts running
Why it's wrong here
The pod's transition to Running happens only after container creation and startup, which occur after the node has been assigned and storage has already been provisioned. WaitForFirstConsumer performs binding at pod scheduling time, not at runtime; the kubelet starts containers only after the PVC is bound and the volume is attached. Thus, by the time the pod is running, the PV already exists, making 'when the pod starts running' an incorrect and chronologically late answer.
- ✗
The PV is never provisioned automatically; it must be pre-created
Why it's wrong here
This incorrectly describes static provisioning, where an administrator pre-creates PVs for later binding. StorageClass objects represent dynamic provisioning, and WaitForFirstConsumer is a dynamic binding mode, so the provisioner automatically creates and attaches the PV at the appropriate moment. No manual PV pre-creation is required; the whole point of WaitForFirstConsumer is to defer that automatic creation until a pod's scheduling identifies the correct topology.
Go deeper
Related to this question
Learn chapter
Kubernetes Architecture Overview
Key term
Persistent Volumes
A Persistent Volume is a piece of storage in a Kubernetes cluster that has been provisioned by an administrator and exists independently of any single pod that uses it.
Key term
Ingress Resources
Ingress Resources are Kubernetes API objects that manage external access to services inside a cluster, typically HTTP and HTTPS traffic, by defining rules for routing requests based on hostnames and paths.
About these practice questions
This CKA question is part of Courseiva's 302-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
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.