Estimation question

Estimate the compute cost of hosting ~1M free interactive Spaces.

Practice this question out loud. An AI interviewer asks it, follows up like a real interviewer would, and scores your answer. Type or speak.

Start a mock interview on this question · Mock interview from a job description

What this question tests

Structured estimation under real infrastructure constraints, not just multiplying arbitrary numbers.

How to approach it

  1. State assumptions upfront: assume 1 million Spaces exist, but only a fraction are actively visited or running at any time, since most free Spaces sleep when idle.
  2. Estimate active fraction: assume 5 percent, or 50,000 Spaces, are awake at a given moment due to a recent visit, based on typical idle-timeout behavior.
  3. Estimate per-Space compute: assume a modest CPU or small GPU instance costing roughly 0.10 to 0.50 dollars per hour depending on tier.
  4. Multiply: 50,000 active Spaces times an assumed 0.20 dollars per hour average equals roughly 10,000 dollars per hour, or about 240,000 dollars per day.
  5. Sanity check against scale: note this is a rough order of magnitude, and the real number depends heavily on idle-timeout policy and GPU versus CPU mix.

What a strong answer includes

Common mistakes

Likely follow-up questions

More estimation questions

More questions from Hugging Face

Learn the skill behind it

Chapters of the AI PM course that teach what this question tests.

Preparing for a specific role?

Book summaries for this kind of question

Browse all 4,000+ questions in the bank