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?
Suggested Answer: C
Get Premium Professional Cloud Developer Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
36 comments · newest first
LA
Latanya
11 months ago
D is definitely not the right choice, too many unhealthy instances!
TE
Teddy
11 months ago
C doesn't make sense, we need healthy instances!
SH
Shoshana
11 months ago
Wait, can you really set maxSurge to 0? Sounds risky!
WE
Wenona
11 months ago
I disagree, B seems more reliable for health checks.
CA
Carli
12 months ago
A is the way to go! Keeps costs down.
MO
Mona
12 months ago
I’m leaning towards option B since it seems to ensure that we only take down one instance at a time, but I’m not entirely sure about the surge settings.
PA
Paola
1 year ago
I practiced a similar question where we had to ensure health checks were in place. I feel like maxUnavailable should be 0 to avoid issues.
AN
Anisha
1 year ago
I think option A sounds familiar because it allows for one new instance while keeping the others healthy, but I’m not completely confident.
TA
Tamekia
1 year ago
I remember studying rolling updates, but I'm not sure if maxSurge or maxUnavailable is the right choice here.
TR
Truman
1 year ago
I've done a few rolling updates before, so I think I've got a good handle on this. I'll go with option A - that seems like the best way to minimize costs and ensure healthy instances.
IL
Iluminada
1 year ago
I'm a bit confused by the different settings for maxSurge, maxUnavailable, maxHealthy, and maxUnhealthy. I'll need to make sure I understand how they work to pick the right approach.
TY
Ty
1 year ago
Okay, let's see. I think the key is to use a rolling update with the right settings to control the number of instances and health checks. I'll need to review the options closely.
CU
Curtis
1 year ago
Hmm, this seems like a tricky one. I'll need to think through the deployment options carefully to minimize costs and ensure the new instances are healthy.
IZ
Izetta
1 year ago
Wait, are we deploying the app or playing a game of 'Who's the Healthiest'? I'm so confused, but I'll go with Option A just to be safe.
DA
Daron
1 year ago
Option D, the 'Healthy Unhealthy' approach! I love it, it's like a game of health tug-of-war.
MA
Marti
1 year ago
C) Perform a rolling-action with maxHealthy set to 1, maxUnhealthy set to 0.
RE
Rebbecca
1 year ago
B) Perform a rolling-action with maxSurge set to 0, maxUnavailable set to 1
EA
Earnestine
1 year ago
A) Perform a rolling-action with maxSurge set to 1, maxUnavailable set to 0.
LI
Linn
1 year ago
C) Perform a rolling-action with maxHealthy set to 1, maxUnhealthy set to 0.
RO
Roxane
1 year ago
B) Perform a rolling-action with maxSurge set to 0, maxUnavailable set to 1
NA
Nana
1 year ago
A) Perform a rolling-action with maxSurge set to 1, maxUnavailable set to 0.
HA
Hannah
1 year ago
Hmm, Option C looks promising. Ensuring the new instance is healthy before continuing, that's a smart move.
KE
Kenneth
1 year ago
User 4: Let's go with Option C then, sounds like the best choice.
ZI
Zita
1 year ago
User 3: Agreed, it's a smart way to minimize costs and ensure stability.
GL
Glendora
1 year ago
User 2: Yeah, making sure the new instance is healthy first is important.
LE
Lettie
1 year ago
User 3: Agreed, it's a smart move to minimize costs and ensure stability.
FE
Felix
1 year ago
User 2: Yeah, making sure the new instance is healthy is important.
GI
Gilma
1 year ago
User 1: I think Option C is the way to go.
HE
Helga
1 year ago
User 1: I think Option C is the way to go.
KI
Kirk
2 years ago
I'm leaning towards Option B. Keeping the number of instances the same while rolling out the new version - sounds good to me!
AR
Ardella
1 year ago
User 2: Yeah, keeping the number of instances the same is important.
TH
Thaddeus
1 year ago
User 1: I think Option B is the way to go.
SL
Slyvia
2 years ago
But with maxSurge set to 1, we can ensure that only one new instance is created at a time to minimize costs.
CH
Chauncey
2 years ago
I disagree, I believe the correct answer is B.
DA
Dalene
2 years ago
Option A seems like the way to go. Minimizing costs and ensuring the new instance is healthy before moving forward - that's exactly what we need!
SL
Slyvia
2 years ago
I think the answer is A.