Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Professional Cloud Developer All Questions

View all questions & answers for the Professional Cloud Developer exam

Exam Professional Cloud Developer topic 1 question 9 discussion

Actual exam question from Google's Professional Cloud Developer
Question #: 9
Topic #: 1
[All Professional Cloud Developer Questions]

You have an application deployed in production. When a new version is deployed, some issues don't arise until the application receives traffic from users in production. You want to reduce both the impact and the number of users affected.
Which deployment strategy should you use?

  • A. Blue/green deployment
  • B. Canary deployment
  • C. Rolling deployment
  • D. Recreate deployment
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
hasithalakshan
1 month, 1 week ago
B Canary deployment allows you to release a new version of your application to a small subset of users before rolling it out to everyone. This strategy helps you identify potential issues with the new version while minimizing the impact on users, as only a small portion of traffic is directed to the new version initially.
upvoted 1 times
...
hlljyj
5 months, 2 weeks ago
this is A, Canary is a Testing strategy not a deployment strategy.
upvoted 1 times
...
santoshchauhan
8 months, 3 weeks ago
Selected Answer: B
B. Canary deployment: In this strategy, the new version of the application (the "canary") is rolled out to a small subset of users before it is made available to the entire user base. This allows you to monitor the performance and stability of the new version in the real-world production environment with actual traffic, but only affects a small group of users. If issues arise, the canary deployment can be rolled back with minimal impact.
upvoted 1 times
...
theseawillclaim
9 months, 2 weeks ago
Selected Answer: B
That's exactly what Canary Deployment is for.
upvoted 1 times
...
wanrltw
1 year ago
Selected Answer: B
B: https://cloud.google.com/architecture/application-deployment-and-testing-strategies#canary_test_pattern
upvoted 1 times
...
__rajan__
1 year, 2 months ago
Selected Answer: B
I would go with B as it is best suited for this senario.
upvoted 1 times
...
telp
1 year, 10 months ago
Selected Answer: B
answer is B to reduce impact on users because it's a progressive release
upvoted 2 times
...
Mark123321
1 year, 11 months ago
Selected Answer: A
I think A is correct because of the switching to green only happens after you perform all the tests on it. So you can also test traffic (to satisfy the question) This is the point of blue-green deployment as far as I understood it. B is not correct because the real traffic is switched partially to new version immediately and so it effects some users. reference: https://digitalvarys.com/what-is-blue-gren-deployment/
upvoted 1 times
...
jcataluna
1 year, 12 months ago
Selected Answer: B
Blue/Green is 100% users to Green, Canary id progressive. B.
upvoted 1 times
...
tomato123
2 years, 3 months ago
Selected Answer: B
B is correct
upvoted 2 times
...
maxdanny
2 years, 4 months ago
For me it's B, in Canary Deployment only a percentage of users receives the new version and therefore in case of error immediately rollback , B/G immediately the new version , Green, receive all traffic and Blue marked as deprecated
upvoted 1 times
...
PetervanLeeuwen
2 years, 4 months ago
I think the concept of google about B/G testing is that there is a shadow running next to production that receives the same traffic as production. When this shadow is not having any errors you can update the shadow to PROD. So no user is impacted, since all possible new errors will occur in the shadow and not in prod.
upvoted 1 times
PetervanLeeuwen
2 years, 4 months ago
Find more info here: https://cloud.google.com/architecture/implementing-deployment-and-testing-strategies-on-gke#perform_a_bluegreen_deployment
upvoted 1 times
...
...
ruben82
2 years, 6 months ago
Selected Answer: B
For me is B. But I cannot understand why all purchased exam test with this question, put Blue/Green as correct answer. It's so clear that Canary is the rightest one 'cos forward only a few of users to new deploy (not every as blue/green) and also allow the rollback action
upvoted 1 times
...
nazonazonazo
2 years, 9 months ago
B is correct. Blue Green(B/G) affects all users.
upvoted 1 times
...
HolaBaby
2 years, 11 months ago
Selected Answer: B
1. Reducing impact 2. Number of users affected If you want meet both of the conditions, you need to choose Canary
upvoted 3 times
...
tendzen
3 years ago
I think it is B, but correct answer is A, hmmm....... if we think that we need to test 100% of the traffic, i.e. create a full working test, then right A, because if there is an error we can quickly go back to the old version
upvoted 1 times
...
wilwong
3 years, 4 months ago
Agree B
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...