Google Associate Cloud Engineer exam dumps

Google Associate Cloud Engineer practice question 177 of 375

Associate Cloud Engineer. Free level, Google Cloud. Free question with the correct answer and a full explanation.

Google Associate Cloud Engineer Question 177

Select 3Google Cloud Platform

As a newly hired Google Cloud Engineer, you are tasked with auditing the current running VM inventory for your company's Google Cloud Platform (GCP) environment. Which of the following methods can you use to accurately view the list of all running virtual machines in your project?

  1. A

    Use the Google Cloud Console, navigate to the Compute Engine section, and filter by 'Running' instances.

  2. B

    Run the gcloud command: gcloud compute instances list --filter='status:running'.

  3. C

    Access the Google Cloud APIs via REST and make a GET request to the Compute Engine API for the instances list with a filter for running status.

  4. D

    Use the gsutil command to list all running instances in a storage bucket.

  5. E

    Run the gcloud command: gcloud compute instances describe to list all running instances.

Show answer and explanation

Correct answers: A, B, C

Explanation

To view the current running VM inventory in GCP, you can use the Google Cloud Console, the gcloud command-line tool, or the Compute Engine API, all of which provide ways to filter instances by their running status. Each method allows you to accurately identify which VMs are currently active within your project.

  • A. Correct.

    The Google Cloud Console provides a visual interface to manage and view resources, including filtering instances by their running status.

  • B. Correct.

    The gcloud command-line tool allows you to filter instances by specific criteria, such as their status being 'running'.

  • C. Correct.

    The Compute Engine API can be accessed programmatically to list instances with specific filters, such as their status being 'running'.

  • D. Incorrect.

    The gsutil command is used for interacting with Google Cloud Storage, not for listing Compute Engine instances.

  • E. Incorrect.

    The gcloud compute instances describe command is used to get details about a specific instance, not to list all running instances.

Timed practice exam

Take a Google Associate Cloud Engineer practice test under exam conditions

60 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam