Show List
Quiz - JMS - 1
Select the right answer for below questions:
What is JMS used for?
To store and retrieve data from a database
To process and analyze data
To send and receive messages between two or more clients
To display graphical user interfaces
To send and receive messages between two or more clients
What are the two messaging models supported by JMS?
Queue and Stack
Request-Response and Event-Driven
Synchronous and Asynchronous
Point-to-Point and Publish-Subscribe
Point-to-Point and Publish-Subscribe
What is a JMS message?
A set of instructions for a computer program
A piece of data that is sent from one client to another
A user interface element
A networking protocol
A piece of data that is sent from one client to another
What are JMS Queues used for?
To send messages from one client to another
To broadcast messages to multiple clients
To store messages temporarily
To exchange messages between two or more systems
To send messages from one client to another
What are JMS Topics used for?
To send messages from one client to another
To broadcast messages to multiple clients
To store messages temporarily
To exchange messages between two or more systems
To broadcast messages to multiple clients
What is the difference between P2P and Pub/Sub messaging models in JMS?
P2P is many-to-many communication, while Pub/Sub is one-to-one communication
P2P is one-to-many communication, while Pub/Sub is many-to-many communication
P2P is one-to-one communication, while Pub/Sub is one-to-many communication
P2P is many-to-one communication, while Pub/Sub is one-to-one communication
P2P is one-to-one communication, while Pub/Sub is one-to-many communication
What is the role of JMS Provider in JMS?
To manage the storage and retrieval of messages
To manage the delivery of messages between clients
To manage the creation and destruction of JMS resources
All of the above
All of the above
What is a JMS Connection Factory?
A factory that creates JMS Connections
A factory that creates JMS Sessions
A factory that creates JMS Message Consumers
A factory that creates JMS Message Producers
A factory that creates JMS Connections
What is a JMS Session in JMS?
A multi-threaded context for sending and receiving messages
A single-threaded context for sending and receiving messages
A context for managing transactions in JMS
A context for managing the storage and retrieval of messages
A single-threaded context for sending and receiving messages
What is the role of JMS Message Consumer in JMS?
To send messages to a JMS Destination
To manage the creation and destruction of JMS resources
To manage the storage and retrieval of messages
To receive messages from a JMS Destination
To receive messages from a JMS Destination
Submit
Retry
{"qz1-451553":"To send and receive messages between two or more clients","qz1-451554":"Point-to-Point and Publish-Subscribe","qz1-451555":"A piece of data that is sent from one client to another","qz1-451556":"To send messages from one client to another","qz1-451557":"To broadcast messages to multiple clients","qz1-451558":"P2P is one-to-one communication, while Pub/Sub is one-to-many communication","qz1-451559":"All of the above","qz1-451560":"A factory that creates JMS Connections","qz1-451561":"A single-threaded context for sending and receiving messages","qz1-451562":"To receive messages from a JMS Destination"}
Leave a Comment