nerdexam
Broadcom-VMware

1V0-71.21 · Question #4

What two kubectl commands would provide the status of Pod in a Kubernetes cluster? (Choose two.)

The correct answer is A. kubectl get pods B. kubectl describe pods. kubectl get pods (A) lists all pods with their current status, restart count, and age - a quick snapshot of pod health. kubectl describe pods (B) provides detailed information including events, conditions, resource limits, and recent errors, making it invaluable for diagnosing…

Explain Container and Kubernetes Concepts

Question

What two kubectl commands would provide the status of Pod in a Kubernetes cluster? (Choose two.)

Options

  • Akubectl get pods
  • Bkubectl describe pods
  • Ckubectl pods status
  • Dkubectl status pods

How the community answered

(49 responses)
  • A
    88% (43)
  • C
    4% (2)
  • D
    8% (4)

Explanation

kubectl get pods (A) lists all pods with their current status, restart count, and age - a quick snapshot of pod health. kubectl describe pods (B) provides detailed information including events, conditions, resource limits, and recent errors, making it invaluable for diagnosing issues.

Options C and D are invalid - kubectl pods status and kubectl status pods are not real kubectl commands and will return errors. kubectl follows the pattern kubectl <verb> <resource>, and "status" is not a valid verb in this context.

Memory tip: Think of the two valid verbs as "get" (quick glance) and "describe" (deep dive) - both are standard kubectl verbs that work across all resource types, not just pods.

Topics

#kubectl commands#Pod status#Kubernetes CLI#Pod inspection

Community Discussion

No community discussion yet for this question.

Full 1V0-71.21 Practice