PROFESSIONAL-CLOUD-DEVELOPER · Question #16
PROFESSIONAL-CLOUD-DEVELOPER Question #16: Real Exam Question with Answer & Explanation
The correct answer is B: Perform a rolling-action with maxSurge set to 0, maxUnavailable set to 1. maxSurge controls in a rolling update how many resources can be added above threshold of the MIG (managed instance group), while maxUnavailable controls the max number of instances that can be taken offline during update at the same time.
Question
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?
Options
- APerform a rolling-action with maxSurge set to 1, maxUnavailable set to 0.
- BPerform a rolling-action with maxSurge set to 0, maxUnavailable set to 1
- CPerform a rolling-action with maxHealthy set to 1, maxUnhealthy set to 0.
- DPerform a rolling-action with maxHealthy set to 0, maxUnhealthy set to 1.
Explanation
maxSurge controls in a rolling update how many resources can be added above threshold of the MIG (managed instance group), while maxUnavailable controls the max number of instances that can be taken offline during update at the same time.
Topics
Community Discussion
No community discussion yet for this question.