ASSOCIATE-CLOUD-ENGINEER · Question #81
You have a web application deployed as a managed instance group. You have a new version of the application to gradually deploy. Your web application is currently receiving live web traffic. You want…
The correct answer is B. Perform a rolling-action start-update with maxSurge set to 1 and maxUnavailable set to 0. We need to ensure the global capacity remains intact, for that reason we need to establish maxUnavailable to 0. On the other hand, we need to ensure new instances can be created. We do that by establishing the maxSurge to 1. Option C is more expensive and more difficult to set…
Question
Options
- APerform a rolling-action start-update with maxSurge set to 0 and maxUnavailable set to 1.
- BPerform a rolling-action start-update with maxSurge set to 1 and maxUnavailable set to 0.
- CCreate a new managed instance group with an updated instance template.
- DCreate a new instance template with the new application version.
How the community answered
(46 responses)- A7% (3)
- B76% (35)
- C13% (6)
- D4% (2)
Explanation
We need to ensure the global capacity remains intact, for that reason we need to establish maxUnavailable to 0. On the other hand, we need to ensure new instances can be created. We do that by establishing the maxSurge to 1. Option C is more expensive and more difficult to set up and option D won't meet requirements since it won't keep global capacity intact. https://cloud.google.com/compute/docs/instance-groups/rolling-out-updates-to-managed- instance-groups#options
Topics
Community Discussion
No community discussion yet for this question.