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