Delayed Message Exchange — Concept Check
Questions on Delayed Message Exchange. The community delayed-message plugin stores messages and delivers them after a configurable x-delay (ms), enabling scheduled tasks and retry-after-delay patterns.
Questions in this quiz
8 questions on Delayed Message Exchange — Concept Check. Work through them here, then start the quiz to answer them and see your score.
1.A developer uses the rabbitmq_delayed_message_exchange plugin to schedule tasks. After a node failure, all pending tasks are lost. What could have prevented this?
- AIncreasing the x-delay value
- BUsing TTL+DLX pattern for high availability
- CUsing a different exchange type
- DEnabling message replication across nodes
2.A message is sent with an x-delay of 5000 ms. What happens if the node fails after 3000 ms?
- AThe message is routed to another node
- BThe message is lost
- CThe message is delayed for an additional 5000 ms
- DThe message is delivered immediately
3.A developer configures a delayed exchange with x-delayed-type as 'fanout'. What will happen?
- AMessages will be lost due to incorrect configuration
- BMessages will be routed to all bound queues after delay
- CMessages will be delayed indefinitely
- DMessages will be routed to one queue only
4.What is the primary purpose of the x-delay header in the delayed message exchange?
- ATo specify the delay before message routing
- BTo determine message priority
- CTo replicate messages across nodes
- DTo set message expiration time
5.A developer uses the retry-with-delay pattern with exponential backoff. What is a potential risk?
- AMessages may be lost if max retries are reached
- BMessages are never retried
- CMessages are duplicated
- DMessages are delivered too quickly
6.Why might someone incorrectly believe that the delayed message exchange provides high availability?
- ABecause it supports x-delay
- BBecause it stores messages on disk
- CBecause it uses a single node for storage
- DBecause it is part of RabbitMQ
7.A message is published with x-delay and does not reach the queue. What could be the issue?
- AThe x-delay header is missing
- BThe delay is too short
- CThe queue is not bound to the exchange
- DThe exchange type is incorrect
8.What is a key limitation of the rabbitmq_delayed_message_exchange plugin?
- AMessages are not replicated across nodes
- BIt only supports direct routing
- CThe x-delay cannot exceed 60 seconds
- DIt cannot handle messages larger than 1MB