Which Region Most Likely Produced a Failed Feed Request

Last updated: November 29, 2026

Quick Overview

Feed traffic is 50% US, 30% Europe, and 20% Asia Pacific, with request failure rates of 1%, 2%, and 4%. Given that a randomly sampled request failed, what is the probability it came from Asia Pacific?

Meta
Statistics & Math
Software Engineer
Meta
November 29, 2026
Software Engineer
Phone Screen
Statistics & Math
Easy

0

0

0 solved


Feed traffic is 50% US, 30% Europe, and 20% Asia Pacific, with request failure rates of 1%, 2%, and 4%. Given that a randomly sampled request failed, what is the probability it came from Asia Pacific?

Production engineers at Meta triage errors by region and cluster, and this warm-up checks that a candidate can turn traffic shares and error rates into a posterior. The interviewer is looking for the law of total probability, clean arithmetic, and a sensible read of what the answer means for on-call routing.

What the Interviewer Expects
  • Defines events and states prior traffic shares
  • Computes overall failure rate with total probability
  • Applies Bayes to get the posterior for each region
  • Checks posteriors sum to 1
  • Explains why the smallest region can dominate errors
Key Topics to Cover
Bayes theorem
Law of total probability
Base rates
Error attribution
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
  • What if you sampled one failed request per region instead of uniformly from all failures?
  • How would you update after learning the failure was a timeout that only happens in two regions?
  • How would you alert on a region whose share of failures departs from this baseline?
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

Let R∈{US,EU,AP}R\in\{US, EU, AP\} with P(US)=0.5P(US)=0.5, P(EU)=0.3P(EU)=0.3, P(AP)=0.2P(AP)=0.2 and failure rates P(F∣US)=0.01P(F\mid US)=0.01, P(F∣EU)=0.02P(F\mid EU)=0.02, P(F∣AP)=0.04P(F\mid AP)=0.04. The sampled request is drawn uniformly from all reques...

Approach

First compute P(F)P(F) by the law of total probability, then divide each region's joint mass by it....


Submit Your Answer
Markdown supported