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

Which command provides valid syntax to deploy a vSphere Pod?

Answer options

Correct answer: D

Explanation

The correct answer is D because 'kubectl apply -f deployment.yaml' is the proper way to apply a configuration file in Kubernetes. Option A is incorrect as 'tkg' is not the right command for vSphere Pod deployment, while option B pertains to Docker and is not applicable here. Option C has an incorrect flag '-c' instead of '-f', making it invalid for the deployment of a vSphere Pod.