InterviewStack.io LogoInterviewStack.io

Stream Processing and Event Streaming Questions

Building on event-streaming platforms: Kafka and message queues, event sourcing, partitioning, consumer groups, exactly-once vs at-least-once delivery, and windowing. Covers handling late and out-of-order events, watermarks, and stateful stream operators. The core skill for real-time data engineering.

HardSystem Design
33 practiced

Design a streaming pipeline that computes a rolling metric (for example daily or weekly active users, or a per-minute revenue total) over a high-volume event stream, where a meaningful share of events arrive late. Cover ingestion, windowing, watermark strategy, exactly-once handling, and how you'd reconcile a late-arriving correction into an already-served result.

HardTechnical
37 practiced

Design an approximate windowed counting mechanism (for example Count-Min Sketch or HyperLogLog) that tolerates late and out-of-order events while bounding memory for a high-cardinality key space.

MediumSystem Design
44 practiced

Design a streaming ingestion and processing architecture for a real-time feature store serving online ML models: partitioning strategy for low-latency per-key lookups, retention/compaction choices, and how you tolerate single-node failures without serving stale or missing features.

MediumSystem Design
40 practiced

Design an end-to-end streaming pipeline that collects client-side playback events from devices and produces hourly per-title analytics for dashboards. Include the schema-registry consideration for evolving the event shape and how you handle late-arriving events.

HardTechnical
46 practiced

Compare an embedded persistent state backend (such as RocksDB) with an in-memory/heap-based state backend for a stateful stream-processing job with large keyed state. Cover checkpoint size and duration, restore time, memory pressure, and when you'd pick each, including how this compares across engines (Flink vs Spark Structured Streaming).

Unlock Full Question Bank

Get access to all 11 Stream Processing and Event Streaming interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.