Storage
Implement storage classes, volume types, and persistent volume management in Kubernetes (10% of exam).
In the context of the Certified Kubernetes Administrator (CKA) exam, storage is a critical domain focusing on decoupling data persistence from the ephemeral lifecycle of containers. By default, data inside a container is lost if the container crashes or the Pod is deleted. Kubernetes resolves this β¦
Concepts covered: Implement storage classes and dynamic volume provisioning, Configure volume types, access modes and reclaim policies, Manage persistent volumes and persistent volume claims, StorageClass parameters and provisioners, Volume expansion and resizing, Volume snapshots and cloning, CSI drivers and storage backends, EmptyDir, HostPath and local volumes
CKA - Storage Example Questions
Test your knowledge of Storage
Question 1
What is the primary purpose of the Container Storage Interface (CSI) in Kubernetes?
Question 2
When creating a StorageClass in Kubernetes, what is the purpose of the 'reclaimPolicy' field?
Question 3
A Kubernetes administrator wants to restore data from a VolumeSnapshot to a new PVC. The VolumeSnapshot named 'backup-snap' is in the 'production' namespace and shows 'readyToUse: true'. When writing the PVC manifest, which dataSource configuration correctly references the VolumeSnapshot for restoration?