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?
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
Q01You have recently joined a new team and need to set up a new Google Cloud project for a developme...EasyQ02Your company uses Google Workspace. You need to grant a new developer, Alice, the ability to view...MediumQ03You have created a new GCP project and want to deploy a Compute Engine instance. However, when yo...MediumQ04Your startup has a strict monthly cloud budget of $500. You want to be notified via email when yo...EasyQ05Your finance team wants to analyze Google Cloud costs using standard SQL and build custom dashboa...Medium
Expert