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?

HardTechnical
34 practiced

As the lead responsible for the migration, you must decommission a legacy nightly batch ETL and replace it with a stream-first platform. Stakeholders are worried about reliability, cost, and audits. Describe your rollout strategy: migration milestones, the KPIs you'd use to prove success, your communication plan, and the conditions under which you'd trigger a rollback.

MediumTechnical
34 practiced

You must decide between batch and streaming for two different needs at once: (A) daily aggregated revenue reports consumed by analysts, and (B) real-time fraud alerts that need to fire within 10 seconds. Walk through the trade-offs for each and justify why you would (or would not) reach for the same approach for both.

HardTechnical
29 practiced

Operations wants 1-minute near-real-time dashboards for incident monitoring; finance insists on strict reconciliation and accuracy for financial KPIs. As the lead responsible for the data, design a solution and a negotiation plan that balances speed against accuracy: the technical options (streaming vs micro-batching), a reconciliation pipeline, SLAs for each audience, and how you would get both parties to accept the trade-off.

MediumTechnical
31 practiced

A product analytics dashboard must be updated every 10 minutes and serve thousands of users. Compare three architectures: (A) pure batch with 10-minute micro-batches, (B) a streaming engine, and (C) hybrid (CDC plus periodic batch backfills). For each, discuss cost, latency, complexity, and operational burden, and pick one with justification.

Unlock Full Question Bank

Get access to all 13 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.