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 machine. Which command should you run FIRST to authenticate and configure your default project?
You have just installed the Google Cloud SDK on your local machine. Which command should you run FIRST to authenticate and configure your default project?
Answer options:
A.
gcloud auth login
B.
gcloud config set project
C.
gcloud init
D.
gcloud setup
How to approach this question
Recall the standard initialization command for the Cloud SDK.
Full Answer
C.gcloud init✓ Correct
`gcloud init` is the standard command to initialize the SDK. It prompts you to log in, select a default project, and optionally select a default compute region and zone.
Common mistakes
Selecting `gcloud auth login`, which only handles authentication but misses the project configuration step.
Practice the full GCP Associate Cloud Engineer Practice Exam 1
50 questions · hints · full answers · grading
More questions from this exam
Q01What is the highest level of the Google Cloud resource hierarchy?EasyQ02You need to enable the Compute Engine API in a new project using the command line. Which command ...EasyQ03You are setting up a new GCP environment. You need to grant a group of developers access to view ...MediumQ04You want to receive an email notification when your GCP spending exceeds $1000 this month. What s...EasyQ05You need to analyze your GCP billing data using complex SQL queries to understand cost trends acr...Medium
Expert