Backend Engineering

Message Queues

5 practice questions. Free questions open a full answer guide; the rest unlock with Pro.

  • What is the difference between a stack and a queue, and when would you choose one over the other? Junior level
  • Your team relies on a message queue and someone proposes adopting the broker's exactly-once delivery mode so consumers can stop worrying about duplicates. How do you respond, and what do you actually do to make the consumers safe?Go Pro Senior level
  • A consumer reading from your queue hits a message it can't process — maybe the payload is malformed or a downstream dependency keeps failing. What happens to that message, and how do you keep it from blocking everything behind it?Go Pro Mid level
  • Two of your backend services currently call each other directly over HTTP. When would you put a message queue between them instead, and what do you gain by doing that?Go Pro Junior level
  • Tell me about a time you prevented a significant production incident before it happened. What did you notice and what did you do?Go Pro Senior level
Want questions matched to your role? Paste a job title, job description, or CV for a personalized set, or go Pro to unlock the full bank.