CV0-004 Operations and Support Practice Question
A cloud engineer is responsible for a Kubernetes cluster on AWS EKS. The cluster runs a stateful application that requires persistent storage. The engineer must ensure that storage volumes are automatically provisioned when persistent volume claims are created, and that the storage remains available if the pod is rescheduled to a different node. Which solution should the engineer implement?
⚠ Common exam trap
A common mix-up: candidates confuse hostPath or emptyDir with persistent storage solutions, when they are node-local and ephemeral, respectively.
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
✓
Create a StorageClass that uses the AWS EBS CSI driver with the WaitForFirstConsumer volume binding mode, and reference it in a PersistentVolumeClaim.
The AWS EBS CSI driver with a StorageClass and WaitForFirstConsumer binding mode enables dynamic provisioning of persistent EBS volumes. It ensures the volume is created in the correct availability zone and can be reattached when the pod is rescheduled, satisfying both automatic provisioning and data persistence.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Use hostPath volumes in the pod specification to provide local storage on each node.
Why it's wrong here
hostPath volumes bind a pod to a specific node's filesystem, so if the pod is rescheduled to another node, the data is not available. This does not meet the requirement for storage availability across nodes and does not support dynamic provisioning.
- ✗
Configure a PersistentVolume manually for each pod and use node affinity to pin the pod to the node where the volume is located.
Why it's wrong here
Manually creating PersistentVolumes does not provide automatic provisioning and is not scalable. Node affinity can pin pods to nodes, but this reduces scheduling flexibility and does not automatically handle volume provisioning or rescheduling to other nodes. It also adds operational overhead.
- ✗
Use an emptyDir volume with a persistent volume claim template to provide storage that survives pod restarts.
Why it's wrong here
emptyDir volumes are ephemeral and are deleted when the pod is removed from the node. They do not provide persistent storage and cannot be backed by a PersistentVolumeClaim. This option fundamentally fails to meet the persistence requirement.
- ✓
Create a StorageClass that uses the AWS EBS CSI driver with the WaitForFirstConsumer volume binding mode, and reference it in a PersistentVolumeClaim.
Why this is correct
The AWS EBS CSI driver enables dynamic provisioning of EBS volumes. Using WaitForFirstConsumer ensures the volume is provisioned in the same availability zone as the pod, allowing the pod to attach the volume after rescheduling within the same zone. This meets both dynamic provisioning and persistence requirements.
Quick reference
AWS S3 Storage Class Comparison
| Storage Class | Min Duration | Retrieval | Use Case |
|---|---|---|---|
| S3 Standard | None | Immediate | Frequently accessed data |
| S3 Standard-IA | 30 days | Immediate | Infrequent access, rapid retrieval |
| S3 One Zone-IA | 30 days | Immediate | Non-critical infrequent data |
| S3 Intelligent-Tiering | None | Immediate–hours | Unknown or changing access patterns |
| S3 Glacier Instant | 90 days | Milliseconds | Archive with instant retrieval |
| S3 Glacier Flexible | 90 days | Minutes–hours | Archive, flexible retrieval |
| S3 Glacier Deep Archive | 180 days | Hours | Long-term compliance archive |
Go deeper
Related to this question
About these practice questions
This CV0-004 question is part of Courseiva's 834-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 September 2026 · checked against the official CompTIA exam blueprint
This CV0-004 practice question is part of Courseiva's free CompTIA 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 CV0-004 exam.