QuestionQ31

Building and testing applications

You work for an organization that operates an ecommerce site. Your application is deployed behind a global HTTP(S) load balancer. You need to test a new product-recommendation algorithm. You plan to use A/B testing to determine, in a randomized manner, the new algorithm’s effect on sales. How should you test this feature?

  • A Split traffic between versions using weights.
  • B Enable the new recommendation feature flag on a single instance.
  • C Mirror traffic to the new version of your application.
  • D Use HTTP header-based routing.
Explanation

Weighted traffic splitting sends configured proportions of production requests to the existing and new application versions, creating randomized cohorts whose sales outcomes can be compared. Google Cloud documents weight-based traffic splitting as a traffic-management capability for global external Application Load Balancers and identifies A/B testing as a typical use case.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!