Design an ML feature store that supports offline feature engineering and online low-latency serving with consistency guarantees.
- Feature registry & schema/versioning; lineage and governance
- Offline pipeline (batch) and online pipeline (stream) materialization
- Consistency: point-in-time correctness, training/serving skew reduction
- Storage: offline (data lake) vs online (KV/Redis) with TTL/backfills
- Serving APIs, caching, and multi-tenant quotas/SLA
- Monitoring: feature drift, nulls, and freshness
- 💡Point-in-time joins are essential for correctness.
- ⚠️**Data Latency Mismatches:** Insufficient buffering or delayed event processing in the streaming pipeline can lead to stale features being served online, while offline pipelines are up-to-date.
- ⚠️**Inconsistent Transformation Logic:** Using different codebases or versions for feature transformations in offline and online pipelines will inevitably lead to training-serving skew.
- ⚠️**Lack of Point-in-Time Correctness in Offline Data:** Failing to accurately reconstruct historical feature states can lead to models being trained on data that wasn't available at that specific time.
- ⚠️**Schema Drift without Versioning:** Unmanaged changes to feature schemas can break downstream models and pipelines without proper tracking and notification.
- ⚠️**Performance Bottlenecks in Online Serving:** Overly complex transformations or inefficient data retrieval from the online store can result in unacceptable inference latency.
- ❓How do you deprecate a feature safely?
- ❓How do you backfill online features?
Ready to prove your AWS ML knowledge?
Practice with free Machine Learning Specialty (MLS-C01) exam questions. Instant answers and detailed explanations — no account required.
Start free practice quizQuestions that share similar topics with this one
Design a Real-Time Analytics Pipeline
AdvancedDesign Ad Impression & Click Tracking
AdvancedDesign a Recommendation Service
AdvancedDesign a Fraud Detection System
AdvancedDesign a Global Distributed Rate Limiter
AdvancedDeepen your knowledge with these related blog posts
Understanding JSON Formats: JSON, JSONL, NDJSON, and More
Explore different JSON formats including JSON Lines (JSONL), Newline Delimited JSON (NDJSON), and JSON Streams with practical examples and use cases.
Aurora vs RDS PostgreSQL vs EC2: Costs, Performance & Multi-Region Compared (2025)
A brutally honest comparison of running PostgreSQL on Aurora, RDS, and EC2. We cover costs, performance, failover, global replicas, and all the tradeoffs AWS won't tell you in their marketing docs.
Multitenancy Done Right: Building Secure, Cost-Effective SaaS Applications
A battle-tested guide to implementing multitenancy without losing sleep over data leaks or AWS bills. Learn database patterns, isolation strategies, and how AI changes the game — all from someone who's seen what happens when it goes wrong.