PROFESSIONAL-CLOUD-DEVELOPER · Question #179
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 imm
The correct answer is D. Set the Minimum Wait time to 0 seconds.. Setting Minimum Wait Time to 0 seconds tells the rolling update mechanism to proceed without any delay between replacing instances, enabling the fastest possible deployment. The other default rolling update settings (maxUnavailable and maxSurge) still protect service availability
Question
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?
Options
- ASet the Max Surge to 100%.
- BSet the Update mode to Opportunistic.
- CSet the Maximum Unavailable to 100%.
- DSet the Minimum Wait time to 0 seconds.
How the community answered
(24 responses)- A17% (4)
- B8% (2)
- C4% (1)
- D71% (17)
Explanation
Setting Minimum Wait Time to 0 seconds tells the rolling update mechanism to proceed without any delay between replacing instances, enabling the fastest possible deployment. The other default rolling update settings (maxUnavailable and maxSurge) still protect service availability during the update. Setting Max Surge to 100% (A) would spin up a completely duplicate fleet simultaneously - expensive and unnecessary. Setting Update mode to Opportunistic (B) is the opposite of what is needed: Opportunistic mode only applies the new template when instances are restarted naturally, meaning the fix could take a very long time to propagate. Setting Maximum Unavailable to 100% (C) would take all instances offline simultaneously, completely disrupting service.
Topics
Community Discussion
No community discussion yet for this question.