Study. uk . com
  1. Home
  2. All questions
  3. Question 818

CKA study material · question 818 of 1000

A Pod uses an emptyDir volume. Which two events preserve its contents? Choose two.

  1. A container in the Pod crashing and restarting
  2. The Pod being deleted and recreated
  3. A container being restarted by a failed liveness probe
  4. The Pod being evicted from the node
Show the answer

Answer: A. A container in the Pod crashing and restarting
C. A container being restarted by a failed liveness probe

An emptyDir survives container restarts because the Pod has not left the node; it is destroyed when the Pod itself is removed, whether by deletion or eviction.

Source: Volumes (Kubernetes) — Types of volumes › emptyDir

Challenge yourself on this topic → Study as cards