Evaluate Quantile Forecasts for Google Cloud Capacity Planning

Last updated: November 29, 2026

Quick Overview

A model forecasts next week's CPU demand per Google Cloud zone so that capacity can be provisioned with a target of running out less than 5 percent of the time. Explain why point accuracy metrics are the wrong yardstick and how to evaluate the model's quantile forecasts.

Google
Machine Learning
Data Scientist
Google
November 29, 2026
Data Scientist
Onsite
Machine Learning
Hard

0

0

0 solved


A model forecasts next week's CPU demand per Google Cloud zone so that capacity can be provisioned with a target of running out less than 5 percent of the time. Explain why point accuracy metrics are the wrong yardstick and how to evaluate the model's quantile forecasts.

Capacity planning trades idle hardware cost against stockouts that hurt customers. Interviewers at Google use this to see if you can connect the business objective to the right forecast target (a high quantile) and evaluate both its accuracy and its calibration.

What the Interviewer Expects
  • Explains that the decision needs a high quantile, not the mean
  • Defines pinball (quantile) loss and why it is minimized by the true quantile
  • Checks calibration via empirical coverage of each quantile
  • Uses interval sharpness and the cost trade-off alongside coverage
  • Slices by zone size and growth regime
Key Topics to Cover
quantile regression
pinball loss
forecast calibration
coverage
capacity planning
How to Approach This
  1. Understand the bias-variance trade-off. High training accuracy but low test accuracy signals overfitting.
  2. Choose evaluation metrics carefully based on the problem. Accuracy alone is often insufficient.
  3. Feature engineering is often more impactful than model selection.
  4. Know when to use tree-based models (tabular data) vs neural networks (unstructured data).
  5. Handle class imbalance with SMOTE, class weights, or appropriate loss functions.
Possible Follow-up Questions
  • How would you evaluate an entire predictive distribution instead of one quantile?
  • Coverage is 95 percent overall but 80 percent in fast-growing zones. What now?
  • How do you translate under-forecast and over-forecast into dollar cost?
Sharpen Your Skills on Codemia

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

Explore ML Interview Prep
Sample Answer
Clarify

Ask how far ahead we provision (lead time on hardware), the target stockout rate (5 percent per zone-week), the costs of idle versus missing capacity, and whether forecasts are per zone or aggregated....

Approach

If we provision at the forecast mean, we run out roughly half the time. The decision needs the 95th percentile of demand. So the model should output quantiles, and evaluation should check two things: ...


Submit Your Answer
Markdown supported