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
64 practiced
Explain event time versus processing time and why watermarks are important for windowing semantics. Provide an SRE-focused example: a streaming analytic that computes 5-minute event-time windows with late arrivals up to 2 minutes. How do watermarks, allowed lateness, and triggers affect correctness and resource usage?
EasyTechnical
43 practiced
Compare tumbling, sliding, and session windows in streaming systems. Give operational examples where each is appropriate (e.g., fixed-interval metrics vs sessionization). What SRE considerations affect window choices: state size, checkpoint frequency, and late-event handling?
HardTechnical
36 practiced
Your Kafka cluster handles billions of events per day across thousands of partitions. You need to rebalance partitions and add brokers without downtime. Design an operational plan to perform reassignments safely, minimize data movement, and maintain cluster health metrics. Include monitoring thresholds and throttling strategies.
HardTechnical
36 practiced
Propose a set of chaos engineering experiments to validate resilience of a streaming platform (Kafka + Flink). Include experiment goals, scenarios (broker failure, network partition, high GC, state backend corruption), safety controls, and metrics to measure the impact. How would you automate and roll out these experiments safely?
MediumTechnical
41 practiced
Design a testing strategy for streaming pipelines that covers unit tests, integration tests, and production-like end-to-end tests. Include tools and frameworks you would use (e.g., Embedded Kafka, Flink test harness, Docker), methods for deterministic replay, and how to automate regression tests in CI/CD.

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.