Bird
0
0

Given this pod spec snippet, what type of storage is being used?

medium📝 Command Output Q13 of 15
Kubernetes - Persistent Storage
Given this pod spec snippet, what type of storage is being used?
volumes:
  - name: temp-storage
    emptyDir: {}
APersistent Volume storage
BHostPath volume storage
CTemporary Volume storage tied to pod lifecycle
DPersistent Volume Claim storage
Step-by-Step Solution
Solution:
  1. Step 1: Identify volume type from spec

    The volume uses emptyDir, which is a temporary directory created when the pod starts.
  2. Step 2: Understand emptyDir lifecycle

    emptyDir storage is deleted when the pod is removed, so it is temporary and tied to pod lifecycle.
  3. Final Answer:

    Temporary Volume storage tied to pod lifecycle -> Option C
  4. Quick Check:

    emptyDir = temporary pod storage [OK]
Quick Trick: emptyDir means temporary storage deleted with pod [OK]
Common Mistakes:
  • Assuming emptyDir is persistent storage
  • Confusing emptyDir with hostPath
  • Thinking emptyDir uses Persistent Volume Claims

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes