Courseiva
StoragemediumMultiple ChoiceObjective-mapped

CKA Storage Practice Question

A cluster administrator wants to expand an existing PersistentVolumeClaim (PVC) that is bound to a PersistentVolume (PV) with reclaim policy Delete and storage class 'fast'. The PV was dynamically provisioned. Which condition is required for the PVC expansion to succeed?

⚠ Common exam trap

A common mix-up: candidates confuse PV reclaim policy (Delete/Retain) with expansion capabilities, or assume the PV must be in a specific state like Released, when in fact the StorageClass setting is the sole gatekeeper for volume expansion.

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 StorageClass 'fast' must have allowVolumeExpansion: true.

For PVC expansion to succeed with a dynamically provisioned PV, the StorageClass must have the `allowVolumeExpansion: true` field set. This field explicitly enables volume expansion for all PVCs using that StorageClass. Without it, the PVC expansion request will be rejected even if other conditions are met.

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 PV must be in Released state.

    Why it's wrong here

    For a PersistentVolumeClaim (PVC) to be expanded, its associated PersistentVolume (PV) must be in the `Bound` state, actively serving the PVC. A `Released` state indicates that the PVC has been deleted, breaking the binding relationship, and the PV is now available for reclamation or re-binding. Therefore, a PV in the `Released` state cannot be expanded in conjunction with an active PVC, as no such PVC exists to expand.

  • The StorageClass 'fast' must have allowVolumeExpansion: true.

    Why this is correct

    This statement is correct because volume expansion is a feature that must be explicitly enabled at the StorageClass level. The `allowVolumeExpansion: true` parameter within the StorageClass definition signals to Kubernetes and the underlying storage provisioner that volumes provisioned by this class are capable of being resized. Without this setting, any attempt to expand a PersistentVolumeClaim (PVC) will be rejected by the API server, regardless of the underlying storage system's capabilities.

  • The reclaim policy must be changed to Retain before expansion.

    Why it's wrong here

    The reclaim policy of a PersistentVolume (PV) dictates what happens to the underlying storage resource when its associated PersistentVolumeClaim (PVC) is deleted. Options like `Retain`, `Recycle` (deprecated), or `Delete` govern the lifecycle of the *storage resource itself* after the PVC is gone. This policy has no bearing on the ability to expand an *active* PVC; volume expansion is an operation performed on a currently bound and in-use volume, entirely separate from its post-deletion behavior.

  • The PVC must be using access mode ReadWriteOnce.

    Why it's wrong here

    PersistentVolumeClaims (PVCs) can utilize various access modes, such as `ReadWriteOnce`, `ReadOnlyMany`, or `ReadWriteMany`, depending on the underlying storage technology and its capabilities. The ability to expand a volume is primarily determined by the StorageClass and the specific CSI driver or in-tree volume plugin, not inherently by the access mode. While certain storage systems might have limitations, there is no universal Kubernetes requirement that a PVC must be `ReadWriteOnce` to be eligible for expansion; many drivers support expansion across all supported access modes.

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 302 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.