GCP ACE · Question 07 · Domain 1.3: Installing and configuring the CLI
You are working in Cloud Shell and need to deploy resources to a project named 'finance-prod-2023'. Your current active configuration is pointing to 'dev-sandbox-123'.
Which command should you use to change your default project for the current session without creating a new configuration?
Answer options:
gcloud project set finance-prod-2023
gcloud config set project finance-prod-2023
gcloud use project finance-prod-2023
gcloud init --project=finance-prod-2023
50 questions · hints · full answers · grading