GCP ACE · Question 08 · Domain 1.3: Installing and configuring the CLI
You frequently switch between two different Google Cloud projects: 'dev-env' and 'prod-env'. Each project requires you to use a different Google account for authentication and a different default compute zone.
Which TWO actions should you take to switch between these environments with the LEAST amount of effort? (Select TWO)
Answer options:
Create separate gcloud configurations using gcloud config configurations create
Use gcloud config configurations activate to switch between the environments
Run gcloud init every time you need to switch environments
Create different OS user accounts on your workstation for each environment
Pass the --account, --project, and --zone flags with every single gcloud command
50 questions · hints · full answers · grading