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.

Google
Statistics & Math
Data Scientist
Google
November 29, 2026
Data Scientist
Onsite
Statistics & Math
Hard

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
survival analysis
right censoring
maximum likelihood
exponential distribution
exposure time
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
  • 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 Questions
Sample Answer
Clarify

Each machine ii has an observed time tit_i: the failure time if it failed, or 30 days if still healthy (right-censored). Let δi=1\delta_i = 1 for a failure. Assume i.i.d. exponential lifetimes with rat...

Approach

Failures contribute the density λe−λti\lambda e^{-\lambda t_i}; censored machines contribute the survival probability e−λtie^{-\lambda t_i}. Maximize the log-likelihood....


Submit Your Answer
Markdown supported