Intrigued by the art of cloud architecture? Discover how to design, develop, and manage robust, secure, scalable, and dynamic solutions on Google Cloud as you prepare for the Professional Cloud Architect exam!
Prepare and test your skills
Prepare and test your skills
Worked example. The correct answer is already marked and every option is explained below, so there is nothing to select here. To answer questions yourself, start the free trial.
An enterprise runs a suite of business-critical production workloads on Compute Engine virtual machines. The operations team needs to establish a post-deployment maintenance strategy that satisfies the following requirements:
Which configuration should you implement on the Compute Engine instances?
In Google Cloud Compute Engine, the instance availability policy determines how virtual machine (VM) instances behave during host events such as planned infrastructure maintenance or unplanned hardware failures. Setting onHostMaintenance to MIGRATE and automaticRestart to true establishes automated resilience and high availability for deployed compute workloads.
onHostMaintenance property to MIGRATE enables Live Migration. When Google performs planned maintenance on physical host hardware, the hypervisor moves running VM instances to an alternative host in the same zone without stopping the guest operating system or dropping network connections.automaticRestart to true ensures that if a physical host experiences an unexpected crash, kernel panic, or hardware failure, Google Cloud automatically restarts the virtual machine on a healthy host without requiring manual operator intervention.This configuration directly fulfills all operational requirements by leveraging native platform resilience mechanisms. It avoids workload disruption during planned maintenance while ensuring rapid automated recovery after unexpected infrastructure incidents.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.