What is feature freshness?

Quick Overview

This machine learning engineering question asks what feature freshness means for a model in production. It tests how staleness is measured, how batch and streaming pipelines differ, how freshness mismatches cause training-serving skew, and how teams set and monitor freshness targets.

What is feature freshness?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: easy

Interview Round: Other

What is feature freshness? Consider a model in production that reads its input features from a mix of batch and streaming pipelines. ```hint Two timestamps Think about the two moments involved, when an event happens and when the model reads a value that reflects it, and what sits between them in a batch pipeline versus a streaming one. ``` ### What a Strong Answer Covers - A precise definition, including how staleness is measured from event time to serving time - Typical staleness for batch, streaming and on-demand features - Which features lose value quickly when stale, and how a freshness mismatch between training and serving causes skew - The cost trade-off and how teams set, monitor and enforce freshness targets ### Follow-up Questions - How would you build training data so the model sees features with the same staleness it will see at serving time? - How do you decide which features deserve a streaming pipeline? - What should the model do when a feature value is older than its allowed age? - How would you monitor freshness across hundreds of features?

Overview: This machine learning engineering question asks what feature freshness means for a model in production. It tests how staleness is measured, how batch and streaming pipelines differ, how freshness mismatches cause training-serving skew, and how teams set and monitor freshness targets.

General logo
General
Nov 24, 2026
easyMachine Learning EngineerOtherMachine Learning
0
0

What is feature freshness? Consider a model in production that reads its input features from a mix of batch and streaming pipelines.

What a Strong Answer Covers Guidance

  • A precise definition, including how staleness is measured from event time to serving time
  • Typical staleness for batch, streaming and on-demand features
  • Which features lose value quickly when stale, and how a freshness mismatch between training and serving causes skew
  • The cost trade-off and how teams set, monitor and enforce freshness targets

Follow-up Questions Guidance

  • How would you build training data so the model sees features with the same staleness it will see at serving time?
  • How do you decide which features deserve a streaming pipeline?
  • What should the model do when a feature value is older than its allowed age?
  • How would you monitor freshness across hundreds of features?