Bird
0
0

If a PersistentVolumeClaim requests storage with a StorageClass that has volumeBindingMode: WaitForFirstConsumer, when will the volume be provisioned?

medium📝 Command Output Q5 of 15
Kubernetes - Persistent Storage
If a PersistentVolumeClaim requests storage with a StorageClass that has volumeBindingMode: WaitForFirstConsumer, when will the volume be provisioned?
AImmediately when PVC is created
BOnly after a pod using the PVC is scheduled
CWhen the StorageClass is created
DAfter the pod is deleted
Step-by-Step Solution
Solution:
  1. Step 1: Understand volumeBindingMode values

    'WaitForFirstConsumer' delays volume provisioning until pod scheduling.
  2. Step 2: Identify provisioning trigger

    Volume is provisioned only after a pod that uses the PVC is assigned to a node.
  3. Final Answer:

    Only after a pod using the PVC is scheduled -> Option B
  4. Quick Check:

    volumeBindingMode WaitForFirstConsumer = delayed provisioning [OK]
Quick Trick: WaitForFirstConsumer delays volume until pod scheduling [OK]
Common Mistakes:
  • Thinking volume is created immediately
  • Confusing with Immediate binding mode
  • Assuming provisioning happens on StorageClass creation

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes