Skip to content
Tech Interview Prep home
Technical interview guide

Message Queues & Async Processing

Decoupling a slow or unreliable step from the request path by handing it to a queue and processing it separately.

Read
23 min
Practice MCQs
25
Interview QA
25
Edition
v6
Editorial status
Reviewed

Scope: Vendor-neutral distributed-systems principles; current AWS architecture guidance.

Interview QA

Treat each question like a live interview question: answer out loud first (structure, assumptions, tradeoffs), then open the model answer to spot gaps and rehearse a tighter follow-up.

Curated: · Written: · Reviewed:

QA-1

Explain what a message queue gives you and what it costs.

QA-2

Explain delivery guarantees and why broker-level exactly-once does not automatically cover external side effects.

QA-3

How would you make a consumer idempotent?

QA-4

How do you handle message ordering requirements?

QA-5

Design the failure handling for a message consumer.

QA-6

Explain the dual-write problem and how the outbox pattern solves it.

QA-7

Compare a queue broker with a log-based system like Kafka.

QA-8

How would you implement a job queue using a database table?

QA-9

What monitoring would you put on a queue-based system?

QA-10

A queue is backing up in production. Walk through your response.

QA-11

When should work be synchronous rather than queued?

QA-12

How would you design the user experience around asynchronous work?

QA-13

Explain how you would test a queue-based system.

QA-14

What is a poison message and how do you handle one?

QA-15

How do you decide what belongs in a message payload?

QA-16

Explain how you would scale message consumers.

QA-17

What is the difference between an event and a command, and why does it matter?

QA-18

How would you handle a consumer that needs to call an unreliable external service?

QA-19

Explain what replay means and when you would use it.

QA-20

What would you review in a colleague's queue-based design?

QA-21

How does asynchronous processing change debugging and observability?

QA-22

When would you choose a database table over a dedicated message broker?

QA-23

Explain backpressure and how you would apply it.

QA-24

How would you migrate a synchronous operation to be asynchronous?

QA-25

What is fan-out and what problems does it introduce?