
Answer-first summary for fast verification
Answer: Use an external HTTP(S) load balancer to route a predetermined percentage of traffic to two different color schemes of your application. Analyze the results to determine whether there is a statistically significant difference in sales.
Option A is the correct approach because it allows for a controlled A/B test by splitting traffic between two versions of the application using an external HTTP(S) load balancer. This method enables the comparison of sales performance between the original and new color schemes under similar conditions, ensuring statistical significance. Options B and C do not facilitate concurrent testing, and while option D is a valid method, it involves application-level changes rather than leveraging infrastructure capabilities for traffic splitting.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
How should you design a study to test whether a new color scheme increases sales for a global ecommerce web application hosted on Cloud Run, using live production traffic?
A
Use an external HTTP(S) load balancer to route a predetermined percentage of traffic to two different color schemes of your application. Analyze the results to determine whether there is a statistically significant difference in sales.
B
Use an external HTTP(S) load balancer to route traffic to the original color scheme while the new deployment is created and tested. After testing is complete, reroute all traffic to the new color scheme. Analyze the results to determine whether there is a statistically significant difference in sales.
C
Use an external HTTP(S) load balancer to mirror traffic to the new version of your application. Analyze the results to determine whether there is a statistically significant difference in sales.
D
Enable a feature flag that displays the new color scheme to half of all users. Monitor sales to see whether they increase for this group of users.
No comments yet.