
Answer-first summary for fast verification
Answer: gcloud compute instances list
The correct command to list all instances in GCP Compute Engine is `gcloud compute instances list`. For more details on command syntax, refer to the [gcloud documentation](https://cloud.google.com/sdk/gcloud/reference/compute/instances/list).
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
When using the gcloud command-line tool to list all instances in Google Cloud Platform's Compute Engine, which command should you use? (Select One)
A
gcloud grep compute instances
B
gcloud compute list instances
C
gcloud compute instances list
D
gcloud compute instances grep
No comments yet.