Google
ASSOCIATE-CLOUD-ENGINEER · Question #183
You have downloaded and installed the gcloud command line interface (CLI) and have authenticated with your Google Account. Most of your Compute Engine instances in your project run in the europe-west1
The correct answer is A. Set the europe-west1-d zone as the default zone using the gcloud config subcommand.. gcloud config - view and edit Cloud SDK properties Default zone to use when working with zonal Compute Engine resources. https://cloud.google.com/sdk/gcloud/reference/config
Submitted by rachelw· Mar 30, 2026Setting up a cloud solution environment
Question
You have downloaded and installed the gcloud command line interface (CLI) and have authenticated with your Google Account. Most of your Compute Engine instances in your project run in the europe-west1-d zone. You want to avoid having to specify this zone with each CLI command when managing these instances. What should you do?
Options
- ASet the europe-west1-d zone as the default zone using the gcloud config subcommand.
- BIn the Settings page for Compute Engine under Default location, set the zone to europe-west1-d.
- CIn the CLI installation directory, create a file called default.conf containing zone=europe-west1-d.
- DCreate a Metadata entry on the Compute Engine page with key compute/zone and value europe-
How the community answered
(38 responses)- A95% (36)
- B3% (1)
- C3% (1)
Explanation
gcloud config - view and edit Cloud SDK properties Default zone to use when working with zonal Compute Engine resources. https://cloud.google.com/sdk/gcloud/reference/config
Topics
#gcloud CLI#default zone#Compute Engine configuration
Community Discussion
No community discussion yet for this question.