Topic 1 Question 68
You have an application controlled by a managed instance group. When you deploy a new version of the application, costs should be minimized and the number of instances should not increase. You want to ensure that, when each new instance is created, the deployment only continues if the new instance is healthy. What should you do?
Perform a rolling-action with maxSurge set to 1, maxUnavailable set to 0.
Perform a rolling-action with maxSurge set to 0, maxUnavailable set to 1
Perform a rolling-action with maxHealthy set to 1, maxUnhealthy set to 0.
Perform a rolling-action with maxHealthy set to 0, maxUnhealthy set to 1.
解説
ユーザの投票
コメント(13)
B(maxSurge = 0, maxUnavailable = 1)
👍 22donchick2020/12/21"number of instances should not increase"
B would be correct
👍 4syu31svc2021/07/09ANS: A
Note: If you set both maxSurge and maxUnavailable properties and both properties resolve to 0, the Updater automatically sets maxUnavailable=1, to ensure that the automated update can always proceed. https://cloud.google.com/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#max_surge Setting a higher maxSurge value speeds up your update, at the cost of additional instances, which are billed according to the Compute Engine price sheet.
👍 2celia202004102021/07/19
シャッフルモード