nerdexam
Google

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…

Submitted by stefanr· Mar 30, 2026Deploying and implementing a cloud solution

Question

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 to ensure that the available capacity does not decrease during the deployment. What should you do?

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)
  • A
    7% (3)
  • B
    76% (35)
  • C
    13% (6)
  • D
    4% (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

#managed instance groups#rolling updates#maxSurge#maxUnavailable

Community Discussion

No community discussion yet for this question.

Full ASSOCIATE-CLOUD-ENGINEER Practice