Practice Test 2 | Google Cloud Certified Associate Cloud Engineer | Dumps | Mock Test
What is the gcloud command to set default zone for compute engine server using gcloud cli?
A. gcloud config set compute/zone us-east-1
B. gcloud config configurations set compute/zone us-east-1a
C. gcloud config set compute/zone us-east1-a
D. gcloud defaults set compute/zone us-east-1
Explanation:
Correct Answer – C
The gcloud command to set default zone for compute engine is gcloud config set compute/zone us-east1-a. Hence, C is the correct answer.
Options A, B, and D are incorrect since these are not the valid gcloud commands to set default compute engine zone.
Reference:
https://cloud.google.com/sdk/gcloud/reference/config/set
Comments are closed, but trackbacks and pingbacks are open.