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

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

You have an application that runs on Cloud Run. You want to use live production traffic to test a new version of the application, while you let the quality assurance team perform manual testing. You want to limit the potential impact of any issues while testing the new version, and you must be able to roll back to a previous version of the application if needed. How should you deploy the new version? (Choose two.)

  • A. Deploy the application as a new Cloud Run service.
  • B. Deploy a new Cloud Run revision with a tag and use the --no-traffic option.
  • C. Deploy a new Cloud Run revision without a tag and use the --no-traffic option.
  • D. Deploy the new application version and use the --no-traffic option. Route production traffic to the revision’s URL.
  • E. Deploy the new application version, and split traffic to the new version.
Show Suggested Answer Hide Answer
Suggested Answer: BD 🗳️

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, 6 months ago
A&E seem correct for using live production traffic. The question states "You want to use live production traffic to test a new version of the application,"
upvoted 5 times
Feliphus
1 year, 4 months ago
A-> You don't need a new service, you need a new version of the service. I think ans A is a wrong option B & D for me the correct
upvoted 1 times
...
...
cachopo
Most Recent 2 months, 1 week ago
Selected Answer: BE
B. Deploy a new Cloud Run revision with a tag and use the --no-traffic option. - This allows manual testing by the QA team without exposing the new version to production traffic. - Tagging the revision makes it easy to access the new version directly for testing purposes. - The --no-traffic flag ensures no production traffic is automatically routed to the new revision. E. Deploy the new application version, and split traffic to the new version. - Splitting traffic lets you test the new version with a controlled percentage of live production requests. - This method follows best practices for gradual rollouts, limiting the risk of major failures. - If issues arise, you can easily revert traffic back to the previous version.
upvoted 1 times
cachopo
2 months, 1 week ago
Why not the other options? A. Deploy the application as a new Cloud Run service. - This creates a completely separate service instead of a new revision, which is unnecessary and complicates rollback and traffic management. C. Deploy a new Cloud Run revision without a tag and use the --no-traffic option. - Without a tag, there’s no easy way for the QA team to access the new revision. - This makes manual testing less convenient compared to using a tag. D. Deploy the new application version and use the --no-traffic option. Route production traffic to the revision’s URL. - Cloud Run only routes production traffic based on explicit traffic percentages or defaults, not directly via revision URLs. - This approach does not follow best practices for controlled rollouts.
upvoted 1 times
...
...
kapara
3 months, 3 weeks ago
Selected Answer: BE
I think this should be BE.. Because option D doesn’t provide a built-in mechanism for partial traffic splitting or rolling back easily. You’d end up routing all production traffic to the new revision’s URL without the safe test approach that traffic splitting offers. This increases the risk of disruptions if there are issues.
upvoted 1 times
...
6a8c7ad
8 months, 3 weeks ago
Selected Answer: BE
Definitely E for prod traffic. And B for developer only end.
upvoted 2 times
...
alpha_canary
1 year, 2 months ago
Selected Answer: BD
B: https://cloud.google.com/run/docs/rollouts-rollbacks-traffic-migration#deploy-with-tags D: https://cloud.google.com/run/docs/rollouts-rollbacks-traffic-migration#console_1:~:text=In%20the%20form%3A-,Set%20it%20to%20the%20desired%20percentage%2C%20for%20example%2C%205.%20Note%20that%20the%20currently%20serving%20version%27s%20percentage%20is%20automatically%20reduced%20by%20that%20same%20amount.,-Click%20Save.
upvoted 1 times
...
xhilmi
1 year, 4 months ago
Selected Answer: BD
Looks like just only (option B) is the most reasonable. But after thinking harder on this question, maybe choosing (option B & D) its okey to involves deploying the new version of the application on Cloud Run by creating a new revision with a tag and using the --no-traffic option. This approach allows the isolation of the new revision from live production traffic initially. Once the deployment is complete, extensive testing can be conducted without affecting users. Subsequently, when confident in the new version's stability, production traffic can be gradually directed to it using the Cloud Run services update-traffic command. This combination ensures a controlled and risk-mitigated approach to deploying and testing new versions, with the ability to roll back if any issues arise during the testing phase.
upvoted 3 times
...
nqthien041292
1 year, 5 months ago
Selected Answer: BD
Vote BD
upvoted 1 times
...
bhunias
1 year, 5 months ago
Selected Answer: BD
I would go for BD Option E does not right as it talks about split the live traffic
upvoted 1 times
...
Andrei_Z
1 year, 5 months ago
Selected Answer: BD
I would go for BD
upvoted 2 times
...
Angel_O
1 year, 5 months ago
Selected Answer: AE
keyword: You want to use live production traffic
upvoted 3 times
...
lelele2023
1 year, 6 months ago
Selected Answer: B
https://cloud.google.com/run/docs/rollouts-rollbacks-traffic-migration#tags B is correct which targets to utilise the cloud run tag feature without serving traffic first, the idea is once tested adequately, then migrate traffic to the tagged revision. But not sure what is another answer given it is multi-choice, none of them apart from B looks reasonable.
upvoted 3 times
...
ABZ10
1 year, 6 months ago
Selected Answer: C
C should definitely be one of the options https://cloud.google.com/run/docs/rollouts-rollbacks-traffic-migration
upvoted 1 times
ABZ10
1 year, 6 months ago
disregard this. I meant B https://cloud.google.com/run/docs/rollouts-rollbacks-traffic-migration
upvoted 1 times
[Removed]
1 year, 6 months ago
But idk, it says that he wants to serve live traffic to this new version..why --no-traffic?
upvoted 1 times
Andrei_Z
1 year, 5 months ago
It receives no traffic after you deploy it but it let's you route traffic to it after that if you want to
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