GCP ACE · Question 08 · Domain 1.3: Installing and configuring the CLI
You are working in the Cloud Shell and want to deploy a Compute Engine instance. You realize your current active project is set to 'sandbox-123', but you need to deploy the instance in 'production-456'.
Which command should you run to change your active project for the current session?
Answer options:
gcloud projects update production-456
gcloud config set project production-456
gcloud set default-project production-456
gcloud compute project set production-456
50 questions · hints · full answers · grading