BLACK FRIDAY SALE – Unlock Up to 25% OFF on All Exam Prep! - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Google Professional Cloud Developer Exam - Topic 9 Question 68 Discussion

Posted by Eun on Apr 24, 2023 at 12:49 AM

You plan to deploy a new application revision with a Deployment resource to Google Kubernetes Engine (GKE) in production. The container might not work correctly. You want to minimize risk in case there are issues after deploying the revision. You want to follow Google-recommended best practices. What should you do?

Suggested Answer: A

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
29 comments · newest first
RO
Ronny 1 year ago
B doesn't make sense, scale-down policy should be more flexible!
LU
Lucille 1 year ago
Rolling updates are definitely the best practice here.
RE
Rene 1 year ago
Wait, why would you convert to a StatefulSet? Isn't that overkill?
MA
Madelyn 1 year ago
I disagree, C seems more reliable for stateful apps.
JA
Jacquline 1 year ago
A is the way to go for minimizing risk!
ST
Stefania 1 year ago
I practiced a similar question where we had to minimize downtime during updates. I think a rolling update is definitely the way to go, but I can't recall the exact details about the PodDisruptionBudget.
JA
Jacinta 1 year ago
I feel like the HorizontalPodAutoscaler scale-down policy might not be the best choice here. We want to ensure availability during the update, right?
PE
Peter 1 year ago
I think a StatefulSet is more for applications that require stable identities, so I'm leaning towards just using a Deployment for this question.
NO
Novella 1 year ago
I remember we discussed rolling updates in class, but I'm not sure about the specifics of using a PodDisruptionBudget.
AN
Anisha 1 year ago
The license plate is probably the Technical Resource, since that's the physical asset being used for the rental service.
LO
Lon 1 year ago
Okay, let's see. Confidentiality is important to protect sensitive information and prevent misuse. I think option C is the best answer here.
DE
Detra 1 year ago
I think the key here is understanding the replication and search factor settings. With a replication factor of 2, the cluster would need at least two indexers to be able to ingest data. So my guess is that the cluster would be "Indexing Ready" after Step 6, when the second indexer has joined.
ME
Melodie 2 years ago
Hmm, this question is making me hungry. I could really go for a nice StatefulSet sandwich right about now.
SH
Shawana 2 years ago
Converting to a StatefulSet and using a HorizontalPodAutoscaler scale-down policy of 0 is the most cautious approach, but it might be a bit too conservative. I'd probably go with the rolling update with a PodDisruptionBudget.
PH
Phung 1 year ago
↳ replying to Shawana
Let's go with the rolling update with a PodDisruptionBudget then. It's the safest bet.
MA
Maricela 1 year ago
↳ replying to Shawana
I would go with option A as well. It's better to minimize risk.
PA
Pauline 1 year ago
↳ replying to Shawana
Yeah, I agree. It's a cautious approach without being too conservative.
EM
Emerson 1 year ago
↳ replying to Shawana
I think option A sounds like a good choice.
DE
Devorah 2 years ago
Converting the Deployment to a StatefulSet and using a PodDisruptionBudget of 80% is an interesting approach, but it might be overkill for a simple application update. Seems like a lot of extra complexity.
HO
Howard 1 year ago
↳ replying to Devorah
Converting to a StatefulSet might be too complex for this situation.
AL
Allene 1 year ago
↳ replying to Devorah
C) Convert the Deployment to a StatefulSet, and perform a rolling update with a PodDisruptionBudget of 80%.
MI
Micaela 1 year ago
↳ replying to Devorah
A) Perform a rolling update with a PodDisruptionBudget of 80%.
WI
Willow 2 years ago
Using a HorizontalPodAutoscaler scale-down policy value of 0 might be a bit overkill. That would prevent any pods from being scaled down during the update, which could lead to a lot of unnecessary resource usage.
LU
Luis 2 years ago
↳ replying to Willow
Using a PodDisruptionBudget of 80% is a safer option to minimize risk.
ME
Mendy 2 years ago
↳ replying to Willow
A) Perform a rolling update with a PodDisruptionBudget of 80%.
HA
Haydee 2 years ago
Rolling update with a PodDisruptionBudget of 80% sounds like a good way to minimize the risk. It'll ensure that a certain percentage of the pods are always available during the update.
KA
Katlyn 2 years ago
Why do you think option D is better?
DE
Denny 2 years ago
I disagree, I believe option D is the best choice.
KA
Katlyn 2 years ago
I think we should go with option A.
0/2000 characters

Save Cancel