NEW
Font size
S
M
L
XL
WorksheetsRabbitMQ Basic
Total questions: 10
Worksheet time: 10mins
Name
Class
Date
1.
Which messaging pattern does RabbitMQ primarily support?
a)
Request-Reply
b)
Publish-Subscribe
c)
Point-to-Point
d)
Message Queueing
2.
What is the default protocol used by RabbitMQ?
a)
HTTP
b)
AMQP
c)
SMTP
d)
FTP
3.
What is the purpose of a RabbitMQ producer?
a)
To consume messages from queues
b)
To route messages to the appropriate queues
c)
To declare and bind exchanges
d)
To publish messages to queues
4.
What is the purpose of a RabbitMQ queue?
a)
To store messages temporarily
b)
To route messages to the appropriate consumers
c)
To define message exchange patterns
d)
To establish network connections
5.
Which RabbitMQ component manages the message flow between producers and consumers?
a)
Exchange
b)
Channel
c)
Connection
d)
Consumer
6.
What is a binding in RabbitMQ?
a)
A rule that determines how messages are routed to queues
b)
A connection between two RabbitMQ servers
c)
A protocol for secure communication between clients and the broker
d)
A mechanism for managing queue permissions
7.
Which feature of RabbitMQ ensures that messages are not lost even if the broker restarts?
a)
Queue durability
b)
Message routing
c)
Exchange binding
d)
Connection pooling
8.
What happens if a RabbitMQ consumer fails to acknowledge a message?
a)
The message is requeued and delivered to another consumer.
b)
The message is discarded and cannot be consumed again.
c)
The consumer is terminated, and the message is lost.
d)
The message is moved to a dead-letter queue.
9.
What is the purpose of a RabbitMQ exchange?
a)
To store messages temporarily
b)
To establish network connections
c)
To route messages to the appropriate queues
d)
To manage message acknowledgments
10.
What is the role of a RabbitMQ queue, and why is it essential in a message queuing system?
a)
A queue is responsible for routing messages to consumers based on predefined rules.
b)
A queue is a temporary storage location for messages, ensuring that they are not lost and facilitating asynchronous communication between producers and consumers.
c)
A queue is a mechanism for managing network connections between RabbitMQ brokers and consumers.
d)
A queue defines the message routing logic and distributes messages to other queues.
Reset
