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.

HardSystem Design
0 practiced
Design a multi-tenant streaming platform that allows many teams to deploy Flink jobs securely and efficiently. Address resource isolation (CPU/memory quotas), tenant namespace isolation for state, monitoring and alerting per tenant, safe upgrade and migration strategies, and mechanisms to prevent noisy-tenant effects.
MediumTechnical
0 practiced
How would you detect concept drift in a streaming prediction pipeline? Propose concrete metrics to compute (for example prediction distribution shifts, population stability index, calibration error), aggregation windows and thresholds, and an alerting strategy. Also explain strategies to obtain labels when ground-truth is delayed.
HardSystem Design
0 practiced
Design a streaming data lineage solution to track provenance of derived features from raw events through multiple streaming transformations. Specify the metadata to capture (source offsets, transform versions, schema versions), how to store lineage efficiently, how to query lineage for audits, and how to integrate lineage with backfill and replay tooling.
MediumTechnical
0 practiced
Explain best practices for schema evolution in streaming systems using Avro or Protobuf with a schema registry. How would you handle an incompatible change that must be deployed (for example renaming a required field), and what migration patterns can prevent consumer breakage in production?
HardTechnical
0 practiced
Discuss trade-offs between a log-based commit system like Kafka and a traditional broker like RabbitMQ for an event-sourced billing system that requires replays, auditability, and strong ordering. Which would you choose and why? Consider durability, partitioning, ordering semantics, and operational concerns.

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.