Explaining Away a Deploy When a Traffic Spike Also Fires the Alert
Last updated: November 29, 2026
Quick Overview
A latency alert fires with probability 0.99 if a bad deploy and a traffic spike both occur, 0.9 for a bad deploy alone, 0.8 for a spike alone, and 0.01 otherwise; deploys go bad 10% of the time and spikes happen 5% of the time, independently. Find P(bad deploy | alert), then the same probability once you also learn a spike happened.
Meta
November 29, 20260
0
0 solved
A latency alert fires with probability 0.99 if a bad deploy and a traffic spike both occur, 0.9 for a bad deploy alone, 0.8 for a spike alone, and 0.01 otherwise; deploys go bad 10% of the time and spikes happen 5% of the time, independently. Find P(bad deploy | alert), then the same probability once you also learn a spike happened.
Meta's production engineering culture leans heavily on fast root-causing during incidents, and this question tests probabilistic reasoning about competing causes. The interviewer is checking whether you can compute in a small Bayesian network and articulate the explaining-away effect that makes independent causes dependent once you condition on their common effect.
What the Interviewer Expects
- Writes the joint over deploy and spike with the alert likelihoods
- Computes P(alert) by summing the four cases
- Gets P(deploy | alert) correctly
- Recomputes after conditioning on the spike and explains the drop
- Connects the result to incident triage practice
Key Topics to Cover
How to Approach This
- Define your hypotheses (H0 and H1) clearly before performing any test.
- Calculate required sample size BEFORE running an experiment, using power analysis.
- Remember the Central Limit Theorem: sample means become approximately normal with large n.
- Watch for Simpson's paradox. Always segment data by key dimensions.
- Distinguish between statistical significance and practical significance.
Possible Follow-up Questions
- What is P(deploy | alert, no spike), and why does it rise?
- Are deploy and spike independent after conditioning on the alert?
- How would you learn these conditional probabilities from incident history?
- How would you extend this to five candidate causes without enumerating everything?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Statistics QuestionsSample Answer
Clarify
Variables: (bad deploy), (spike), (alert). , , independent a priori. , , , ...
Approach
Enumerate the four cases, weight each by prior times alert likelihood, and normalize over the cases consistent with the evidence....