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.

EasyTechnical
72 practiced
You are evaluating messaging systems for a client building an event-driven microservices platform. Compare message brokers (e.g., RabbitMQ), commit-log systems (e.g., Apache Kafka), and cloud streaming services (e.g., Amazon Kinesis). For each, describe typical use cases, ordering and delivery semantics, scaling characteristics, latency and retention trade-offs, and operational cost/complexity. As a Solutions Architect, when would you recommend each option and why?
EasyTechnical
33 practiced
Describe how consumer groups and partition assignment work in Kafka. Explain common partition assignment strategies, what happens during a rebalance, and the implications for in-flight processing and stateful stream processors. What patterns would you recommend to minimize the impact of rebalances on processing correctness and latency?
HardTechnical
36 practiced
Design a deduplication and ordering strategy for e-commerce order events where retries can create duplicates and events may arrive out of order. Requirements: ensure a single fulfillment action per logical order, maintain auditability, and support reconciliation. Explain use of event IDs, stateful dedup stores, idempotent sinks, and downstream reconciliation jobs, including recovery scenarios.
HardTechnical
39 practiced
Discuss how to handle network partitions and split-brain scenarios in a streaming ecosystem. Explain how brokers, controllers, and stream processing frameworks behave during partitions, how to detect divergence, and strategies to reconcile diverging state after partitions heal while avoiding data loss and duplicate side effects. Use Kafka and Flink examples.
MediumTechnical
39 practiced
As a Solutions Architect, define a schema evolution policy for Avro messages stored in Kafka with Schema Registry. Specify compatibility mode (backward, forward, full), deprecation practices, required default values, test processes, and the governance steps to coordinate producers and consumers and prevent production breakage.

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.