VMware Carbon Black Cloud Enterprise EDR (2020) — Question 10
What is the proper way to delete a Persistent Volume Claim?
Answer options
- A. By using the kubectl delete persistentvolumeclaim command
- B. By using the kubectl remove pvc command
- C. Through the SPBM policy engine using the vSphere Client
- D. By unmounting the volume from the VM and deleting it from the vSphere datastore
Correct answer: A
Explanation
The correct answer is A, as the command 'kubectl delete persistentvolumeclaim' is specifically designed to delete a PVC in Kubernetes. Option B is incorrect because 'kubectl remove pvc' is not a valid command. Options C and D are also incorrect as they involve different methods that do not directly delete a Persistent Volume Claim.