Message-Queue Fundamentals & Core Concepts Quiz

Q1. EASY: Which of the following best describes the difference between a message queue (point-to-point) and a topic (publish-subscribe)?




Q2. EASY: What guarantee does a FIFO message queue provide that a standard (unordered) queue typically does not?




Q3. EASY: In messaging systems, what is the primary purpose of flow control or back-pressure mechanisms?




Q4. EASY: Which statement is true about how consumers retrieve messages from an Amazon SQS queue?




Q5. EASY: If a message broker stores queued messages only in memory (non-persistent), what happens to those messages if the broker restarts?




Q6. MEDIUM: Which of the following is an advantage of using a brokerless messaging system (no central broker) over a broker-based system?




Q7. MEDIUM: Which statement is true about push-based versus pull-based message consumption models?




Q8. MEDIUM: In RabbitMQ (a broker-based queue), if a consumer receives a message but does NOT acknowledge it (for example, the consumer crashes before acking), what will happen to that message?




Q9. MEDIUM: In Amazon SQS, what is the purpose of the visibility timeout on messages?




Q10. MEDIUM: Which of the following is true about Amazon SQS Standard queues (as compared to SQS FIFO queues)?




Q11. MEDIUM: In a publish-subscribe messaging system with multiple subscribers, what is a likely effect if one subscriber is much slower at processing messages than the others?




Q12. HARD: What is "head-of-line blocking" in the context of message queues?




Q13. HARD: You need a messaging solution where every message must be received by multiple independent consumer applications, and consumers should be able to replay or catch up on messages later. Which solution fits best?




Q14. HARD: For extremely low-latency, high-throughput inter-service messaging with minimal overhead, which approach is most appropriate?




Q15. HARD: A system provides at-least-once message delivery by default. What is typically required to achieve exactly-once processing of messages in such a system?




software-architecture