Courseiva
Storage And Persistent VolumeshardMultiple ChoiceObjective-mapped

EX280 Storage And Persistent Volumes Practice Question

A developer deploys a pod with an emptyDir volume. The application running inside writes temporary files. What happens to these files when the container crashes and restarts within the same pod?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

The files are preserved because emptyDir lifetime is tied to the pod, not individual containers.

An emptyDir volume survives container crashes and restarts; it is only deleted when the pod itself is removed from the node.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • The files are backed up to the cluster control plane automatically.

    Why it's wrong here

    emptyDir is local scratch storage and is never backed up to the control plane.

  • The files are preserved because emptyDir lifetime is tied to the pod, not individual containers.

    Why this is correct

    Container restarts do not clear emptyDir storage; only pod termination does.

  • The files are deleted immediately because the container filesystem is ephemeral.

    Why it's wrong here

    While the container's root filesystem is ephemeral and reset on restart, an emptyDir volume mounted into the container persists across container restarts within the same pod.

  • The volume is unmounted and reattached via the CSI driver.

    Why it's wrong here

    emptyDir uses local node storage (either disk or tmpfs) and does not involve CSI volume attachment workflows.

About these practice questions

This EX280 question is part of Courseiva's 509-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed August 2026 · checked against the official Red Hat exam blueprint

This EX280 practice question is part of Courseiva's free Red Hat certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the EX280 exam.