VMware Carbon Black Cloud Enterprise EDR (2020) — Question 83

Which kubectl command is used to list the Kubernetes services in the current active namespace?

Answer options

Correct answer: A

Explanation

The command 'kubectl get services' is the correct way to list services in the current namespace. The other options either use incorrect syntax or refer to commands that do not exist in kubectl, making them invalid for this purpose.