Estimating a Server Failure Rate From Censored Uptime Records
Last updated: November 29, 2026
Quick Overview
You monitor 200 Borg machines for 30 days; 40 fail at recorded times and the rest are still healthy at the end of the window. Assuming exponential lifetimes, derive the maximum likelihood estimate of the failure rate and explain why ignoring the healthy machines is wrong.
0
0
0 solved
You monitor 200 Borg machines for 30 days; 40 fail at recorded times and the rest are still healthy at the end of the window. Assuming exponential lifetimes, derive the maximum likelihood estimate of the failure rate and explain why ignoring the healthy machines is wrong.
Reliability questions with censoring come up for Google data scientists working on infrastructure and SRE analytics. The interviewer checks that you write the likelihood with both observed and censored terms and can interpret the estimate and its uncertainty.
What the Interviewer Expects
- Write the likelihood with density terms for failures and survival terms for censored units
- Derive lambda-hat = failures / total exposure time
- Explain bias from dropping or mis-treating censored units
- Give a standard error or interval
- Check the exponential assumption
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
- How would you get a confidence interval for lambda?
- What if failure rates rise with machine age?
- How would you handle machines added partway through the window?
- How does Kaplan-Meier relate to this setup?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Statistics QuestionsSample Answer
Clarify
Each machine has an observed time : the failure time if it failed, or 30 days if still healthy (right-censored). Let for a failure. Assume i.i.d. exponential lifetimes with rat...
Approach
Failures contribute the density ; censored machines contribute the survival probability . Maximize the log-likelihood....