Question 790
At Pinecrest logistics, in a sandbox Kubernetes cluster during a recovery tabletop exercise: An unbound PVC dispatch-data in namespace fulfillment should select existing compatible PV pv-dispatch by its exact name in this isolated lab. Work only within the stated target and verify before declaring success. Which Kubernetes behavior best explains the required change or diagnosis?
Explanation
Correct Answer
PVC volumeName prebinding requests a specific PV but does not bypass binding compatibility and availability checks. This explains the stated condition. The corresponding action is: Run kubectl -n fulfillment patch pvc dispatch-data --type=merge -p '{"spec":{"volumeName":"pv-dispatch"}}' after checking capacity, access modes and storage class compatibility. The direct acceptance evidence is: Run kubectl -n fulfillment get pvc dispatch-data and kubectl get pv pv-dispatch to confirm matched binding.
Incorrect Answers
The offered statement is true for this other mechanism: StatefulSets give stable identities and can generate per-Pod PVCs; a shared Deployment volume would not automatically provide this ownership model. It does not explain the facts described here, which follow from: PVC volumeName prebinding requests a specific PV but does not bypass binding compatibility and availability checks.
This principle describes a separate cause: StorageClasses specify provisioning behavior separately from an individual claim, including binding policy and reclaim defaults. The reported condition is governed by: PVC volumeName prebinding requests a specific PV but does not bypass binding compatibility and availability checks. The two mechanisms should not be conflated.
The offered statement is true for this other mechanism: Pod volume definitions and volumeMount references must agree; a valid PVC cannot help a container with an invalid mount path or volume name. It does not explain the facts described here, which follow from: PVC volumeName prebinding requests a specific PV but does not bypass binding compatibility and availability checks.