Machine Learning & Data Science
126 questionsDONEUNLOCKEDLOCKED
Classical ML, embeddings, metrics (precision/recall, AUC, calibration), experiment design and statistics: the modeling fundamentals applied AI roles still test alongside GenAI.
Grounded in real GenAI, LLM, and AI/ML engineering interview loops and written to a senior-engineer editorial bar.
You have 10 free answers unlocked here.Sign in free for 10 more · 106 are premium.
01–51Foundationsthe vocabulary every loop assumes you already have0/51 done
52–96Core loopsthe questions every loop actually asks0/45 done
97–126Field scenariosthe messy, half-specified problems from real deployments0/30 done
The concepts behind Machine Learning & Data Science
The vocabulary and mental models these questions assume, from our curriculum. Start with the foundations free; the deeper, interview-defining ideas are part of premium.
Core
Information Theory for MLML rests on four information-theoretic quantities: entropy (how uncertain a distribution is), cross-entropy (the cost of modeling the true distribution with your predicted one, the classification loss), KL divergence (the gap between two distributions), and mutual information (how much one variable reveals about another). You meet them as the loss you minimize, the regularizer inside VAEs and RLHF, and the split criterion in decision trees. AI, ML, and GenAI engineer interviews test this because cross-entropy and KL sit under training, distillation, and alignment.Sign in
Foundational
Probability Distributions You Should KnowA small set of distributions covers most modeling situations: Bernoulli and binomial for yes/no outcomes and counts of successes, normal for sums and measurement noise, Poisson for event counts in a window, and exponential for waiting times. AI, ML, and GenAI engineer interviews probe this because the distribution you assume is the loss you minimize: Bernoulli yields cross-entropy, normal yields mean-squared error, and naming that link shows you grasp what a model is actually fitting.Core
MLE, MAP, and Bayesian vs FrequentistMaximum likelihood chooses the parameters that make the observed data most probable; MAP adds a prior and chooses the most probable parameters given the data. MAP reduces to MLE when the prior is flat, and the prior serves as regularization. AI, ML, and GenAI engineer interviews probe this to check whether you know where priors enter your models, why L2 regularization is a Gaussian prior in disguise, and the practical split between point estimates and full posteriors.Sign in
Core
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.Sign in
Core
Hypothesis Testing and p-valuesHypothesis testing asks whether an observed effect is large enough to be unlikely under a null hypothesis of no effect, condensed into a p-value. The trap is treating the p-value as the probability the null is true, overlooking effect size, or running many tests and reporting only the winners. AI, ML, and GenAI engineer interviews probe it because it is the inference engine behind A/B testing and any claim that a model change actually helped.Sign in
Core
Sampling Techniques: Stratified, Reservoir, ImportanceSampling techniques decide which subset of data you train on, evaluate on, or stream through, and that choice quietly determines whether your numbers match reality. The core methods are uniform, stratified, reservoir for unbounded streams, and importance sampling for rare or reweighted events. AI, ML, and GenAI engineer interviews probe this because a biased sample yields a confidently wrong model and an eval set that lies about production performance.Sign in
Core
Causal Inference: Confounders and IdentificationCausal inference is the discipline of estimating what would happen if you intervened, not merely what correlates in observed data. It centers on confounders, randomization as the gold standard, and quasi-experimental methods (diff-in-diff, instrumental variables, propensity scores) for when a clean experiment is out of reach. AI, ML, and GenAI engineer interviews probe it because product and model decisions turn on whether a measured lift is real or an artifact of who self-selected into the treatment.Sign in
Foundational
Gradient Descent and OptimizersGradient descent is how models learn: compute the gradient of the loss with respect to the parameters and step opposite it to cut error. Mini-batch SGD (a small batch per step) is the workhorse, trading off stable gradients against speed and GPU parallelism. Momentum smooths the path, and Adam (momentum plus per-parameter adaptive rates) is the default. The learning rate is the most important knob, scheduled with warmup and decay. AI, ML, and GenAI engineer interviews probe it because it underlies all training and the failure modes (divergence, getting stuck) are diagnosable.