PROFESSIONAL-CLOUD-DEVOPS-ENGINEER · Question #168
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…
The correct answer is D. Use shadow testing with continuous deployment. Shadow testing (also called traffic mirroring or dark launching) duplicates live production traffic and sends a copy to the new version in parallel, while the original traffic still goes to the current production version. Users are completely unaffected, but the new version…
Question
Options
- AUse A/B testing with blue/green deployment.
- BUse canary testing with continuous deployment.
- CUse canary testing with rolling updates deployment.
- DUse shadow testing with continuous deployment.
How the community answered
(49 responses)- A12% (6)
- B2% (1)
- C6% (3)
- D80% (39)
Explanation
Shadow testing (also called traffic mirroring or dark launching) duplicates live production traffic and sends a copy to the new version in parallel, while the original traffic still goes to the current production version. Users are completely unaffected, but the new version receives and processes the full production load, making it ideal for performance benchmarking under real conditions before launch. Option A (blue/green with A/B testing) routes real users to one version or the other-it exposes users to the new version rather than testing it invisibly. Options B and C (canary deployments) route only a small percentage of real user traffic to the new version-useful for gradual rollout but not for full-load testing. Shadow testing is the only approach that both uses real traffic patterns at full volume and keeps users unexposed to the new version.
Topics
Community Discussion
No community discussion yet for this question.