InterviewStack.io LogoInterviewStack.io

Stream Processing and Event Streaming Questions

Designing and operating systems that ingest, process, and serve continuous event streams with low latency and high throughput. Core areas include architecture patterns for stream native and event driven systems, trade offs between batch and streaming models, and event sourcing concepts. Candidates should demonstrate knowledge of messaging and ingestion layers, message brokers and commit log systems, partitioning and consumer group patterns, partition key selection, ordering guarantees, retention and compaction strategies, and deduplication techniques. Processing concerns include stream processing engines, state stores, stateful processing, checkpointing and fault recovery, processing guarantees such as at least once and exactly once semantics, idempotence, and time semantics including event time versus processing time, watermarks, windowing strategies, late and out of order event handling, and stream to stream and stream to table joins and aggregations over windows. Performance and operational topics cover partitioning and scaling strategies, backpressure and flow control, latency versus throughput trade offs, resource isolation, monitoring and alerting, testing strategies for streaming pipelines, schema evolution and compatibility, idempotent sinks, persistent storage choices for state and checkpoints, and operational metrics such as stream lag. Familiarity with concrete technologies and frameworks is expected when discussing designs and trade offs, for example Apache Kafka, Kafka Streams, Apache Flink, Spark Structured Streaming, Amazon Kinesis, and common serialization formats such as Avro, Protocol Buffers, and JSON.

MediumTechnical
0 practiced
Design a deduplication strategy for real-time unique visitor counts where producers may replay events. Compare using event IDs with a compacted store, time-windowed dedupe, and probabilistic structures (e.g., Bloom filters or HyperLogLog). Discuss memory, accuracy, latency, and operational complexity trade-offs.
EasyTechnical
0 practiced
What is a message broker / commit log system (e.g., Apache Kafka) and which components and semantics should a Data Analyst understand when using Kafka as a data source for analytics (topics, partitions, producers, consumers, offsets, consumer groups, retention)?
EasyTechnical
0 practiced
List common serialization formats used in event streaming (e.g., Avro, Protocol Buffers, JSON). For each format give 2 pros and 2 cons relevant to analytics consumers (schema evolution, message size, CPU for deserialization, human readability).
MediumTechnical
0 practiced
Explain 'at-least-once' vs 'exactly-once' processing semantics in streaming systems. For which parts of an analytics pipeline does each semantic matter most? Describe practical techniques to get effectively exactly-once metrics using idempotent sinks, deduplication, or transactional writes with Kafka + Spark or Flink.
EasyTechnical
0 practiced
List and explain at least six operational metrics you would monitor for a streaming pipeline that feeds business dashboards. For each metric, explain why it matters to freshness, correctness, or cost (examples: consumer lag, throughput, processing latency, checkpoint age, error rate, GC pause time).

Unlock Full Question Bank

Get access to hundreds of Stream Processing and Event Streaming interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.