EX280 Storage And Persistent Volumes Practice Question
A developer wants to ensure that a pod's temporary storage does not exceed 2Gi and that the pod is terminated or throttled if it exceeds this limit. Where should this ephemeral storage limit be declared?
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
✓
In the container's spec.resources.limits under 'ephemeral-storage'.
Ephemeral storage limits and requests are declared in the container's 'resources.limits' and 'resources.requests' definitions within the Pod specification.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
In the container's spec.resources.limits under 'ephemeral-storage'.
Why this is correct
ephemeral-storage is a standard resource type alongside CPU and memory in container resource specs.
- ✗
In the emptyDir volume specification under 'sizeLimit'.
Why it's wrong here
While emptyDir has sizeLimit, general container ephemeral storage (scratch space including logs and rootfs) is managed via container resource limits. Wait, emptyDir sizeLimit specifically limits the emptyDir volume, but container ephemeral storage includes rootfs. Both exist, but container resource limits govern overall ephemeral storage.
- ✗
In the StorageClass under 'parameters.ephemeralLimit'.
Why it's wrong here
StorageClass does not configure container ephemeral resource limits.
- ✗
In the persistentVolumeClaim under 'spec.ephemeral'.
Why it's wrong here
This path is invalid.
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 →
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.