MLCrack

    ML SYSTEM DESIGN & MLOPS Β· INTERVIEW QUESTION

    What is a feature store? Why is it important for ML systems?

    🟑 intermediate · ML Pipelines

    Hint: Think about training-serving skew and feature reuse.

    Answer

    A feature store is a centralized platform for storing, managing, and serving ML features. It bridges the gap between feature engineering in training and feature serving in production.

    Components:

    1. Feature registry: catalog with metadata, owners, documentation.

    2. Offline store: historical features for training (data warehouse, S3).

    3. Online store: low-latency serving for inference (Redis, DynamoDB).

    4. Transformation engine: consistent computation for both stores.

    Key benefits:

    1. Prevents training-serving skew: same feature logic used everywhere.

    2. Feature reuse: teams share features instead of duplicating work.

    3. Point-in-time correctness: prevent future data leakage during training.

    4. Monitoring: track feature freshness, quality, drift. Popular tools: Feast (open source), Tecton, Hopsworks, SageMaker Feature Store. Essential for organizations with multiple ML models sharing common features.