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 133 discussion

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

You recently deployed your application in Google Kubernetes Engine, and now need to release a new version of your application. You need the ability to instantly roll back to the previous version in case there are issues with the new version. Which deployment model should you use?

  • A. Perform a rolling deployment, and test your new application after the deployment is complete.
  • B. Perform A/B testing, and test your application periodically after the new tests are implemented.
  • C. Perform a blue/green deployment, and test your new application after the deployment is. complete.
  • D. Perform a canary deployment, and test your new application periodically after the new version is deployed.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Blueocean
Highly Voted 2 years, 3 months ago
Option C is correct
upvoted 8 times
...
__rajan__
Most Recent 7 months, 1 week ago
Selected Answer: C
C is correct.
upvoted 1 times
...
purushi
8 months, 3 weeks ago
Selected Answer: C
The key here is rolling back to the previous deployments if we find issues with the current(latest) deployment. With Canary, only certain portion of the traffic is allowed to newer version that does on the fly testing. With A/B, certain portion of the traffic is split to the dedicated testers to confirm everything is fine with the newer version.
upvoted 1 times
...
omermahgoub
1 year, 3 months ago
Selected Answer: C
C. Perform a blue/green deployment, and test your new application after the deployment is complete. A Blue/Green deployment is a technique that allows you to release new versions of an application while maintaining the ability to roll back to the previous version if there are issues. It works by having two identical production environments: one, the "green" environment, that is serving traffic, and another, the "blue" environment, that is idle. When you want to release a new version of your application, you deploy it to the "blue" environment, test it to make sure it is working as expected and then switch traffic to the "blue" environment. This way you can have zero-downtime deployment and if there's any issues with the new version you can easily roll back to the previous version by switching the traffic back to the green environment.
upvoted 1 times
omermahgoub
1 year, 3 months ago
D. Perform a canary deployment, and test your new application periodically after the new version is deployed. Canary deployment is similar to blue/green deployment but in this approach it's rolling out the new version of application gradually, it's used to test the new version with a small percentage of the traffic before rolling it out to the entire environment, if there are issues it's harder to roll back since it's already rolled out to some of the users.
upvoted 2 times
...
omermahgoub
1 year, 3 months ago
A. Perform a rolling deployment, and test your new application after the deployment is complete. This model does not allow an instant rollback as it does not have a parallel environment to switch traffic to.
upvoted 2 times
...
omermahgoub
1 year, 3 months ago
B. Perform A/B testing, and test your application periodically after the new tests are implemented. A/B testing is used to test different versions of an application, it doesn't provide an instant rollback in case of issues.
upvoted 2 times
...
...
zellck
1 year, 4 months ago
Selected Answer: C
C is the answer. https://cloud.google.com/architecture/application-deployment-and-testing-strategies#choosing_the_right_strategy
upvoted 1 times
...
tab02733
1 year, 6 months ago
Selected Answer: C
ABCD can roll back. C the answer becomes because the condition must be an immediate rollback. https://cloud.google.com/architecture/application-deployment-and-testing-strategies#choosing_the_right_strategy
upvoted 1 times
tab02733
1 year, 6 months ago
immediate -> instant
upvoted 1 times
...
...
tomato123
1 year, 8 months ago
Selected Answer: C
C seems correct
upvoted 2 times
...
americoleonardo
1 year, 11 months ago
Selected Answer: C
Agree with b/g deployment
upvoted 1 times
...
nqthien041292
2 years ago
Selected Answer: C
Vote C
upvoted 1 times
...
Erso
2 years, 3 months ago
In my opinion is C! D could work but we do not have detailed information about the traffic (synthetic or not, if we want to move it gradually or not...) for this reason Blue/Green is probably enough
upvoted 3 times
...
scaenruy
2 years, 3 months ago
I vote C
upvoted 2 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago