You need autohealing for a multi-zone group of Compute Engine instances so unhealthy VMs are recreated if unresponsive after 3 attempts of 10s each. Using the fewest steps, what should you do?
Choose an answer
Tap an option to check your answer.
Correct answer: Create a managed instance group and configure its autohealing health check to use HTTP..
Why this is the answer
The correct answer is to create a managed instance group and configure its autohealing health check to use HTTP. Managed instance groups (MIGs) inherently provide autohealing capabilities. By attaching an HTTP health check to the MIG, you define the criteria for determining instance health. If an instance fails the health check (e.g., three consecutive 10-second attempts), the MIG automatically recreates it, fulfilling the requirement for autohealing unresponsive VMs. Creating an HTTP load balancer (first two incorrect options) is primarily for distributing traffic and doesn't directly provide autohealing for the instances themselves; while load balancers use health checks, they don't recreate unhealthy instances in the same way a MIG does. Enabling autoscaling (last incorrect option) in a MIG adjusts the number of instances based on demand, but it doesn't automatically recreate individual unhealthy instances.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed