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
- 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.
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.