Google Cloud Professional Cloud DevOps Engineer — Question 135
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?
Answer options
- 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.
Correct answer: A
Explanation
The correct answer, A, is the most efficient method to optimize CPU usage as it leverages the Recommender API to provide tailored suggestions based on historical data. Options B and C focus on agent installation rather than directly optimizing machine types, while option D does not follow Google-recommended practices for selecting machine types effectively.