
Answer-first summary for fast verification
Answer: Use the gcloud recommender command to list the idle virtual machine instances.
The correct answer is C. This option suggests using the 'gcloud recommender' command to list the idle virtual machine instances. The gcloud recommender provides recommendations for optimizing the usage of Google Cloud resources, including identifying idle VMs. This method is efficient and specifically designed for detecting under-utilized or idle resources, making it the quickest way to identify idle VM instances compared to the other options.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Given the Helicopter Racing League (HRL) case study scenario where a finance audit of cloud infrastructure noted an exceptionally high number of Compute Engine instances are allocated to video encoding and transcoding. It is suspected that these Virtual Machines are zombie machines that were not deleted after their workloads completed. You need to quickly get a list of which VM instances are idle. 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.
No comments yet.