Google Cloud Professional Cloud Network Engineer — Question 6
You have deployed a proof-of-concept application by manually placing instances in a single Compute Engine zone. You are now moving the application to production, so you need to increase your application availability and ensure it can autoscale.
How should you provision your instances?
Answer options
- 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.
Correct answer: A
Explanation
The correct answer is A because using a single managed instance group with multiple zones allows for better availability and enables autoscaling across those zones. Options B and D are not optimal as they rely on manual distribution, which can lead to uneven load and higher management overhead. Option C does not provide the benefits of autoscaling and high availability that a managed instance group would offer.