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

An administrator needs to label and push an image into Harbor.

Which command should the administrator run first?

Answer options

Correct answer: A

Explanation

The correct answer is A because the 'docker tag' command is used to create a tag for an image before pushing it to a registry like Harbor. The other options are incorrect as 'kubectl' is used for managing Kubernetes resources and does not apply for tagging Docker images.