Question 780
At Pinecrest logistics, in a sandbox Kubernetes cluster during a recovery tabletop exercise: PersistentVolume pv-dispatch contains data that must not be deleted automatically when its claim is released. Work only within the stated target and verify before declaring success. Which operational control most directly prevents this failure or configuration drift?
Explanation
Correct Answer
Reconcile data-retention duties with reclaim settings before a PVC is deleted. This reduces recurrence of the specific operational failure. It reinforces the action: Run kubectl patch persistentvolume pv-dispatch --type=merge -p '{"spec":{"persistentVolumeReclaimPolicy":"Retain"}}' before releasing the claim. The relevant mechanism is: The reclaim policy controls the fate of backing storage after PVC release; Retain requires an explicit cleanup and reuse process.
Incorrect Answers
The suggested review tracks a different technical risk: PVC volumeName prebinding requests a specific PV but does not bypass binding compatibility and availability checks. Here the sustained control must address: The reclaim policy controls the fate of backing storage after PVC release; Retain requires an explicit cleanup and reuse process. Choose “Reconcile data-retention duties with reclaim settings before a PVC is deleted”.
This routine guards against another mechanism: PVC expansion requests larger provisioned storage without deleting the claim; the CSI driver and filesystem may require additional expansion steps. The recurring exposure in the current case is: The reclaim policy controls the fate of backing storage after PVC release; Retain requires an explicit cleanup and reuse process. The matching preventive check is “Reconcile data-retention duties with reclaim settings before a PVC is deleted”.
The suggested review tracks a different technical risk: StatefulSets give stable identities and can generate per-Pod PVCs; a shared Deployment volume would not automatically provide this ownership model. Here the sustained control must address: The reclaim policy controls the fate of backing storage after PVC release; Retain requires an explicit cleanup and reuse process. Choose “Reconcile data-retention duties with reclaim settings before a PVC is deleted”.