Google Cloud Associate Cloud Engineer — Question 15

You want to configure autohealing for network load balancing for a group of Compute Engine instances that run in multiple zones, using the fewest possible steps.
You need to configure re-creation of VMs if they are unresponsive after 3 attempts of 10 seconds each. What should you do?

Answer options

Correct answer: C

Explanation

The correct answer is C because creating a managed instance group with an Autohealing health check configured to healthy (HTTP) directly addresses the requirement for VM re-creation upon unresponsiveness. Options A and B involve HTTP load balancers, which do not fulfill the autohealing requirement in the simplest manner, while option D does not configure the necessary health check for autohealing.