You want to run an A/B test for two model versions: v1 and v2. You configure the traffic split as 70% to v1 and 30% to v2. What will happen to incoming user requests?
Think about how traffic splitting works in A/B testing to distribute load.
In A/B testing, traffic split means the percentage of incoming requests routed to each model version. Here, 70% go to v1 and 30% to v2, so requests are distributed accordingly.
You run an A/B test comparing model v1 and v2. The output metrics show:
{"v1_accuracy": 0.85, "v2_accuracy": 0.88, "v1_requests": 700, "v2_requests": 300}What does this output tell you?
Look at accuracy values and request counts carefully.
The metrics show v2 has better accuracy (0.88 vs 0.85) and received 300 requests, which is 30% of total 1000 requests, matching the 70/30 traffic split.
You want to deploy a new model version v3 as a canary with 10% traffic, while 90% remains on v2. Which YAML snippet correctly configures this traffic split in a Kubernetes service mesh?
Remember weights must add up to 100 and match the desired traffic percentages.
The correct config routes 90% traffic to v2 and 10% to v3. Option D matches this exactly. Others reverse weights or split incorrectly.
After running an A/B test for 24 hours, you notice model v2 received 80% of traffic instead of the configured 50%. What is the most likely cause?
Consider what controls traffic distribution and what might cause imbalance.
Incorrect traffic routing weights or config changes can cause skew. Crashes or sticky sessions could cause issues but would not consistently cause 80% traffic to v2 unless config changed. Monitoring errors do not affect actual traffic.
Arrange the following steps in the correct order to perform a safe A/B test deployment of a new model version:
- Analyze test results and decide winner
- Deploy new model version alongside existing
- Configure traffic split between old and new versions
- Monitor performance and collect metrics
Think about the logical flow from deployment to decision.
First deploy the new model alongside the old (1), then configure traffic split (2) to start sending requests to both. Next monitor and collect metrics (3), and finally analyze results to decide the winner (4).