Probability Two of Three Azure Storage Replicas Fail Same Day

Last updated: November 29, 2026

Quick Overview

Azure Storage keeps three replicas of each block on separate nodes. If each node fails on a given day independently with probability 1%, what is the probability that at least two replicas fail on the same day, and how often should we expect it?

Microsoft
Statistics & Math
Data Scientist
Microsoft
November 29, 2026
Data Scientist
Phone Screen
Statistics & Math
Easy

0

0

0 solved


Azure Storage keeps three replicas of each block on separate nodes. If each node fails on a given day independently with probability 1%, what is the probability that at least two replicas fail on the same day, and how often should we expect it?

A probability warm-up in Microsoft data science and reliability interviews. The interviewer checks binomial reasoning, the step from probability to expected waiting time, and whether the candidate questions the independence assumption, which is the real lesson.

What the Interviewer Expects
  • Model failures as a binomial with n = 3 and p = 0.01
  • Compute P(X >= 2) exactly
  • Convert to an expected waiting time with a geometric model
  • Compare with the probability of losing all three
  • Challenge independence with correlated failure examples
Key Topics to Cover
binomial distribution
geometric waiting time
independence
reliability
How to Approach This
  1. Define your hypotheses (H0 and H1) clearly before performing any test.
  2. Calculate required sample size BEFORE running an experiment, using power analysis.
  3. Remember the Central Limit Theorem: sample means become approximately normal with large n.
  4. Watch for Simpson's paradox. Always segment data by key dimensions.
  5. Distinguish between statistical significance and practical significance.
Possible Follow-up Questions
  • Failures are correlated: with probability 0.1% a whole rack fails, taking two replicas. Recompute.
  • How many replicas would you need to push daily loss probability below one in a billion?
  • Repairs take two days, not one. How does the risk change?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Browse Statistics Questions
Sample Answer
Clarify

I would confirm that 'fail' means unavailable for the day, that failures are independent across nodes and days, and that the question asks about at least two of the three, not exactly two....

Approach

Let XX be the number of failed replicas on a day, X∼Binomial(3,0.01)X \sim \text{Binomial}(3, 0.01). Compute P(X≥2)=P(X=2)+P(X=3)P(X \ge 2) = P(X = 2) + P(X = 3). The number of days until the first such event is geometric, with mean ...


Submit Your Answer
Markdown supported