
Answer-first summary for fast verification
Answer: Create a single managed instance group, specify the desired region, and select Multiple zones for the location.
To increase availability and enable autoscaling for a production environment, a regional managed instance group (MIG) is the correct approach. Managed instance groups (MIGs) automatically distribute instances across multiple zones within a region, ensuring high availability. They also support autoscaling policies, which dynamically adjust the number of instances based on load. Option A achieves this by creating a single MIG configured for multiple zones in a region. Other options are incorrect: Options B and D involve manual distribution, which is error-prone and not scalable. Options C and D use unmanaged instance groups, which lack built-in autoscaling capabilities.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
How should you provision your Compute Engine instances when migrating a proof-of-concept application to production to increase availability and enable autoscaling, given that the initial deployment used manually placed instances in a single zone?
A
Create a single managed instance group, specify the desired region, and select Multiple zones for the location.
B
Create a managed instance group for each region, select Single zone for the location, and manually distribute instances across the zones in that region.
C
Create an unmanaged instance group in a single zone, and then create an HTTP load balancer for the instance group.
D
Create an unmanaged instance group for each zone, and manually distribute the instances across the desired zones.
No comments yet.