QuizzesRabbitMQ Streams — Concept Check
intermediate
rabbitmq

RabbitMQ Streams — Concept Check

Questions on RabbitMQ Streams. RabbitMQ Streams (3.9+) provide a persistent, append-only log akin to Kafka topics; multiple consumers can read from any offset without deleting messages on acknowledgement.

8 minutes 8 questions Pass at 70%
Time Limit
8 minutes - timer starts when you begin
Change Answers Freely
Revisit and change any answer before submitting
Full Review After Submit
Correct answers and explanations shown for every question
Auto-submit on timeout
Quiz submits automatically when time runs out

Questions in this quiz

8 questions on RabbitMQ Streams — Concept Check. Work through them here, then start the quiz to answer them and see your score.

  1. 1.A developer wants to replay all historical messages in a RabbitMQ Stream for an audit service. Which offset should they use?

    • AOffsetSpecification.last()
    • BOffsetSpecification.first()
    • COffsetSpecification.timestamp()
    • DOffsetSpecification.next()
  2. 2.In RabbitMQ Streams, what happens to messages after they are acknowledged by a consumer?

    • AMessages are retained based on retention policy
    • BMessages are moved to a dead-letter queue
    • CMessages are deleted immediately
    • DMessages are archived
  3. 3.A service needs to process only new messages in a RabbitMQ Stream. Which offset should be used?

    • AOffsetSpecification.first()
    • BOffsetSpecification.last()
    • COffsetSpecification.timestamp()
    • DOffsetSpecification.next()
  4. 4.A developer mistakenly believes that RabbitMQ Streams delete messages after acknowledgment. What is the correct behavior?

    • AMessages are moved to a dead-letter queue
    • BMessages are archived after acknowledgment
    • CMessages are deleted after acknowledgment
    • DMessages are retained based on retention policy
  5. 5.Which scenario is RabbitMQ Streams NOT ideal for?

    • AFan-out to multiple independent consumers
    • BReplaying historical events
    • CAudit log retention
    • DWork queue pattern
  6. 6.A developer configures a RabbitMQ Stream with x-max-age set to 7 days. What does this mean?

    • AMessages are retained indefinitely
    • BMessages older than 7 days are deleted
    • CMessages are archived after 7 days
    • DMessages are moved to a dead-letter queue after 7 days
  7. 7.Which protocol is used to consume messages from a RabbitMQ Stream?

    • AAMQP
    • BMQTT
    • CStream protocol
    • DHTTP
  8. 8.A developer needs high throughput for publishing messages to a RabbitMQ Stream. Which client library should they use?

    • Aspring-rabbitmq-stream
    • BAMQP client
    • Crabbitmq-stream-java-client
    • DHTTP client