
Ultimate access to all questions.
In a scenario where you have a group of Compute Engine instances distributed across multiple zones and need to configure autohealing for network load balancing, your goal is to ensure that unresponsive VMs are recreated efficiently. Specifically, if a VM does not respond after three attempts, each spaced 10 seconds apart, it should be automatically recreated. What should your configuration steps be, while ensuring you use the fewest possible steps?
Explanation:
The correct answer is C. Creating a managed instance group and setting the Autohealing health check to healthy (HTTP) will ensure that VMs are recreated if they become unresponsive. Managed instance groups use autohealing health checks to monitor instances and automatically replace them if they fail the health check. This matches the requirement of re-creating VMs after 3 attempts of 10 seconds each. Options A and B only involve creating an HTTP load balancer, which does not handle the autohealing and re-creation of instances. Option D only verifies that autoscaling is on, which is unrelated to the specific autohealing configuration required.