LeetQuiz Logo
Privacy Policy•contact@leetquiz.com
© 2025 LeetQuiz All rights reserved.
Google Associate Cloud Engineer

Google Associate Cloud Engineer

Get started today

Ultimate access to all questions.


To efficiently list all compute instances in zones us-central1-b and europe-west1-d, which command should you use?

Real Exam



Explanation:

The correct command is gcloud compute instances list --filter="zone:( us-central1-b europe-west1-d )". This command efficiently lists all instances in the specified zones in a single operation, avoiding the need for manual combination of results. The get action is not supported by the gcloud compute instances command, making options B and C incorrect. Option A, while technically correct, is inefficient as it requires manual combination of results from two separate commands.

Powered ByGPT-5