60% + 50% = 110%, which is more than 100% allowed for traffic split.
Step 2: Understand traffic split constraints
Traffic percentages must sum to exactly 100% to properly split user traffic between models.
Final Answer:
Percentages add up to more than 100% -> Option A
Quick Check:
Sum of percents > 100% is invalid [OK]
Hint: Traffic split percentages must total 100% [OK]
Common Mistakes:
Ignoring total percentage sum
Thinking percentages can be unequal but sum over 100
Confusing syntax error with logic error
5. You want to run an A/B test comparing model versions v1 and v2. You have 10,000 users and want to assign 70% traffic to v1 and 30% to v2. Which approach ensures consistent user assignment and fair metric tracking?
hard
A. Assign users based on hashing their user ID modulo 100 and map to traffic split
B. Assign users manually by checking their signup date
C. Assign all users to v1 for the first week, then switch all to v2
D. Randomly assign users on each request without storing assignment
Solution
Step 1: Understand consistent user assignment need
Users must always get the same model version to avoid confusing metrics and user experience.
Step 2: Evaluate assignment methods
Hashing user ID modulo 100 maps users consistently to a number 0-99, which can be split 70/30 for v1/v2.
Step 3: Reject other options
Random assignment each request causes inconsistency; switching all users breaks A/B test; manual assignment is impractical and biased.
Final Answer:
Assign users based on hashing their user ID modulo 100 and map to traffic split -> Option A