An engineer needs to list all Compute Engine instances in a project using the command line. Which gcloud command should they use?
This is the correct command to list all instances.
Why this answer
The correct command to list Compute Engine instances is 'gcloud compute instances list'. The other options are incorrect: 'gcloud compute machine-types list' lists machine types, 'gcloud compute instance-groups list' lists instance groups, and 'gcloud compute instances describe' describes a specific instance.