You need 10 Compute Engine instances that automatically restart on crash and remain available during host maintenance. What should you configure?
Choose an answer
Tap an option to check your answer.
Correct answer: Create an instance template with Automatic Restart on, On-host maintenance set to Migrate, and use that template in an instance group..
Why this is the answer
To meet the requirements, you need to configure an instance template with Automatic Restart enabled. This ensures that instances automatically restart if they crash. For instances to remain available during host maintenance, On-host maintenance must be set to Migrate. This setting live-migrates your instances to another host, preventing downtime. Finally, using this template within an instance group allows you to create and manage multiple identical instances efficiently. The incorrect options fail to meet one or both requirements. Setting Automatic Restart off or On-host maintenance to Terminate would prevent automatic restarts or cause downtime during maintenance, respectively. Autohealing with an HTTP health check is for application-level health, not instance crashes or host maintenance. The 'do not retry machine creation' option is not directly related to these specific requirements.
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