
Answer-first summary for fast verification
Answer: Set up Autoscaling for Compute Engine instances and create a custom machine type for Cloud SQL instances, then purchase the appropriate Committed Use Contracts.
**Correct Answer: B** - Setting up Autoscaling for Compute Engine instances ensures resources are scaled based on demand, optimizing utilization. Custom machine types for Cloud SQL allow for tailored vCPU and memory settings, further optimizing resources. Committed Use Contracts provide discounted pricing for these optimized resources. **Incorrect Answers:** - **A**: Over-provisioning with the highest configurations leads to unnecessary costs, despite the discounts from Committed Use Contracts. - **C**: Preemptible VMs are unsuitable for production due to potential interruptions, and disabling backups compromises data durability. - **D**: The Always Free tier and minimal configurations are inadequate for production workloads, risking performance issues.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
A company aims to optimize resource utilization and leverage committed use discounts on Google Cloud Platform for their web application, which currently uses a mix of Compute Engine instances and Cloud SQL databases. What is the best approach to achieve this goal?
A
Upgrade all Compute Engine instances to the highest vCPU and memory configuration, and purchase Committed Use Contracts for all resources.
B
Set up Autoscaling for Compute Engine instances and create a custom machine type for Cloud SQL instances, then purchase the appropriate Committed Use Contracts.
C
Use preemptible VMs for all Compute Engine instances and disable backups for Cloud SQL instances.
D
Enable Always Free tier for Compute Engine instances and use the lowest possible configuration for Cloud SQL instances.
No comments yet.