Storage Solutions Flashcards
7 cards from real KCNA practice questions. Tap to flip, then mark Knew It or Still Learning โ missed cards come back until you master them.
Read the first 7 Storage Solutions flashcards as text
Which Kubernetes object defines how a storage volume can be accessed across multiple pods?
Answer: PersistentVolume
A PersistentVolume (PV) defines the storage resource itself, including its access modes such as ReadWriteOnce, ReadOnlyMany, or ReadWriteMany.
What happens to a PersistentVolume with a Reclaim Policy of 'Delete' when its PVC is removed?
Answer: The underlying storage asset is deleted along with the PV
The 'Delete' reclaim policy causes both the PV object and the associated external storage asset to be removed when the PVC is deleted.
Which access mode allows a PersistentVolume to be mounted as read-write by many nodes simultaneously?
Answer: ReadWriteMany (RWX)
ReadWriteMany (RWX) permits multiple nodes to mount the volume with read-write access at the same time, which is required for shared storage scenarios.
In the CSI specification, which component runs on every node and handles volume mount/unmount operations?
Answer: CSI Node Plugin
The CSI Node Plugin runs as a DaemonSet on every node and is responsible for local operations such as mounting and unmounting volumes.
A developer wants storage that is automatically provisioned when a PVC is created. Which Kubernetes feature enables this?
Answer: Dynamic Provisioning via StorageClass
Dynamic provisioning uses a StorageClass with a provisioner to automatically create PersistentVolumes on demand when a PVC is submitted.
Which field in a PVC spec is used to request a specific StorageClass for dynamic provisioning?
Answer: storageClassName
The 'storageClassName' field in a PVC spec references the StorageClass that should be used to dynamically provision the volume.
What is the effect of annotating a StorageClass with 'storageclass.kubernetes.io/is-default-class: "true"'?
Answer: PVCs without a storageClassName are automatically bound to this class
Marking a StorageClass as the default causes PVCs that do not specify a storageClassName to use that class for dynamic provisioning.