KCNA · Question #91
What is ephemeral storage?
The correct answer is A. Storage space that need not persist across restarts. Ephemeral storage refers to temporary storage that does not guarantee data persistence beyond the lifetime of the entity using it, such as a container or Pod.
Question
What is ephemeral storage?
Options
- AStorage space that need not persist across restarts.
- BStorage that may grow dynamically.
- CStorage used by multiple consumers (e.g. multiple Pods).
- DStorage that is always provisioned locally
How the community answered
(60 responses)- A90% (54)
- B5% (3)
- C3% (2)
- D2% (1)
Why each option
Ephemeral storage refers to temporary storage that does not guarantee data persistence beyond the lifetime of the entity using it, such as a container or Pod.
Ephemeral storage is characterized by its impermanence; data stored ephemerally is typically lost if a container crashes, restarts, or is rescheduled to a different node. This storage is often used for temporary files, caches, or logs that do not need to survive restarts.
While some ephemeral storage might grow dynamically, its defining characteristic is not dynamic growth but rather its non-persistence.
Storage used by multiple consumers is typically persistent shared storage, which is the opposite of ephemeral.
Ephemeral storage can be local (e.g., emptyDir) or even temporary files within a container's image layer, but its defining characteristic is its transience, not strictly its local provisioning.
Concept tested: Kubernetes ephemeral storage concept
Source: https://kubernetes.io/docs/concepts/storage/ephemeral-volumes/
Topics
Community Discussion
No community discussion yet for this question.