
Answer-first summary for fast verification
Answer: Use canary testing with continuous deployment.
To gather performance metrics for new versions of your applications using live traffic and test against the full production load before launch, the most suitable approach is canary testing with continuous deployment. Canary testing allows you to roll out changes to a small subset of users before making them available to everybody, which is ideal for testing against live traffic without affecting all users. Continuous deployment ensures that the new version is automatically deployed to the canary group, allowing for seamless testing and feedback collection. This method provides a balance between risk and the need for real-world performance data. Options A and D are less suitable because A/B testing with blue/green deployment involves routing traffic between two distinct environments, which may not provide the same level of performance metric gathering against full production load, and shadow testing involves duplicating traffic to a new version without affecting users, which does not test against live user interactions. Option C, while mentioning canary testing, pairs it with rolling updates deployment, which is more about gradually replacing instances of the old version with the new one rather than specifically targeting live traffic for performance metrics.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You are designing a deployment strategy for your applications on Google Cloud. As part of your deployment planning, you want to use live production traffic to collect performance metrics for new application versions. You need to test against the full production workload before fully launching your applications. What should you do?
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.
No comments yet.