
Answer-first summary for fast verification
Answer: 1. Create an instance template for the instances 2. Set the ‘Automatic Restart‘ to on 3. Set the ‘On-host maintenance‘ to Migrate VM instance 4. Add the instance template to an instance group
Option C is correct because it enables automatic restart for instances upon crashing and ensures instances are migrated during system maintenance, preventing downtime. This meets the requirements of automatic restart and maintenance without loss. Option A is incorrect as auto-healing does not address maintenance migrations. Option B is incorrect because it disables automatic restart and terminates instances during maintenance. Option D is incorrect as it does not fulfill the automatic restart requirement and is unrelated to the maintenance scenario.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You are tasked with developing a mission-critical application for the stock market on Compute Engine. You have a set of 10 Compute Engine instances that need to be configured for high availability. These instances should automatically restart upon crashing and must not be lost during system maintenance. What is the best approach to achieve this?
A
B
C
D
No comments yet.