InterviewStack.io LogoInterviewStack.io

Batch, Streaming, and Real-Time Serving Trade-offs Questions

Reasoning about when to use batch, micro-batch, or continuous streaming and how to serve low-latency analytics: latency, cost, complexity, and correctness trade-offs; lambda vs kappa architectures; and reprocessing semantics. Covers real-time aggregation, freshness vs consistency trade-offs, and reconciling streaming results with batch ground truth, including geospatial and high-throughput real-time workloads under eventual consistency. The data-systems judgment topic for choosing and reconciling batch versus real-time approaches, distinct from the hands-on streaming transport itself.

MediumTechnical
33 practiced

Compare the Lambda and Kappa architectures for combining batch and streaming processing: what components does each have, what operational complexity does maintaining two codepaths (Lambda) versus a single replayable streaming codepath (Kappa) actually cost you, and when would you choose one over the other?

EasyTechnical
34 practiced

Explain the real differences between batch processing and stream processing for a production data platform: latency, throughput, cost, operational complexity, and correctness. Give one concrete workload that clearly favors each approach, and describe a scenario where a hybrid of the two is the right call.

MediumTechnical
32 practiced

A product team requests near-real-time personalization requiring sub-100ms reads and 1,000 writes/sec. Decide between a stateful streaming architecture and a micro-batch near-real-time approach: compare latency, cost, operational complexity, and developer velocity, and propose a recommended architecture with a migration plan from whatever exists today.

HardTechnical
37 practiced

A team needs both retrainable ML models (which want reproducible, accurate historical data) and low-latency online scoring. Which would you recommend, Lambda or Kappa, and why? Sketch how you would migrate from the other architecture with minimal risk, and describe how you'd keep the online features and the periodic batch snapshots used for training reconciled with each other.

HardSystem Design
33 practiced

You must recommend moving a high-throughput analytics pipeline from nightly batch to near-real-time streaming. Build a decision framework comparing latency, cost, operational complexity, data correctness, and business value, then outline a phased migration plan (parallel run, parity validation, cutover) and a rollback strategy.

Unlock Full Question Bank

Get access to all 9 Batch, Streaming, and Real-Time Serving Trade-offs interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.