PROFESSIONAL-CLOUD-DEVELOPER · Question #362
PROFESSIONAL-CLOUD-DEVELOPER Question #362: Real Exam Question with Answer & Explanation
The correct answer is A: Split traffic between versions using weights.. A/B testing requires distributing traffic in a controlled, randomized manner between different versions of your application. Weighted traffic splitting allows you to direct a specific percentage of traffic to the new version (with the new algorithm) and the rest to the current ve
Question
You work for an organization that manages an ecommerce site. Your application is deployed behind an external Application Load Balancer. You need to test a new product recommendation algorithm. You plan to use A/B testing to determine the new algorithm's effect on sales in a randomized way. How should you test this feature?
Options
- ASplit traffic between versions using weights.
- BEnable the new recommendation feature flag on a single instance.
- CMirror traffic to the new version of your application.
- DUse HTTP header-based routing.
Explanation
A/B testing requires distributing traffic in a controlled, randomized manner between different versions of your application. Weighted traffic splitting allows you to direct a specific percentage of traffic to the new version (with the new algorithm) and the rest to the current version. This approach provides a statistically valid way to compare the two versions’ performance and assess the impact on sales. HTTP header-based routing could target specific user segments but would not ensure random distribution for A/B testing. Mirroring traffic duplicates requests without user interactions being served by the new version, which doesn’t provide direct test results. Enabling the feature on a single instance does not provide a randomized, scalable test approach.
Topics
Community Discussion
No community discussion yet for this question.