nerdexam
Google

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…

Submitted by fatima_kr· Apr 18, 2026Applying site reliability engineering principles to a service

Question

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 fewest number of steps. You want to use historical system metrics to identify the machine type for the application to use. You want to follow Google-recommended practices. What should you do?

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)
  • A
    71% (10)
  • B
    14% (2)
  • C
    7% (1)
  • D
    7% (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

#Resource Optimization#Recommender API#Machine Type Selection#Performance Tuning

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-DEVOPS-ENGINEER Practice