PROFESSIONAL-CLOUD-DEVOPS-ENGINEER · Question #132
You work for a global organization and are running a monolithic application on Compute Engine. You need to select the machine type for the application to use that optimizes CPU utilization by using…
The correct answer is A. Use the Recommender API and apply the suggested recommendations. The Google Cloud Recommender API provides machine type recommendations for Compute Engine VMs based on historical CPU and memory utilization data collected automatically. Using gcloud recommender recommendations list and applying the suggestion is the fewest-steps path to…
Question
Options
- AUse the Recommender API and apply the suggested recommendations.
- BCreate an Agent Policy to automatically install Ops Agent in all VMs.
- CInstall the Ops Agent in a fleet of VMs by using the gcloud CLI.
- DReview the Cloud Monitoring dashboard for the VM and choose the machine type with the lowest
How the community answered
(14 responses)- A71% (10)
- B14% (2)
- C7% (1)
- D7% (1)
Explanation
The Google Cloud Recommender API provides machine type recommendations for Compute Engine VMs based on historical CPU and memory utilization data collected automatically. Using gcloud recommender recommendations list and applying the suggestion is the fewest-steps path to right-sizing. Option B (Agent Policy) and Option C (Ops Agent via gcloud) both install monitoring agents but require additional analysis steps afterward. Option D (manually reviewing dashboards) requires human judgment and multiple steps to identify the optimal type. The Recommender API automates the analysis and surfaces a direct, actionable recommendation.
Topics
Community Discussion
No community discussion yet for this question.