Bird
0
0

What happens to a PersistentVolume when its reclaim policy is set to Delete and the associated PersistentVolumeClaim is deleted?

easy📝 Conceptual Q1 of 15
Kubernetes - Persistent Storage
What happens to a PersistentVolume when its reclaim policy is set to Delete and the associated PersistentVolumeClaim is deleted?
AThe PersistentVolume remains and data is preserved.
BThe PersistentVolume is retained but data is deleted.
CThe PersistentVolume is unbound but not deleted.
DThe PersistentVolume is deleted along with its data.
Step-by-Step Solution
Solution:
  1. Step 1: Understand the Delete reclaim policy behavior

    The Delete policy means the volume and its data are removed when the claim is deleted.
  2. Step 2: Apply this to the PersistentVolume lifecycle

    When the PersistentVolumeClaim is deleted, the PersistentVolume is also deleted along with the stored data.
  3. Final Answer:

    The PersistentVolume is deleted along with its data. -> Option D
  4. Quick Check:

    Delete policy = Volume and data deleted [OK]
Quick Trick: Delete policy removes volume and data on claim deletion [OK]
Common Mistakes:
  • Confusing Retain with Delete policy
  • Thinking volume is kept after claim deletion
  • Assuming data is preserved with Delete policy

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes