Courseiva
StoragehardMultiple ChoiceObjective-mapped

CKA Storage Practice Question

A cluster administrator is configuring a Pod to use a PersistentVolumeClaim (PVC) that is dynamically provisioned using a StorageClass with volumeBindingMode: WaitForFirstConsumer. The PVC is created before the Pod. When the Pod is created, which node will the PV be provisioned on?

⚠ Common exam trap

It's easy for candidates to assume PV provisioning happens immediately when the PVC is created, or that it is tied to a specific node defined in the StorageClass, rather than understanding that WaitForFirstConsumer delays provisioning until Pod scheduling and ties it to the Pod's node.

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 node where the Pod is scheduled.

When a StorageClass uses volumeBindingMode: WaitForFirstConsumer, the PersistentVolume (PV) is not provisioned until a Pod that uses the PersistentVolumeClaim (PVC) is scheduled. The PV is then provisioned on the exact node where the Pod is scheduled, ensuring that the volume is created in the same zone or topology as the Pod. This avoids unnecessary cross-zone data transfer and ensures the PV is available locally to the Pod's node.

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 PV is provisioned immediately on the node specified in the StorageClass's allowedTopologies.

    Why it's wrong here

    This statement is incorrect because the WaitForFirstConsumer volume binding mode explicitly defers the provisioning of the PersistentVolume until a Pod requiring the PersistentVolumeClaim is scheduled to a node. While allowedTopologies can restrict where a PV could be provisioned, it does not trigger immediate provisioning. Instead, the scheduler's decision for the Pod dictates the actual provisioning location and timing, making "immediately" and "specified node" (without a scheduled pod) inaccurate.

  • The node where the Pod is scheduled.

    Why this is correct

    This option is correct. When a StorageClass uses the WaitForFirstConsumer volume binding mode, the Kubernetes scheduler plays a crucial role. It first finds a suitable node for the Pod, considering all its requirements, including the PVC. Once the Pod is scheduled to a specific node, the PersistentVolume is then dynamically provisioned on that very node, ensuring optimal data locality and performance for the Pod.

  • Any node in the cluster that has sufficient resources for the PV.

    Why it's wrong here

    This statement is incorrect. While a node must certainly have sufficient resources for the PersistentVolume, the WaitForFirstConsumer binding mode does not allow provisioning on any arbitrary node. Instead, the provisioning is tightly coupled with the Pod's scheduling decision. The PV is specifically provisioned on the particular node where the Pod requesting the PVC has been successfully scheduled, not just any node with capacity.

  • The control plane node.

    Why it's wrong here

    This option is incorrect. Control plane nodes (e.g., master nodes) are primarily responsible for managing the Kubernetes cluster and running core components like the API server, scheduler, and controller manager. They are typically tainted to prevent application Pods from being scheduled on them. Therefore, PersistentVolumes for application workloads are almost never provisioned on control plane nodes, regardless of the volume binding mode.

About these practice questions

Courseiva writes every CKA question from scratch — 302 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 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.