Courseiva
Storage →hardMultiple Choice

CKA Storage Practice Question

Which CSI driver feature must be supported by the driver to allow expanding a PVC while the pod using it is still running?

⚠ Common exam trap

Candidates may confuse the Kubernetes feature gate `ExpandInUsePersistentVolumes` with a CSI driver capability. The feature gate is a cluster-level setting, while the driver must support volume expansion via its CSI capabilities.

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

✓

Volume expansion

To allow expanding a PVC while the pod is still running, the CSI driver must support volume expansion (e.g., ControllerExpandVolume and NodeExpandVolume RPCs). The in-use expansion capability is also controlled by the Kubernetes feature gate `ExpandInUsePersistentVolumes`, but that is not a CSI driver feature. Therefore, the correct answer is 'Volume expansion'.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    Volume attach

    Why it's wrong here

    Volume attach refers to the CSI driver ability to attach a storage volume to a specific node through calls like ControllerPublishVolume. This is a prerequisite for using a volume but has no bearing on whether its capacity can be increased while a pod is using it. The question targets a capability specifically for online expansion, not attachment mechanics.

  • ✓

    Volume expansion

    Why this is correct

    Volume expansion is the correct high-level feature, but the CSIDriver spec requires an explicit mode to enable the in-use aspect. A driver may support expansion only when the volume is detached, declared via ExpandPersistentVolume, and still not allow resize while attached. Thus merely saying 'volume expansion' is too imprecise; Kubernetes must see a specific mode flag to permit online expansion.

  • ✗

    Mount options

    Why it's wrong here

    Mount options are string settings passed to the CSI driver during NodeStageVolume and NodePublishVolume for filesystem-specific behavior like read-only or mount propagation. They have no connection to the storage capacity or resizing logic of the underlying volume. Mount options govern how a volume is mounted on the node, not whether its size can be changed in place.

  • ✗

    ExpandInUsePersistentVolume

    Why it's wrong here

    ExpandInUsePersistentVolume is a value of the volumeExpansionModes field in the CSIDriver object, which explicitly advertises that the driver can expand a PersistentVolume while it is still attached and mounted to a running pod. When this capability is present, the kubelet can perform a filesystem resize after the controller-side volume expansion, without requiring pod or volume recreation. This is precisely the driver feature required to support online volume expansion.

About these practice questions

Courseiva writes every CKA question from scratch — 726 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. 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.