Courseiva
Storage →easyMultiple Choice

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 ClassMin DurationRetrievalUse Case
S3 StandardNoneImmediateFrequently accessed data
S3 Standard-IA30 daysImmediateInfrequent access, rapid retrieval
S3 One Zone-IA30 daysImmediateNon-critical infrequent data
S3 Intelligent-TieringNoneImmediate–hoursUnknown or changing access patterns
S3 Glacier Instant90 daysMillisecondsArchive with instant retrieval
S3 Glacier Flexible90 daysMinutes–hoursArchive, flexible retrieval
S3 Glacier Deep Archive180 daysHoursLong-term compliance archive

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 →

How Courseiva writes practice questions · Editorial policy

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.