
Answer-first summary for fast verification
Answer: Use Managed instance groups across multiple zones
The correct answer is **B** because it ensures high availability and scalability. Managed instance groups (MIGs) automatically manage the instances based on an instance template, providing features like autoscaling, automatic instance recreation in case of failure, and integration with load balancing services. This makes MIGs ideal for production environments requiring high availability across multiple zones. - **Option A** is incorrect because preemptible instances, while cost-effective, are not suitable for production workloads due to their short lifespan. - **Option C** is incorrect because deploying instances in a single zone does not provide high availability. - **Option D** is incorrect because unmanaged instance groups lack the scalability and automatic management features of MIGs, making them less suitable for production environments. For more details, refer to the [GCP documentation on Managed Instance Groups](https://cloud.google.com/compute/docs/instance-groups).
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Your company is planning to host production-based applications on Google Cloud Compute Engine instances, requiring a solution that is cost-effective, scalable, and highly available, even in the event of a zone failure. How would you design this solution?
A
Use Managed instance groups with preemptible instances across multiple zones
B
Use Managed instance groups across multiple zones
C
Use managed instance groups with instances in a single zone
D
Use Unmanaged instance groups across multiple zones
No comments yet.