VMware NSX-T Data Center (VCP-NV 2020) — Question 61
Which kubectl command should an administrator run to check vRealize Automation service pod resource usage?
Answer options
- A. kubectl -n prelude log -f <pod-name>
- B. kubectl -n prelude top pods
- C. kubectl -n prelude get pods
- D. kubectl -n prelude describe <pod-name>
Correct answer: C
Explanation
The command 'kubectl -n prelude get pods' is used to list all pods in the specified namespace, which includes details that may imply resource usage. The other options either fetch logs, show real-time metrics (which is not as comprehensive), or provide detailed descriptions of a specific pod, but do not list overall resource usage effectively.