ASSOCIATE-CLOUD-ENGINEER · Question #183
ASSOCIATE-CLOUD-ENGINEER Question #183: Real Exam Question with Answer & Explanation
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
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-
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
Community Discussion
No community discussion yet for this question.