QuestionQ303

Ensuring solution and operations excellence

For this question, use the Helicopter Racing League (HRL) case study.

A recent finance audit of cloud infrastructure found an exceptionally high number of Compute Engine instances allocated for video encoding and transcoding. You suspect these Virtual Machines are zombie machines that were not deleted after their workloads completed. You need to quickly obtain a list of idle VM instances. What should you do?

  • A Log into each Compute Engine instance and collect disk, CPU, memory, and network usage statistics for analysis.
  • B Use the gcloud compute instances list to list the virtual machine instances that have the idle: true label set.
  • C Use the gcloud recommender command to list the idle virtual machine instances.
  • D From the Google Console, identify which Compute Engine instances in the managed instance groups are no longer responding to health check probes.
Explanation

Compute Engine’s Idle VM Recommender uses Cloud Monitoring system metrics to identify idle VM instances and exposes those recommendations through gcloud recommender recommendations list with the google.compute.instance.IdleResourceRecommender recommender. This provides a direct list of VMs that are candidates for removal.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!