Quiz: Using the RabbitMQ Service

Test your understanding of the RabbitMQ message-queuing service.

The RabbitMQ message-queuing service

1

When creating either a producer or consumer, which command is the right way to create a variable with the AMQP URL using Pika when we want to connect to the RabbitMQ message broker provided by CloudAMQP?

A)
params = pika.URLParameters('our_rabbitmq_amqp_url')
B)
params = pika.urlParams('our_rabbitmq_amqp_url')
C)
params = Pika.URLPatterns('our_rabbitmq_amqp_url')
D)
params = Pika.URLParameter('our_rabbitmq_amqp_url')
E)
params = pika.urlparameters('our_rabbitmq_amqp_url')
Question 1 of 50 attempted

Get hands-on with 1200+ tech skills courses.