InterviewStack.io LogoInterviewStack.io

Event-Driven Architecture and Asynchronous Messaging Questions

Designing systems around events and message passing: publish/subscribe, message queues, event streaming, choreography versus orchestration, and decoupling producers from consumers. Covers delivery semantics (at-least-once, at-most-once), ordering, backpressure, dead-letter handling, and the operational tradeoffs of asynchronous flows. Includes async processing patterns for offloading slow work.

MediumTechnical
105 practiced

How would you choose a Kafka partitioning key for a user-events topic such that ordering is preserved per user but partitions are balanced across the cluster? Discuss hashing strategies, handling hot users, and approaches for multi-tenant fairness when some tenants generate far more events than others.

MediumTechnical
97 practiced

Explain the difference between message queues and event streams using: (1) simple high-level definitions, (2) step-by-step architecture differences (point-to-point vs publish-subscribe, retention and consumer offsets), (3) concrete use cases (task queue for background jobs vs event log for analytics), (4) discuss delivery semantics (at-least-once, at-most-once, exactly-once) and operational trade-offs.

HardBehavioral
107 practiced

An incident: duplicated messages caused double charges for customers. As the Solutions Architect, outline the incident response steps you would take immediately to mitigate harm, the structure of a root-cause analysis you would lead, short-term customer remediation steps, and permanent architectural fixes you would recommend to prevent recurrence. Include stakeholder communication and post-mortem deliverables.

MediumTechnical
77 practiced

Compare synchronous REST and asynchronous messaging for inter-service communication. For each approach explain: failure semantics, coupling, observability, latency, consistency guarantees, and operational complexity. Provide examples of when you'd prefer one over the other.

HardTechnical
101 practiced

Design graceful degradation strategies for an event-driven notification subsystem when downstream push services (APNs/FCM/email API) are rate-limited or unavailable. Include queueing, prioritization, circuit breakers, fallbacks, retry policies, and how to communicate delays to users and product teams.

Unlock Full Question Bank

Get access to all 38 Event-Driven Architecture and Asynchronous Messaging interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.