All 42 questions
What are the differences between Kafka and RabbitMQ?
Asked in 4 of 217 interviews · last asked Sep 16 · Concept · Mid-level
Show answer
Kafka is a partitioned event log. RabbitMQ is mainly a message broker with queues and flexible routing. Kafka retains events for replay, while RabbitMQ queues normally remove messages after acknowledgment. Choose Kafka for event streams and replay; choose RabbitMQ for task distribution and routing messages to specific queues.
- Kafka consumers track offsets; reading an event does not delete it.
- Kafka preserves order within a partition, not across all partitions.
- RabbitMQ uses exchanges to route messages and supports acknowledgments and requeuing failed deliveries.
- RabbitMQ also supports streams with retention and replay, unlike its normal queue behavior.
What the interviewer checks: The interviewer checks whether you can compare message storage, delivery, and routing, then choose based on application needs.
Other ways it was asked
- “What is the difference between Kafka and RabbitMQ?”
- “What are the implementation differences between Kafka and RabbitMQ, and how do you decide which one to use?”
- “What is the key difference between Kafka and RabbitMQ?”
What roles do Azure Service Bus and Azure Functions serve, and when would you use each?
Asked in 2 of 217 interviews · last asked Oct 16 · Design · Mid-level
Show answer
Azure Service Bus is a message broker that stores and delivers messages between services. Use it to separate services and buffer work until a receiver is ready. Azure Functions runs code when an event or timer triggers it. Use Functions for event-driven tasks, such as processing messages from Service Bus.
- Service Bus queues share work among receivers; topics and subscriptions send copies to separate subscribers.
- Functions runs application code; Service Bus transports and stores messages.
- They can work together: a Service Bus message can trigger a Function.
- Messages can be delivered again, so handlers should safely handle duplicates.
What the interviewer checks: The interviewer checks whether you can distinguish message delivery from code execution and explain when to combine them.
Other ways it was asked
- “What is the difference between Azure Service Bus and Azure Functions, and when would you use each?”
- “How can Azure Functions and Azure Service Bus be used in a backend application, and what purpose does each serve?”
- “What role does Azure Service Bus play in a backend architecture?”
How would you choose a message broker or queue, and when would you use alternatives to Kafka?
Asked in 2 of 217 interviews · last asked Sep 18 · Concept · Mid-level
Show answer
I choose based on message volume, latency, ordering, replay needs, delivery guarantees, and operating cost. Kafka fits event streams that need replay and several independent consumers. RabbitMQ fits task queues and flexible routing. A managed queue such as Amazon SQS fits background jobs when I want less infrastructure to manage.
- Check whether messages need long retention and replay, or mainly need processing once.
- Kafka guarantees ordering within a partition, not across the whole topic.
- Compare retries, duplicate handling, routing, and consumer scaling against the workload.
- Test realistic traffic and include hosting costs, team skills, and operational work.
What the interviewer checks: The interviewer is checking whether you can match system needs to messaging tools instead of choosing Kafka by default.
Other ways it was asked
- “Which messaging tools have you used, and how do you choose between them?”
- “What could you use instead of Kafka, and how would you know which option is better for your system than other queues?”
- “What criteria should guide the choice of a queue for your project?”
What problems does Azure Service Bus solve, and how would you use it in a web application?
Asked in 2 of 217 interviews · last asked Sep 18 · Tooling · Mid-level
Show answer
Azure Service Bus provides reliable messaging between parts of an application, so they do not need to run at the same time. It helps handle traffic spikes and move slow work out of web requests. In a web app, I would send an order message to a queue and let a background worker process it.
- Queues distribute work among workers; topics and subscriptions let several services receive the same event.
- Messages wait while workers are unavailable, reducing the need for services to be available together.
- Workers must handle duplicate messages safely because a message can be delivered more than once.
- Use retries for temporary failures and a dead-letter queue for messages that cannot be processed.
What the interviewer checks: The interviewer checks whether you can choose asynchronous messaging and explain reliable background processing in a web app.
Other ways it was asked
- “How would you use Azure Service Bus in a web app?”
- “What problems is Azure Service Bus suited to, and what kinds of tasks can it handle?”
Why would you use Amazon SQS between two services?
Asked in 2 of 217 interviews · last asked Nov 6 · Concept · Mid-level
Show answer
I would use Amazon SQS when one service needs to send work to another without waiting for it to finish. The queue holds messages during traffic spikes or temporary worker failures. Each service can scale separately, but processing is delayed and consumers must handle possible duplicate messages.
- Buffers traffic spikes so workers can process messages at their own pace.
- Keeps services independent: the sender does not need the worker to be available.
- Failed work can be retried; a dead-letter queue can hold messages after repeated failures.
- Standard queues may deliver duplicates and reorder messages; FIFO queues preserve order within each message group.
What the interviewer checks: The interviewer is checking whether you understand asynchronous communication, failure handling, and queue trade-offs.
Other ways it was asked
- “When would you use Amazon SQS?”
What is Amazon SQS, and how is it used as a message queue?
Asked in 2 of 217 interviews · last asked Nov 5 · Concept · Junior
Show answer
Amazon SQS is AWS’s managed message queue service. Producers send messages to a queue, and consumers poll it, process messages, and delete them after success. This lets services work independently and handle traffic spikes. SQS offers Standard queues for high throughput and FIFO queues for ordered processing within each message group.
- Standard queues deliver at least once; messages can arrive out of order.
- FIFO queues preserve order within each message group and support deduplication.
- The visibility timeout temporarily hides received messages; undeleted messages become available again.
- Consumers should handle retries safely, and dead-letter queues can isolate repeatedly failing messages.
What the interviewer checks: The interviewer checks whether you understand service decoupling, the message lifecycle, and Standard versus FIFO queues.
Other ways it was asked
- “What is SQS, and what types of queues does AWS provide?”
What is RabbitMQ, and how does it work as a messaging system?
Asked once · last asked Oct 15 · Concept · Mid-level
Other ways it was asked
- “What does RabbitMQ do?”
How do delivery guarantees differ between Kafka, RabbitMQ, and Redis?
Asked once · last asked Jan 28 · Concept · Senior
Can Redis be used for publish-subscribe, or is it only for caching?
Asked once · last asked Jan 28 · Concept · Mid-level
How does message acknowledgment differ between RabbitMQ and Kafka?
Asked once · last asked Jan 28 · Concept · Senior
If the two Dataverse environments must communicate through a Service Bus broker, what are the pros and cons of using Azure Functions, Logic Apps, Power Automate, or another approach?
Asked once · last asked Mar 2 · Design · Senior
What is the difference between SQS, SNS, and EventBridge, and in what scenarios would you use each?
Asked once · last asked Mar 3 · Concept · Senior
Why would you choose RabbitMQ over Redis or Redis Pub/Sub for a messaging system?
Asked once · last asked Mar 19 · Concept · Mid-level
When should you use Azure Service Bus and Azure Functions with Dynamics 365, and what are the advantages of these solutions?
Asked once · last asked Apr 6 · Scenario · Senior
How long is data stored in Pub/Sub? What is its retention period?
Asked once · last asked Apr 30 · Concept · Mid-level
Why would the APIs read data from Pub/Sub instead of a database?
Asked once · last asked Apr 30 · Concept · Senior
In an architecture using Pub/Sub and APIs, how can a topic trigger an API, and what might the API do with the message?
Asked once · last asked Apr 30 · Scenario · Mid-level
How would you design the flow from publishing an event to consuming it with Azure Service Bus, including consumer counts and partitions?
Asked once · last asked Jun 18 · Design · Senior
Would Kafka replace Redis in a chat system design?
Asked once · last asked Jul 28 · Design · Senior
What determines the number of partitions configured for an Azure Event Hub?
Asked once · last asked Aug 7 · Concept · Mid-level
How can you read the same message from Azure Event Hubs again after consuming it?
Asked once · last asked Aug 7 · Scenario · Mid-level
When publishing messages to Azure Service Bus, would you publish each event immediately or batch messages first, and why?
Asked once · last asked Sep 4 · Design · Senior
How would you route a request through Azure Service Bus when the system needs to send a request and receive a response?
Asked once · last asked Sep 18 · Design · Senior
Why would you use a message queue, and what factors would lead you to choose Kafka?
Asked once · last asked Sep 18 · Design · Mid-level
When would you choose Kafka over Amazon SQS or BullMQ for a distributed application?
Asked once · last asked Sep 21 · Concept · Senior
How do you choose between SQS and Kafka or Kinesis when handling communication between services?
Asked once · last asked Sep 25 · Design · Senior
What is the difference between Amazon SNS and Amazon SQS?
Asked once · last asked Sep 30 · Concept · Mid-level
What factors would you consider when selecting an event bus for this application?
Asked once · last asked Oct 19 · Design · Senior
What are AWS Lambda and queues, and how do they work?
Asked once · last asked Oct 23 · Concept · Junior
How is Azure Service Bus integration triggered when a Dataverse record changes?
Asked once · last asked Oct 30 · Concept · Mid-level
Other ways it was asked
- “How is Service Bus getting kicked in when a Dataverse record changes?”
What role does an MQTT broker serve?
Asked once · last asked Nov 4 · Concept · Junior
How would you choose a messaging technology or pattern for asynchronous communication, and handle retries and idempotency in consumers?
Asked once · last asked Nov 5 · Design · Senior
What trade-offs would you consider when choosing PostgreSQL to coordinate workers instead of Redis or a dedicated message queue?
Asked once · last asked Nov 10 · Design · Mid-level
Other ways it was asked
- “Why did you decide to use PostgreSQL to coordinate the workers instead of something like Redis or a dedicated message queue? What trade-offs did you consider?”
How would you choose between NATS and Kafka for a system that is still in the design phase?
Asked once · last asked Nov 17 · Design · Senior
What messaging services are commonly used in software systems?
Asked once · last asked Feb 14 · Concept · Mid-level
What are common reasons to use RabbitMQ in an application?
Asked once · last asked Apr 27 · Concept · Mid-level
In AWS, which service represents a topic and which represents a queue: SNS or SQS?
Asked once · last asked Jun 9 · Concept · Junior
What is NSQ?
Asked once · last asked Jul 25 · Concept · Junior
How do you implement RabbitMQ?
Asked once · last asked Sep 16 · Tooling · Mid-level
What is AWS EventBridge?
Asked once · last asked Oct 30 · Concept · Junior
When would you use Amazon SNS?
Asked once · last asked Nov 6 · Concept · Mid-level
What is MQTT?
Asked once · last asked Nov 10 · Concept · Junior
More Kafka and Message Queues interview questions
- All Kafka and Message Queues interview questions
- Message Delivery Guarantees and Idempotency Interview Questions
- Background Jobs and Distributed Task Queue Interview Questions
- Stream Processing and Kafka Data Pipeline Interview Questions
- Event-driven System Design Interview Questions
How this list is made
Every question here was asked by a real interviewer in a real job interview that a candidate ran MeetAssist in. After the call, the interviewer's questions are pulled from the transcript. Practice sessions, tests, exams and anything that was not a job interview are dropped.
Questions are rewritten so they make sense on their own: names of people, employers and clients are removed, and speech-to-text mistakes are fixed. Small talk, logistics and questions about one candidate's own résumé are left out. Rephrasings of the same question are merged, and the count is the number of different interviews it came up in.
The interviews come from candidates who use MeetAssist, so they lean towards software, data and AI roles: the shares describe these interviews, not every Kafka and Message Queues interview. Answers to the most asked questions are written and checked by an editor; a "common mistake" is shown only when reviews of real answers in these interviews show it, with the count.
217 interviews, 133 candidates, Jan 2026 to Nov 2026. Updated every month with new interviews.
Or add the Chrome extension