VMware Carbon Black Cloud Enterprise EDR (2020) — Question 10

What is the proper way to delete a Persistent Volume Claim?

Answer options

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.