
Answer-first summary for fast verification
Answer: 1. Perform a rolling-action start-update 2. Set maxSurge to 1 3. Set maxUnavailable to 0
Option B is correct because setting `maxSurge` to 1 allows for one additional instance to be created during the update process, providing extra capacity to handle the deployment without affecting live traffic. Setting `maxUnavailable` to 0 ensures that the available capacity does not decrease during the deployment, minimizing downtime. Option A is incorrect because setting `maxSurge` to 0 prevents any additional instances from being created, risking downtime. Options C and D are incorrect as they involve creating new managed instance groups or deleting instances, which can lead to downtime and affect live traffic.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Your company operates a stock trading app with over a million users. A major update to your web application, deployed as a managed instance group, is ready. The app is currently handling live traffic. You need to deploy the new version gradually, ensuring no downtime and no decrease in available capacity during the deployment. What is the best approach?
A
B
C
D
No comments yet.