VMware NSX-T Data Center (VCP-NV 2020) — Question 5
Which kubectl command should be run to find the Kubernetes authentication method?
Answer options
- A. kubectl describe pod <pod-name>
- B. kubectl describe secrets
- C. kubectl -n prelude describe pod <pod-name>
- D. kubectl explain
Correct answer: A
Explanation
The correct answer is A, as the 'kubectl describe pod <pod-name>' command provides detailed information about a specific pod, including its authentication method. Options B and C focus on secrets and a specific namespace, which do not directly relate to authentication methods. Option D, 'kubectl explain', provides general documentation about Kubernetes resources, but does not retrieve authentication details.