
Answer-first summary for fast verification
Answer: Use the Recommender API and apply the suggested recommendations.
To optimize CPU utilization by using the fewest number of steps and following Google-recommended practices, the best approach is to use the Recommender API. The Recommender API provides recommendations based on historical system metrics and usage patterns, which can help identify the most suitable machine type for your application. This approach is automated and leverages Google's analytics to provide optimal recommendations without manual intervention. Options B and C involve installing the Ops Agent, which is more about monitoring and logging rather than directly providing recommendations for machine types. Option D suggests manually reviewing the Cloud Monitoring dashboard, which is less efficient and not as automated as using the Recommender API.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
You are managing a monolithic application on Compute Engine for a global organization. To optimize CPU utilization with minimal steps, you need to select the most suitable machine type for the application based on historical system metrics while adhering to Google-recommended practices. What should you do?
A
Use the Recommender API and apply the suggested recommendations.
B
Create an Agent Policy to automatically install Ops Agent in all VMs.
C
Install the Ops Agent in a fleet of VMs by using the gcloud CLI.
D
Review the Cloud Monitoring dashboard for the VM and choose the machine type with the lowest CPU utilization.