InterviewStack.io LogoInterviewStack.io

Feature Engineering and Feature Stores Questions

Transforming raw data into predictive model inputs and serving those features reliably. Covers feature creation and selection, encoding high-cardinality and categorical variables, representation learning, and the design of feature stores for training/serving consistency. Emphasizes features as a primary lever on model quality and the operational challenges of keeping them fresh and consistent.

MediumTechnical
85 practiced

Propose a feature-versioning scheme to support reproducible model training: what you'd need to track per version to make a training run fully reproducible, how versions are named, how older versions stay available, and what API lets you snapshot a training feature set so a model can always be retrained on exactly the features it originally saw.

MediumTechnical
107 practiced

Implement an in-memory LRU cache for feature lookups: support get/set with optional per-entry TTL, a fixed capacity with automatic eviction, and thread-safe concurrent access. Explain why LRU is a reasonable default policy here and describe two production failure modes to watch for (cache churn under a skewed key distribution, and cold-start when the cache is empty after a restart).

MediumTechnical
65 practiced

What is training-serving skew, what typically causes it, and how do feature stores and engineering practices detect and prevent it? Walk through concrete detection and prevention techniques you'd actually put in place, not just the definition.

HardTechnical
61 practiced

A feature is expensive to materialize but is only needed by a small fraction of queries; separately, a feature requires calling a paid third-party enrichment API under a strict monthly budget. Propose a tiered (hot/warm/cold) storage-and-serving approach with an eviction policy and fallback strategy, including a worked cost/latency estimate, and describe sampling, hybrid materialization, and caching strategies that make either scenario affordable.

MediumSystem Design
77 practiced

Design a Service Level Objective framework for an online feature-serving API with a strict availability and latency target (for example 99.9% availability, 95th-percentile latency under 50ms, at high query volume). Cover key components: SLA targets, monitoring metrics, alerting thresholds, degradation modes, and how you'd communicate the guarantees to downstream model owners. Include how caching tiers (edge, in-memory, persistent) and eviction/TTL policy help meet the target under traffic spikes.

Unlock Full Question Bank

Get access to all Feature Engineering and Feature Stores interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.