0
0
RabbitMQdevops~20 mins

AMQP protocol overview in RabbitMQ - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
AMQP Mastery Badge
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
AMQP Message Routing Components

Which AMQP component is responsible for receiving messages from producers and routing them to queues based on rules?

ABinding
BQueue
CExchange
DChannel
Attempts:
2 left
💡 Hint

Think about the part that directs messages, not where they are stored.

💻 Command Output
intermediate
2:00remaining
AMQP Channel State After Opening

What is the expected output when you open a new AMQP channel using RabbitMQ's management CLI and check its state?

RabbitMQ
rabbitmqctl list_channels
AA list showing channel IDs with state 'closed'
BAn error stating 'channel not found'
CEmpty output with no channels listed
DA list showing channel IDs with state 'open'
Attempts:
2 left
💡 Hint

Channels are created open when established.

Configuration
advanced
2:00remaining
AMQP Queue Durability Setting

Which queue declaration option ensures that the queue survives RabbitMQ server restarts?

RabbitMQ
channel.queue_declare(queue='task_queue', durable=?)
Adurable=False
Bdurable=True
Cexclusive=True
Dauto_delete=True
Attempts:
2 left
💡 Hint

Durability means persistence across restarts.

Troubleshoot
advanced
2:00remaining
AMQP Message Not Delivered to Queue

You published a message to an exchange but it never appears in the queue. Which is the most likely cause?

ANo binding exists between the exchange and the queue
BThe message size exceeds the maximum allowed
CThe queue is set as durable
DThe channel is closed after publishing
Attempts:
2 left
💡 Hint

Check the connection between exchange and queue.

Best Practice
expert
2:00remaining
AMQP Publisher Confirms Usage

What is the main benefit of enabling publisher confirms in AMQP?

AIt allows the publisher to know when messages are safely received by the broker
BIt encrypts messages between publisher and broker
CIt automatically retries message delivery on failure
DIt compresses messages to reduce network usage
Attempts:
2 left
💡 Hint

Think about message delivery guarantees.