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

Exam Professional Cloud DevOps Engineer All Questions

View all questions & answers for the Professional Cloud DevOps Engineer exam

Exam Professional Cloud DevOps Engineer topic 1 question 90 discussion

Actual exam question from Google's Professional Cloud DevOps Engineer
Question #: 90
Topic #: 1
[All Professional Cloud DevOps Engineer Questions]

You are building and deploying a microservice on Cloud Run for your organization. Your service is used by many applications internally. You are deploying a new release, and you need to test the new version extensively in the staging and production environments. You must minimize user and developer impact. What should you do?

  • A. Deploy the new version of the service to the staging environment. Split the traffic, and allow 1% of traffic through to the latest version. Test the latest version. If the test passes, gradually roll out the latest version to the staging and production environments.
  • B. Deploy the new version of the service to the staging environment. Split the traffic, and allow 50% of traffic through to the latest version. Test the latest version. If the test passes, send all traffic to the latest version. Repeat for the production environment.
  • C. Deploy the new version of the service to the staging environment with a new-release tag without serving traffic. Test the new-release version. If the test passes, gradually roll out this tagged version. Repeat for the production environment.
  • D. Deploy a new environment with the green tag to use as the staging environment. Deploy the new version of the service to the green environment and test the new version. If the tests pass, send all traffic to the green environment and delete the existing staging environment. Repeat for the production environment.
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
activist
Highly Voted 1 year, 1 month ago
Answers A and B split traffic, but C has a gradual rollout which doesn't have instant rollback. D with the blue/green deployment has instant rollback with no impact to either users or developers. I believe the answer is D.
upvoted 7 times
...
6a8c7ad
Most Recent 3 months, 1 week ago
Selected Answer: D
D. No impact
upvoted 1 times
...
BleHi
9 months, 2 weeks ago
Selected Answer: A
A. Deploying the new version to the staging environment and allowing only 1% of traffic to the latest version minimizes user and developer impact, as the majority of traffic continues to be served by the current version. Testing the latest version in the staging environment ensures that any issues can be identified and addressed before rolling out the new version to production. not C cause: Deploying the new version with a new-release tag without serving traffic in the staging environment delays the testing process and does not provide an accurate representation of how the new version performs under real-world conditions with actual traffic.
upvoted 1 times
...
alpha_canary
9 months, 3 weeks ago
Selected Answer: C
https://cloud.google.com/run/docs/rollouts-rollbacks-traffic-migration#:~:text=A%20common%20use,the%20tagged%20revision.
upvoted 2 times
...
xhilmi
11 months, 3 weeks ago
Selected Answer: A
Choose A. This approach allows for thorough testing while minimizing the risk of impacting users and developers. It provides a controlled rollout with the ability to monitor and react to any issues that may arise during the deployment process. Option A aligns with best practices for deploying and testing new versions in a microservices environment.
upvoted 2 times
cloudgenius
11 months, 1 week ago
Why not D?
upvoted 1 times
...
...
xhilmi
11 months, 3 weeks ago
Selected Answer: A
Choose A
upvoted 1 times
...
filipemotta
11 months, 3 weeks ago
Selected Answer: C
This approach allows you to deploy and test the new version without impacting users, as no traffic is directed to the new version initially. After thorough testing in the staging environment, you can confidently roll out the new version to a small percentage of users in the production environment, gradually increasing it while monitoring performance and stability. This method offers a controlled and safe way to introduce changes.
upvoted 4 times
...
Andrei_Z
1 year ago
I would go for D as it is the only one that will not impact users or devs
upvoted 2 times
...
khoukha
1 year ago
Selected Answer: C
Deploy it without serving a traffic. this approach is the optimal since we need to test it intensively. this will avoid the negative impact
upvoted 3 times
...
nhiguchi
1 year, 1 month ago
Selected Answer: A
I think A. need a canary to reduce the sphere of influence.
upvoted 4 times
...
ABZ10
1 year, 1 month ago
Selected Answer: D
D should be it
upvoted 3 times
...
activist
1 year, 1 month ago
Rethinking answer is C for using release tag. "You are deploying a new release, and you need to test the new version extensively in the staging and production environments. You must minimize user and developer impact. "
upvoted 1 times
Feliphus
11 months, 1 week ago
Answer C says "gradually", then it can not be the correct if we have to minimize user and developer impact. Answer D is the only who says "send all the traffic", I understand this is the key in this question if you wnat to minimize user and developer impact. Answer A & B establish different ratios -> gradually
upvoted 1 times
Feliphus
11 months, 1 week ago
But, after reading this link, https://cloud.google.com/run/docs/rollouts-rollbacks-traffic-migration, I could choose C perfectly. I don't know between C or D, you don't have to use the word "green" for the tag
upvoted 1 times
...
...
...
288e9f1
1 year, 1 month ago
Selected Answer: C
I will go with C
upvoted 1 times
...
ManishKS
1 year, 1 month ago
A, B, and C involve splitting traffic, which may not provide the level of isolation required for extensive testing without impacting users and developers Correct Answer is D
upvoted 1 times
lelele2023
1 year, 1 month ago
shouldn't be D since the question said that "you need to test the new version extensively in the staging and production environments.", D is a new environment. I will go with A
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 ...