InterviewStack.io LogoInterviewStack.io

Kafka, Message Queuing, and Event Sourcing Questions

Design Kafka-based architectures for event streaming. Understand topics, partitions, consumer groups, and offset management. Consider Kafka as an event store and how to build systems on event sourcing principles.

MediumTechnical
22 practiced
Describe an incident you led where a Kafka-based data pipeline produced incorrect analytics results for a day. Explain your incident management steps: triage, stakeholder communication, technical remediation, root-cause analysis, and how you prioritized permanent fixes versus quick mitigations.
HardTechnical
22 practiced
Case study: A fintech requires tamper-evident, replayable audit logs for regulatory review. Design an event-sourcing pipeline using Kafka that supports immutable event storage, encryption at rest, access controls, efficient replay, and cryptographic proof (e.g., hash chaining). Describe storage, retention, and queryability for auditors.
MediumTechnical
35 practiced
Outline the design of a Kafka Connect pipeline to stream CDC from PostgreSQL to Kafka, including configuration for Debezium, single message transforms for filtering/PII masking, schema evolution handling, and performance tuning for high-throughput tables.
MediumTechnical
31 practiced
Explain schema evolution strategies for Kafka messages using Avro or Protobuf and Schema Registry. Define backward, forward, and full compatibility, explain compatibility checks, and propose consumer/upcaster strategies when schema changes are required in production.
HardSystem Design
25 practiced
Design a large-scale event replay system to rebuild downstream materialized views from Kafka topics at petabyte scale. Include orchestration, parallelism, incremental checkpointing, snapshot bootstrapping, and strategies to limit costs and user-visible downtime during rebuilds.

Unlock Full Question Bank

Get access to hundreds of Kafka, Message Queuing, and Event Sourcing interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.