
Answer-first summary for fast verification
Answer: `gcloud compute instances create gcelab2 --zone us-central1-c`
The correct command to create a new Compute Engine instance is `gcloud compute instances create gcelab2 --zone us-central1-c`. This command follows the Google Cloud SDK's syntax for creating instances, specifying both the instance name and the zone. Understanding how to create GCE instances is fundamental for the Google Professional Cloud DevOps Engineer exam. For more details, refer to the [Google Cloud SDK documentation](https://cloud.google.com/sdk/gcloud/reference/version).
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
What is the correct command to create a new Compute Engine instance named gcelab2 in the zone us-central1-c? (Select One)
A
gcloud compute instances init gcelab2 --zone us-central1-c
B
gcloud compute instances make gcelab2 --zone us-central1-c
C
gcloud compute instances create gcelab2 --zone us-central1-c
D
gcloud compute instances init gcelab2 --region us-central1-c
No comments yet.