GCP ACE · Question 07 · Domain 1.3: Installing and configuring the CLI
You are a developer working on two different GCP projects: 'project-dev' and 'project-prod'. You want to easily switch between these environments in your local Cloud SDK without having to re-authenticate or manually change the project ID every time.
Which TWO gcloud commands are essential for setting up and switching between these environments? (Select TWO)
Answer options:
gcloud config configurations create
gcloud init --switch
gcloud config configurations activate
gcloud projects switch
gcloud auth application-default login
50 questions · hints · full answers · grading