Google Cloud Professional Cloud DevOps Engineer — Question 149
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.)
Answer options
- 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.
Correct answer: B, D
Explanation
The correct answers are B and D because deploying a new revision with a tag using the --no-traffic option allows for testing without affecting live traffic, while option D ensures that the new version is deployed and traffic can be directed to it if needed. Options A, C, and E do not fulfill the requirement of minimizing impact or ensuring an easy rollback process.