Question 35
Kubernetes FundamentalsHow does a VolumeSnapshot object in Kubernetes relate to a PersistentVolumeClaim?
Correct answer: B
Explanation
A VolumeSnapshot is the API object used to capture a storage snapshot from an existing PersistentVolumeClaim, so it represents a request for a point-in-time copy of that PVC’s data. In Kubernetes snapshot terminology, it is tied to the source PVC and used to preserve the volume state at a specific moment.
Why each option is right or wrong
A. It defines the maximum size a PVC can grow to.
B. It's a request to create a point-in-time copy of the data in a PVC.
Under the Kubernetes CSI snapshot API, a VolumeSnapshot is the user-facing API object that targets an existing PersistentVolumeClaim and asks the snapshot controller to create a snapshot from that volume. The request is not the data copy itself; it is the declarative trigger for a point-in-time capture of the PVC’s contents, with the actual snapshot represented separately by the bound VolumeSnapshotContent object once provisioned.
C. It's a type of PVC that uses ephemeral local storage.
D. It specifies the encryption key to be used for a PVC.
E. It provides a template for creating multiple identical PVCs.