CKA Storage Practice Question
Which resource type is used to define a template for dynamically provisioning PersistentVolumes?
⚠ Common exam trap
Test-takers frequently confuse PersistentVolumeClaim (a request) with the template that defines how to fulfill that request, or think PersistentVolume itself can be used as a template, when in fact it is the result of provisioning, not the definition.
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
✓
StorageClass
StorageClass is the correct resource because it defines a 'class' of storage with a provisioner (e.g., kubernetes.io/aws-ebs) and parameters that Kubernetes uses to dynamically create PersistentVolumes when a PersistentVolumeClaim requests storage. Without a StorageClass, dynamic provisioning cannot occur, as the cluster needs a template to know which storage backend to use and how to configure it.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
PersistentVolume
Why it's wrong here
A PersistentVolume (PV) represents an actual piece of networked storage in the cluster that has been manually provisioned by an administrator or dynamically created by a storage class. It is a concrete cluster resource with a specific capacity and access mode, rather than a blueprint or template used to dynamically generate new storage on demand.
- ✗
VolumeAttachment
Why it's wrong here
VolumeAttachment is an API object used by the cluster's volume controllers to track and manage the attachment of a PersistentVolume to a specific worker node. It does not define storage templates or handle provisioning; instead, it coordinates the low-level mounting operations required once a volume already exists.
- ✓
StorageClass
Why this is correct
A StorageClass acts as the template and driver definition for dynamic volume provisioning in Kubernetes. It defines which volume plugin (provisioner) to use and passes specific parameters, such as IOPS or replication factors, to the underlying storage provider when a user requests storage via a PersistentVolumeClaim.
- ✗
PersistentVolumeClaim
Why it's wrong here
A PersistentVolumeClaim (PVC) is a user's request for storage, specifying size, access modes, and optionally a StorageClass. While a PVC triggers the dynamic provisioning process by referencing a StorageClass, the claim itself is a consumption request rather than the template that defines how the storage is created.
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
Learn chapter
Troubleshooting Storage Persistence
Key term
Persistent Volumes
A Persistent Volume is a piece of storage in a Kubernetes cluster that has been provisioned by an administrator and exists independently of any single pod that uses it.
Key term
Storage Classes
A Storage Class in Kubernetes is a template that defines how persistent storage is provisioned automatically, including the type of storage, performance characteristics, and provisioning policies.
About these practice questions
One of 726 original CKA practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This CKA practice question is part of Courseiva's free CNCF 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 CKA exam.