Rabbit MQ MCQs with answers Page - 4

Here, you will find a collection of MCQ questions on Rabbit MQ. Go through these questions to enhance your preparation for upcoming examinations and interviews.

To check the correct answer, simply click the View Answer button provided for each question.

Have your own questions to contribute? Click the button below to share your MCQs with others!

+ Add Question

A

Admin • 833K Points
Coach

Q. What happens if you publish a message to an exchange with no bound queues?

  • (A) Message is stored temporarily
  • (B) Message is dropped
  • (C) Message is sent back to producer
  • (D) Exchange crashes

A

Admin • 833K Points
Coach

Q. Which feature helps avoid message loss when routing fails?

  • (A) TTL
  • (B) Dead-letter exchange
  • (C) Alternate exchange
  • (D) Prefetch count

A

Admin • 833K Points
Coach

Q. What is the purpose of 'auto-delete' queues?

  • (A) Deletes messages after read
  • (B) Deletes queue when no consumers are connected
  • (C) Deletes exchange automatically
  • (D) Deletes all bindings

A

Admin • 833K Points
Coach

Q. Scenario: A system needs guaranteed delivery even if RabbitMQ crashes. What should be ensured?

  • (A) Use fanout exchange
  • (B) Use durable queues only
  • (C) Use persistent messages only
  • (D) Use durable queues and persistent messages

A

Admin • 833K Points
Coach

Q. What is the difference between exclusive and durable queues?

  • (A) Exclusive queues persist, durable do not
  • (B) Exclusive queues are private to connection, durable survive restarts
  • (C) Both are same
  • (D) Durable queues are temporary

A

Admin • 833K Points
Coach

Q. Which exchange ignores routing keys completely?

  • (A) Direct
  • (B) Topic
  • (C) Fanout
  • (D) Headers

A

Admin • 833K Points
Coach

Q. What is message priority in RabbitMQ?

  • (A) Order of queue creation
  • (B) Priority-based delivery of messages
  • (C) Priority of exchange
  • (D) Priority of consumer

A

Admin • 833K Points
Coach

Q. Scenario: You want to delay message processing for a few seconds. What can you use?

  • (A) Prefetch count
  • (B) Message TTL with dead-letter exchange
  • (C) Fanout exchange
  • (D) Auto-delete queue

A

Admin • 833K Points
Coach

Q. Which Spring Boot property configures RabbitMQ host?

  • (A) spring.rabbitmq.url
  • (B) spring.rabbitmq.host
  • (C) spring.amqp.host
  • (D) rabbitmq.host

A

Admin • 833K Points
Coach

Q. What is the role of Channel in RabbitMQ?

  • (A) Stores messages
  • (B) Represents a virtual connection inside a TCP connection
  • (C) Routes messages
  • (D) Deletes queues

Add MCQ in this Category

If you want to share an MCQ question in this category, it's a great idea! It will be helpful for many other students using this website.

Share Your MCQ