Google Cloud Professional Cloud DevOps Engineer — Question 147
You are designing a deployment technique for your applications on Google Cloud. As part of your deployment planning, you want to use live traffic to gather performance metrics for new versions of your applications. You need to test against the full production load before your applications are launched. What should you do?
Answer options
- A. Use A/B testing with blue/green deployment.
- B. Use canary testing with continuous deployment.
- C. Use canary testing with rolling updates deployment.
- D. Use shadow testing with continuous deployment.
Correct answer: D
Explanation
The correct choice is D, as shadow testing allows you to run the new version alongside the current version using live traffic, without impacting users. This method is effective for gathering performance metrics under full production load. A/B testing, canary testing, and rolling updates do not provide the same level of live traffic assessment for performance metrics before a full launch.