AIInterviewTraining logoAIInterview/Training

ab testing

AI, ML & GenAI interview questions tagged ab testing, across every topic.

16 questions · 3 unlocked for you

Concepts behind "ab testing"

The curriculum that explains the ideas these questions test.

Foundational
📊 Evaluation & ML Foundations
Offline vs Online EvaluationOffline evaluation scores a model on held-out data; online evaluation measures its impact on real users (through an A/B test). They often disagree: an offline win frequently fails to move the online metric, because offline data is a static proxy while the real world carries feedback loops, distribution shift, and second-order effects. The discipline is to gate with offline evals (fast, cheap) and confirm with online tests (the truth). AI, ML, and GenAI engineer interviews probe it because shipping on offline metrics alone is a classic, costly mistake.
Foundational
📊 Evaluation & ML Foundations
A/B TestingAn A/B test randomly splits users between a control and a variant and compares a metric to measure causal impact. The hard part is validity, not setup: peeking inflates false positives, you need enough power, a sample-ratio mismatch signals a bug, and network effects and novelty break naive tests. For ML, it is how you confirm an offline improvement really helps online, since offline gains often do not hold. AI, ML, and GenAI engineer interviews probe it because shipping on offline metrics alone is a classic mistake.
Core
📊 Evaluation & ML FoundationsSign in
CLT, Sampling, and Confidence IntervalsThe central limit theorem says a sample mean is approximately normal no matter the underlying distribution, which is why so much inference relies on the normal curve. Standard error captures how much a sample mean wobbles and shrinks as sample size grows, unlike standard deviation. AI, ML, and GenAI engineer interviews probe this because it fixes how wide a confidence interval is and therefore how long an A/B test must run.
Core
📊 Evaluation & ML FoundationsSign in
Multi-Armed BanditsA multi-armed bandit selects among options to maximize reward while learning which is best, balancing exploration (try options to learn) against exploitation (use the best-known). Algorithms include epsilon-greedy, UCB, and Thompson sampling. Bandits beat fixed A/B tests when you want to minimize regret (stop wasting traffic on losers during the test) or have many options; A/B tests win when you need a clean, unbiased measured effect. AI, ML, and GenAI engineer interviews probe it because the explore-exploit trade-off shows up in ranking, recommendation, and as a simple form of reinforcement learning.