Google Cloud Associate Cloud Engineer — Question 18

You need to create an autoscaling managed instance group for an HTTPS web application. You want to make sure that unhealthy VMs are recreated. What should you do?

Answer options

Correct answer: A

Explanation

The correct answer is A because setting up a health check on port 443 allows the Managed Instance Group to monitor the health of the VMs and recreate any that are deemed unhealthy. Option B does not directly address the health check requirement, while option C and D do not provide a mechanism to automatically recreate unhealthy instances.