Bird
0
0

You want to ensure data stored by a pod remains after the pod is deleted. Which Kubernetes feature should you use?

hard📝 Application Q8 of 15
Kubernetes - Persistent Storage
You want to ensure data stored by a pod remains after the pod is deleted. Which Kubernetes feature should you use?
APod ephemeral storage
BConfigMap
CPersistentVolume and PersistentVolumeClaim
DInit containers
Step-by-Step Solution
Solution:
  1. Step 1: Identify storage options for data persistence

    PersistentVolume and PersistentVolumeClaim provide storage that outlives pods.
  2. Step 2: Exclude other options

    ConfigMaps store config data, ephemeral storage is temporary, init containers run setup tasks.
  3. Final Answer:

    PersistentVolume and PersistentVolumeClaim -> Option C
  4. Quick Check:

    Data persistence after pod deletion = Use PV and PVC [OK]
Quick Trick: Use PV and PVC to keep data beyond pod life [OK]
Common Mistakes:
  • Confusing ConfigMap with persistent storage
  • Thinking ephemeral storage keeps data
  • Using init containers for storage

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes