VMware Carbon Black Cloud Enterprise EDR (2020) — Question 85
Which command will display the container image(s) used in a vSphere pod deployment name nginx-deployment?
Answer options
- A. kubectl get deployment nginx-deployment
- B. kubectl get pod nginx
- C. kubectl describe deployment nginx-deployment
- D. docker ps
Correct answer: C
Explanation
The correct answer is C, as 'kubectl describe deployment nginx-deployment' provides detailed information about the deployment, including the container images used. Option A only retrieves the deployment summary, option B retrieves pod information but not details about the deployment, and option D is unrelated as it lists running Docker containers, not vSphere pod deployments.