GCP ACE · Question 07 · Domain 1.3: Installing and configuring the CLI
You are working in Cloud Shell and need to execute several commands against a project named 'analytics-prod-992'. Your current default project is set to 'web-dev-123'.
Which command should you use to change the default project for your current active configuration?
Answer options:
gcloud config set project analytics-prod-992
gcloud projects update analytics-prod-992
gcloud switch project analytics-prod-992
export GCP_PROJECT=analytics-prod-992
50 questions · hints · full answers · grading