Ace the Google Cloud Certified Associate Engineer Exam 2025 – Skyrocket Your Cloud Skills!

Question: 1 / 400

Which command is used to install the kubectl component after installing the Cloud SDK on a Mac?

brew install kubectl

gcloud components install kubectl

After installing the Cloud SDK on a Mac, the command used to install the kubectl component is "gcloud components install kubectl". This command is the correct answer because "gcloud components" is used to manage the components installed in the Cloud SDK, and "install kubectl" adds the kubectl component to the Cloud SDK.

Option A, "brew install kubectl", is incorrect because brew is a package manager used for MacOS, and is not used to manage components in the Cloud SDK.

Option C, "pip install kubectl", is incorrect because pip is a package manager for Python libraries, and is not used to manage components in the Cloud SDK.

Option D, "sudo apt-get install kubectl", is incorrect because apt-get is a package manager for Linux distributions, and is not used to manage components in the Cloud SDK.

Get further explanation with Examzify DeepDiveBeta

pip install kubectl

sudo apt-get install kubectl

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy