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?
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
Q01You are starting a new initiative and need to create a new Google Cloud project using the Cloud S...EasyQ02Your company is migrating to Google Cloud and wants to manage user identities centrally. They cur...MediumQ03You have just created a new Google Cloud project and want to deploy a containerized application u...MediumQ04Your finance team wants to perform complex SQL queries on your Google Cloud billing data to analy...MediumQ05You are managing a development project in Google Cloud. You want to ensure that you are notified ...Easy
Expert