Google Cloud Certified Associate Cloud Engineer Practice

Disable ads (and more) with a membership for a one time $2.99 payment

Prepare for the Google Cloud Certified Associate Cloud Engineer Exam with flashcards and multiple choice questions. Each question includes hints and explanations to help you study effectively. Get ready to pass your certification exam!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


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

  1. brew install kubectl

  2. gcloud components install kubectl

  3. pip install kubectl

  4. sudo apt-get install kubectl

The correct answer is: 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.