Q.1 Which of the following is the component that routes messages to queues?
Ans : Exchange
Q.2 RabbitMQ server is written using?
Ans : Erlang
Q.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
Q.4 Which of the following is the client library for Node.js to integrate with RabbitMQ?
Ans : Ampqlib
Q.5 RabbitMQ server is an open source implementation of?
A. AMQP protocol
B. DDS protocol
C. MQTT protocol
D. CoAP protocol
Ans : AMQP protocol
Q.6 Using ConnectionFactory Connection is created using built in method
Ans : newConnection()
Q.7 Which of the following exchange routes messages to queues by ignoring the routing key?
A. Topic Exchange
B. Fanout Exchange
D. Direct Exchange
Ans : Fanout Exchange
Q.8 Which of the following is the buffer that stores messages sent by the producer?
Ans : Queue
Q.9 Which of the following is the virtual connection inside a connection?
Ans : Channel
Q.10 What is the default port of the RabbitMQ management interface?
Ans : 15672
Q.11 Which of the following built-in channel method declares a queue?
Ans : queueDeclare()
Q.12 Using Connection channel can be created using builtin method
Ans : createChannel()
Q.13 Queues that are deleted after performing a task are called?
A. Exclusive Queues
C. Auto Delete Queues
Ans : TemporaryQueues
Q.14 Which property of a channel is used to display acknowledge details?
Ans : ack
Q.15 Which of the following parameter is provided to the nextDelivery() method and specifies the time to wait for the next delivery message?
Ans : Timeout
Q.16 Using Channel message can be consumed using builtin method
Ans : basicConsume()
Q.17 Using Channel message can be published using builtin method
Ans : basicPublish()
Q.18 Pika is the RabbitMQ client library for?
Ans : Python
Q.19 Which of the following tag allows a user to access only the management plugin?
Ans : Management
Q.20 Expiry time for a queue is set by assigning which property?
C. Auto expire
D. Auto delete
Ans : Auto expire
Q.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
Q.22 The default SASL method supported by RabbitMQ is?
Ans : PLAIN
Q.23 In spring AMPQ, which of the following class enables to publish messages?
Ans : RabbitTemplate
Q.24 Which of the following property assigned to a queue specifies the queue survival time?
Ans : TTL
Q.25 Which of the following is the permission required to create a resource?
Ans : Create
Q.26 By default, nodes in a cluster are created as DISK nodes.
Ans : True
Q.27 Using Channel binding can be done using builtin method
Ans : binding()
Q.28 Which of the following exchange has the routing key as a list of words?
A. Header Exchange
C. Fanout Exchange
D. Topic Exchange
Ans : Topic Exchange
Q.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
Q.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
Q.31 In a remote procedure call, what is the unique identifier assigned to every request message?
C. Routing key
Ans : CorelationId