What is the correct command to delete a Pod named "my-pod"?

  1. kubectl kill pod my-pod
  2. kubectl remove pod my-pod
  3. kubectl delete pod my-pod ✓
  4. kubectl terminate pod my-pod

Correct answer: kubectl delete pod my-pod

Option C is correct because 'kubectl delete pod my-pod' is the standard, documented kubectl command to remove a named Pod from a Kubernetes cluster. Option A is incorrect because 'kubectl kill' is not a valid kubectl subcommand; the analogous Unix concept of killing a process does not map to a kubectl verb. Option B is incorrect because 'kubectl remove' does not exist in the kubectl command set; the correct deletion verb is 'delete'. Option D is incorrect because 'kubectl terminate' is also not a valid kubectl subcommand; termination of workloads is handled through 'delete', which triggers graceful shutdown via the Pod's termination lifecycle.

Topic: · kubectl, kubernetes, pod management, ckad

Practice Certified Kubernetes App Developer (CKAD) Questions Free