Bird
0
0

A Kubernetes cluster admin wants to prevent accidental data loss by ensuring PersistentVolumes are never deleted automatically. Which reclaim policy and additional step should the admin enforce?

hard📝 Application Q9 of 15
Kubernetes - Persistent Storage
A Kubernetes cluster admin wants to prevent accidental data loss by ensuring PersistentVolumes are never deleted automatically. Which reclaim policy and additional step should the admin enforce?
ASet reclaimPolicy to Retain and configure RBAC to restrict volume deletion.
BSet reclaimPolicy to Delete and enable automatic backups.
CSet reclaimPolicy to Retain and allow all users to delete volumes.
DSet reclaimPolicy to Delete and disable PersistentVolumeClaims.
Step-by-Step Solution
Solution:
  1. Step 1: Choose reclaim policy to prevent automatic deletion

    Retain policy keeps volumes and data after claim deletion.
  2. Step 2: Add RBAC restrictions to prevent manual deletion

    Restricting permissions avoids accidental volume deletion by users.
  3. Final Answer:

    Set reclaimPolicy to Retain and configure RBAC to restrict volume deletion. -> Option A
  4. Quick Check:

    Retain + RBAC restrict = prevent accidental data loss [OK]
Quick Trick: Use Retain and RBAC to protect volumes from deletion [OK]
Common Mistakes:
  • Using Delete policy which allows auto deletion
  • Not restricting user permissions
  • Disabling PVCs unnecessarily

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes