
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?
A
Create an HTTP load balancer with a backend configuration that references an existing instance group. Set the health check to healthy (HTTP)
B
Create an HTTP load balancer with a backend configuration that references an existing instance group. Define a balancing mode and set the maximum RPS to 10.
C
Create a managed instance group. Set the Autohealing health check to healthy (HTTP)
D
Create a managed instance group. Verify that the autoscaling setting is on.
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.