Olete.in
Articles
Mock Tests
🧪 Rabbit MQ MCQ Quiz Hub
Rabbit MQ Mcq
Choose a topic to test your knowledge and improve your Rabbit MQ skills
1. Which of the following is the component that routes messages to queues?
Channel
Binding
Exchange
Binding
2. RabbitMQ server is written using?
C#
Erlang
Java
JavaScript
3. Which of the following exchange is pre-declared if no exchange is declared?
Direct Exchange
Topic Exchange
Default Exchange
Header Exchange
4. Which of the following is the client library for Node.js to integrate with RabbitMQ?
Ampqlib
Bunny
Pika
Objective-C
5. RabbitMQ server is an open source implementation of?
AMQP protocol
DDS protocol
MQTT protocol
CoAP protocol
6. Using ConnectionFactory Connection is created using built in method
createConnection
newConnection()
Connection
buildConnection
7. Which of the following exchange routes messages to queues by ignoring the routing key?
Topic Exchange
Fanout Exchange
Header Exchange
Direct Exchange
8. Which of the following is the buffer that stores messages sent by the producer?
Channel
Connection
Queue
Exchange
9. Which of the following is the virtual connection inside a connection?
Queue
Exchange
Binding
Channel
10. What is the default port of the RabbitMQ management interface?
15762
8000
15672
8090
11. Which of the following built-in channel method declares a queue?
queueDeclare()
queueDeclare()
newQueue()
declareQueue()
12. Using Connection channel can be created using builtin method
createChannel()
newChannel()
Channel()
buildChannel()
13. Queues that are deleted after performing a task are called?
Exclusive Queues
WorkQueues
Auto Delete Queues
TemporaryQueues
14. Which property of a channel is used to display acknowledge details?
ack
Prefetch
unacked
confirm
15. Which of the following parameter is provided to the nextDelivery() method and specifies the time to wait for the next delivery message?
Timeout
Break
Wait
Sleep
16. Using Channel message can be consumed using builtin method
recieveMessage()
newConsume()
basicConsume()
Consume()
17. Using Channel message can be published using builtin method
sendMessage()
basicPublish()
newPublish()
publish()
18. Pika is the RabbitMQ client library for?
Java
Python
Node.js
Spring
19. Which of the following tag allows a user to access only the management plugin?
Policymaker
Management
Monitoring
Administrator
20. Expiry time for a queue is set by assigning which property?
TTL
Timeout
Auto expire
Auto delet
21. Which of the following command creates a user Jim and password root?
rabbitmqctl add_user jim root
rabbitmqctl add_user root jim
rabbitmqctl add jim root
rabbitmqctl user jim root
22. The default SASL method supported by RabbitMQ is?
AMQPLAIN
RABBIT-CR-DEMO
PLAIN
EXTERNAL
23. In spring AMPQ, which of the following class enables to publish messages?
RabbitTemplate
RabbitAdmin
AmpqTemplate
AmpqAdmin
24. Which of the following property assigned to a queue specifies the queue survival time?
Transient
Max-Time
Durable
TTL
25. Which of the following is the permission required to create a resource?
Read
Configure
Create
Write
26. Using Channel binding can be done using builtin method
binding()
coupling()
bindQueue()
queueBind()
27. Which of the following exchange has the routing key as a list of words?
Header Exchange
DirectExchange
Fanout Exchange
Topic Exchange
28. Which of the following command deletes user Jim?
rabbitmqctl.bat delete_user Jim
rabbitmqctl.bat remove Jim
rabbitmqctl.bat delete Jim
rabbitmqctl.bat remove_user Jim
29. Which of the following is the command to delete quiz Vhost?
rabbitmqctl.bat remove_vhost events
rabbitmqctl.bat delete_vhost quiz
rabbitmqctl.bat remove_vhost quiz
rabbitmqctl.bat delete events
30. In a remote procedure call, what is the unique identifier assigned to every request message?
CorelationId
Binding
Routing key
UniqueId
Submit