RabbitMQ Interview Questions
Message brokering with AMQP, exchange types (direct, fanout, topic, headers), queues & bindings, acknowledgements, dead letter exchanges, durability & persistence, prefetch/QoS, work queues, pub/sub and RPC patterns, clustering and high-availability queues.
61 questions
Popular Searches
1. What is RabbitMQ and what problems does it solve?
easyFundamentals 5 mins2. What is a message broker and why do systems use one?
easyFundamentals 5 mins3. What is the difference between RabbitMQ and Apache Kafka?
mediumComparisons 6 mins4. What is the AMQP protocol and how does RabbitMQ use it?
mediumMessaging Protocols 6 mins5. What are exchanges in RabbitMQ and what types exist?
mediumExchanges & Routing 6 mins6. What is a direct exchange and when do you use it?
easyExchanges & Routing 5 mins7. What is a fanout exchange and how does it broadcast messages?
easyExchanges 6 mins8. What is a topic exchange and how does routing key pattern matching work?
mediumExchanges 7 mins9. What is a headers exchange in RabbitMQ?
mediumExchanges 6 mins10. What are queues and bindings in RabbitMQ?
easyCore Concepts 6 mins11. What is the difference between a producer and a consumer in RabbitMQ?
easyCore Concepts 6 mins12. What is message acknowledgement (ack/nack) in RabbitMQ and why does it matter?
mediumReliability 7 mins13. What is a dead letter exchange (DLX) and when do you use it?
mediumMessage Routing 7 mins14. How does RabbitMQ handle message durability and persistence?
mediumReliability 7 mins15. What is the difference between a durable and a transient queue?
easyQueues 6 mins16. What is prefetch (QoS) in RabbitMQ and how does it affect throughput?
mediumConsumers 6 mins17. How does RabbitMQ handle message ordering?
mediumMessaging Semantics 6 mins18. What is a work queue (task queue) pattern in RabbitMQ?
easyPatterns 6 mins19. What is the publish/subscribe pattern in RabbitMQ?
mediumMessaging Patterns 6 mins20. What is the request/reply (RPC) pattern in RabbitMQ?
hardMessaging Patterns 7 mins21. How does RabbitMQ handle high availability with mirrored and quorum queues?
hardReliability 8 mins22. What is RabbitMQ clustering and how does it work?
hardClustering & HA 7 mins23. How do you handle message retries and back-off in RabbitMQ?
mediumReliability 7 mins24. What is the difference between at-most-once, at-least-once, and exactly-once delivery?
mediumDelivery Semantics 7 mins25. How does RabbitMQ handle flow control and back pressure?
hardReliability 7 mins26. What are RabbitMQ virtual hosts and why are they useful?
mediumArchitecture 6 mins27. How do you monitor and manage RabbitMQ in production?
mediumOperations 7 mins28. How do you secure RabbitMQ with authentication and TLS?
mediumSecurity 7 mins29. When should you choose RabbitMQ over Kafka or a database queue?
mediumArchitecture 7 mins30. What are common RabbitMQ best practices and anti-patterns?
mediumBest Practices 7 mins31. How do you handle poison messages using the quorum queue delivery limit?
hardReliability 7 mins32. How do you use asynchronous publisher confirms without losing throughput?
hardReliability 8 mins33. How do you diagnose and fix connection and channel churn in RabbitMQ?
hardOperations 8 mins34. What are RabbitMQ memory and disk alarms, and how do you tune them?
hardOperations 8 mins35. How does RabbitMQ cope with very long queues and paging messages to disk?
hardPerformance 8 mins36. How does RabbitMQ detect and handle network partitions in a cluster?
hardClustering 8 mins37. When do you use the Shovel plugin versus Federation in RabbitMQ?
hardClustering 8 mins38. What are RabbitMQ Streams and how do they differ from classic and quorum queues?
hardArchitecture 8 mins39. What is single active consumer in RabbitMQ, and how does it differ from consumer priorities?
mediumConsumers 7 mins40. How do you test RabbitMQ producers and consumers reliably?
mediumTesting 8 mins41. How do you plan and execute a rolling upgrade of a RabbitMQ cluster without dropping traffic?
hardOperations 9 mins42. How do you migrate live classic mirrored queues to quorum queues without losing messages?
hardMigration 9 mins43. A publisher gets confirms but the messages never arrive. How do you detect unroutable messages?
hardExchanges & Routing 9 mins44. Consumers keep getting disconnected with a delivery acknowledgement timeout. How do you handle long-running tasks?
hardConsumers 10 mins45. A broker node restarts. What must a client library do to recover connections, channels and topology correctly?
hardClient Libraries 10 mins46. After a node restart all quorum queue leaders end up on two nodes. How do you control leader placement?
hardClustering 9 mins47. Your service needs to send large payloads through RabbitMQ. How should you design for that?
mediumArchitecture 9 mins48. You need to change a queue's TTL and dead-letter settings, but redeclaring fails with PRECONDITION_FAILED. What do you do?
mediumOperations 9 mins49. A specific message never reached its consumer. How do you trace it through the broker?
hardObservability 10 mins50. A team wants priority queues so urgent jobs jump the backlog. What are the operational trade-offs?
mediumQueues 9 mins51. One team's service keeps destabilising a shared RabbitMQ cluster. What controls do you put in place?
hardOperations 10 mins52. How do you back up a RabbitMQ cluster, and what does disaster recovery actually look like?
hardOperations 10 mins53. What does a basic.nack from the broker on a publisher confirm channel actually tell you?
hardDelivery guarantees 9 mins54. What happens to unacknowledged messages when a consumer's channel or connection closes?
mediumConsumers 8 mins55. Why does an unbounded prefetch let one consumer starve the rest, and how do you size it?
hardPerformance 9 mins56. Why do messages sometimes loop endlessly between a dead-letter exchange and the source queue, and how do you stop it?
hardDead lettering 10 mins57. How do queue length limits and overflow behaviour work, and which overflow mode should you choose?
mediumResource limits 8 mins58. What happens to a quorum queue when it loses quorum, and how does that differ from a classic queue failing?
hardReplication 9 mins59. How should an application share connections and channels across threads, and what does churn cost?
mediumClient design 8 mins60. A queue keeps growing in production. How do you diagnose it systematically?
hardTroubleshooting 10 mins61. When should you use basic.get polling instead of basic.consume, and why is polling usually wrong?
mediumConsumers 8 mins