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, set your default project, and configure your default compute region and 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` performs several common SDK setup tasks. It prompts you to authorize the SDK to access GCP using your user account, sets up a default configuration, and prompts you to select a default project and default Compute Engine zone/region.

Common mistakes

Selecting `gcloud auth login`, which is only one part of the initialization process.

Practice the full GCP Associate Cloud Engineer Practice Exam 4

50 questions · hints · full answers · grading

More questions from this exam