Google Cloud Professional Cloud Developer — Question 197
Your application is deployed on hundreds of Compute Engine instances in a managed instance group (MIG) in multiple zones. You need to deploy a new instance template to fix a critical vulnerability immediately but must avoid impact to your service. What setting should be made to the MIG after updating the instance template?
Answer options
- A. Set the Max Surge to 100%.
- B. Set the Update mode to Opportunistic.
- C. Set the Maximum Unavailable to 100%.
- D. Set the Minimum Wait time to 0 seconds.
Correct answer: D
Explanation
Setting the Minimum Wait time to 0 seconds allows for immediate updates to the instances without any delay, minimizing the impact on the service. The other options may introduce delays or unwanted service disruptions, as they either allow too many instances to be unavailable or do not prioritize a swift update process.