PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/Machine Learning/Amazon

Build Accurate Energy Consumption Prediction Model for Utilities

Last updated: Mar 29, 2026

Quick Overview

This question evaluates a data scientist's mastery of end-to-end supervised regression for time-indexed panel data, including time-series and seasonal feature engineering, weather-dependent modeling, robust baselines, time-aware cross-validation, residual analysis, leakage prevention, and production concerns such as deployment, monitoring, and retraining triggers. It is commonly asked in Machine Learning interviews to assess practical application skills in building production-ready predictive systems rather than purely conceptual understanding, emphasizing model validation, operational monitoring, and handling of panel/time-series challenges.

  • hard
  • Amazon
  • Machine Learning
  • Data Scientist

Build Accurate Energy Consumption Prediction Model for Utilities

Company: Amazon

Role: Data Scientist

Category: Machine Learning

Difficulty: hard

Interview Round: Onsite

##### Scenario You must build a model that predicts daily energy consumption for utility clients. ##### Question Detail every step you would take to build a regression model from raw data all the way to production: data acquisition, EDA, feature engineering, model selection, training, validation, deployment, and monitoring. ##### Hints Mention baselines, cross-validation, feature scaling, residual analysis, retraining triggers.

Quick Answer: This question evaluates a data scientist's mastery of end-to-end supervised regression for time-indexed panel data, including time-series and seasonal feature engineering, weather-dependent modeling, robust baselines, time-aware cross-validation, residual analysis, leakage prevention, and production concerns such as deployment, monitoring, and retraining triggers. It is commonly asked in Machine Learning interviews to assess practical application skills in building production-ready predictive systems rather than purely conceptual understanding, emphasizing model validation, operational monitoring, and handling of panel/time-series challenges.

Related Interview Questions

  • Predicting the Next Elevator Call Location - Amazon (medium)
  • Explain Transformer and MoE Fundamentals - Amazon (medium)
  • Explain Core ML Interview Concepts - Amazon (hard)
  • Evaluate NLP Classification Models - Amazon (easy)
  • Explain overfitting, regularization, and LLM techniques - Amazon (medium)
Amazon logo
Amazon
Jul 12, 2025, 6:59 PM
Data Scientist
Onsite
Machine Learning
13
0

Predicting Daily Energy Consumption: End-to-End Regression to Production

Context

You need to build and productionize a supervised regression model that predicts next-day daily energy consumption (kWh) for utility clients (a panel of customers/meters). The data is time-indexed and exhibits strong seasonality and weather dependence.

Task

Describe, in order, the exact steps you would take from raw data to a monitored production system, covering:

  1. Data acquisition and definition of the prediction problem
  2. Data quality checks and exploratory data analysis (EDA)
  3. Feature engineering
  4. Baselines and model selection
  5. Training, validation, and cross-validation design
  6. Model evaluation and residual analysis
  7. Productionization (pipelines, deployment)
  8. Monitoring, alerting, and retraining triggers

Requirements

  • Mention strong baselines (e.g., yesterday/last-week, seasonal averages)
  • Use appropriate cross-validation for time series/panel data
  • Address feature scaling and encoding
  • Perform residual analysis and guard against leakage
  • Define concrete retraining triggers

Solution

Show

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...

Browse More Questions

More Machine Learning•More Amazon•More Data Scientist•Amazon Data Scientist•Amazon Machine Learning•Data Scientist Machine Learning
PracHub

Master your tech interviews with 8,000+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.