Certified Kubernetes Administrator (CKA) · Section 4 · 10% of the exam
Manage persistent volumes and persistent volume claims
One of the objectives of the Certified Kubernetes Administrator (CKA) exam, in the section “Storage”. Here is what it covers, the points to remember and a question to try.
What it covers
Pod volumes come in ephemeral and persistent kinds. Persistent storage is split into a cluster-scoped PersistentVolume and a namespaced PersistentVolumeClaim, matched by size, class and access mode. This lesson covers volume types, the four access modes, volume modes, the PV lifecycle and reclaim policies, and how to write, bind, reuse and troubleshoot PVs and PVCs.
Points to remember
emptyDirlasts for the life of the Pod on the node;medium: Memorymakes it tmpfs.hostPathis risky; prefer alocalPV, which needsnodeAffinityand has no dynamic provisioning.- PV is cluster-scoped; PVC is namespaced and a Pod can use only claims from its own namespace.
- Access modes: RWO is per node, ROX, RWX, RWOP is per Pod (stable since v1.29).
- A claim binds to a PV with the same class, enough capacity and compatible access modes and
volumeMode.
Try a question
A PVC data has been bound with 10Gi, and its StorageClass allows expansion. A developer edits the request to 5Gi to save space. What is the outcome?
- AThe edit succeeds and the volume is reduced online without any interruption of the Pod
- BThe edit is rejected, because a PVC cannot be shrunk below its current size
- CThe edit succeeds but takes effect only after the Pod using the claim has been restarted
- DThe volume is deleted and recreated with 5Gi, and the old data is copied across automatically
Show the answer
B. Volume expansion is grow-only. The request cannot go below the current capacity.
Written for practice in the style of the exam: never a question from the real exam.
In the course
The lesson Volumes, access modes, reclaim policies, PVs and PVCs teaches this objective (about 50 minutes), and 16 practice questions test it. The course has lessons, exam-style questions, timed practice exams and an AI tutor for every objective, and a pass prediction that tells you when you're ready to book.