Kubernetes Cloud Native Associate (KCNA) Certification 1 Practice Test

Access More Questions
In Kubernetes, which is an example of ephemeral storage?
Correct Answer:
EmptyDir
Explanation:
Ephemeral storage is storage that exists for the lifetime of a Pod and is not preserved after the Pod is removed. EmptyDir fits this role perfectly: it is created on the node when the Pod is assigned there and vanishes when the Pod is deleted or recreated, providing a scratch space that doesn’t persist beyond the Pod’s life. PersistentVolume and PersistentVolumeClaim are designed for durable storage that remains available beyond the life of any single Pod, so they are not ephemeral. HostPath uses a directory on the node’s filesystem and is tied to the node; while it can be affected by node lifecycle, it isn’t the standard ephemeral scratch storage intended for Pod lifetimes, so it’s not the canonical example of ephemeral storage.

Access more questions from this quiz

Continue to Kubernetes Cloud Native Associate (KCNA) Certification 1 Practice Test for more practice questions and the full quiz experience.

Access More Questions