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.

MediumTechnical
58 practiced

Implement an online algorithm (Welford's method) that updates a running count, mean, and variance for a numeric feature as new values arrive in a stream, without storing the full history.

HardTechnical
42 practiced

Explain how to achieve end-to-end exactly-once semantics for a pipeline that reads from Kafka, processes in a stream processor such as Flink, and writes to an external sink that does not natively support Kafka's transactions (for example a relational database or object store). Cover Kafka producer idempotence and transactions, the processor's checkpointing and two-phase-commit sink support, and idempotent writes at the sink.

EasyTechnical
46 practiced

Implement reservoir sampling to select k items uniformly at random from a stream of unknown, possibly unbounded length.

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.

HardSystem Design
38 practiced

Design a real-time model-serving path that consumes an event stream, batches inference requests onto a GPU, and writes predictions back to a downstream topic or store. What determines your batching window, and how do you bound the added latency it introduces?

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.