Easy1 markMultiple Choice

GCP ACE · Question 06 · Domain 1.3: Installing and configuring the CLI

You have just installed the Google Cloud SDK on your local workstation. You need to authenticate your account, set up your default project, and configure your default compute zone.

Which single command will guide you through an interactive process to accomplish all of these tasks?

Answer options:

A.

gcloud auth login

B.

gcloud config set project

C.

gcloud init

D.

gcloud setup

How to approach this question

Identify the initialization command for the Cloud SDK.

Full Answer

C.gcloud init✓ Correct
gcloud init
`gcloud init` is the standard command used to initialize the Cloud SDK. It performs an interactive setup that authorizes the SDK to access Google Cloud using your user account, sets up a default configuration, and allows you to choose a default project and compute zone.

Common mistakes

Choosing `gcloud auth login`, which is a valid command but only handles the authentication part, not the project/zone setup.

Practice the full GCP Associate Cloud Engineer Practice Exam 7

50 questions · hints · full answers · grading

More questions from this exam