JMS Adapter MCQs

JMS Adapter MCQs

The following JMS Adapter MCQs have been compiled by our experts through research, in order to test your knowledge of the subject of JMS Adapter. We encourage you to answer these multiple-choice questions to assess your proficiency.
Please continue by scrolling down.

1: Messages that contain XML pages are supported by JMS API's.

A.   True

B.   False

2: A JMS API enables which of the following types of communication?

A.   Synchronous

B.   Asynchronous

C.   Both synchronous and asynchronous

D.   Neither synchronous nor asynchronous

3: Which of the following JMS message components is required?

A.   Properties

B.   Headers

C.   Bodies

D.   All of the above

4: In the transition phase, the term that refers to start of the communication is

A.   Authenticate

B.   Establish

C.   Network

D.   Terminate

5: Routing between autonomous systems is referred to as ______ routing.

A.   Interdomain routing

B.   Intradomain routing

C.   Out-of-domain

D.   None of the choices are correct

6: The data structure required for Breadth First Traversal on a graph is?

A.   Stack

B.   Array

C.   Queue

D.   Tree

7: In linked list implementation of a queue, where does a new element be inserted?

A.   At the head of link list

B.   At the tail of the link list

C.   At the centre position in the link list

D.   None

8: Which of these is not JMS element?

A.   JMS provider

B.   JMS producer

C.   JMS consumer

D.   JMS cookie

9: Which of the following applications are appropriate to communicate asynchronously?

A.   Email services (sending and receiving emails)

B.   A client sends a document (such as an XML document) to a travel agency service requesting arrangements for a particular trip

C.   All of the above

D.   NONE OF THE Above

10: What are the components of a JMS messaging application?

A.   A Queue

B.   A Message Producer

C.   A Connection

D.   All of the above

11: What is the role of a JMS Destination component?

A.   A destination component creates connections with the source clients

B.   A destination component creates connections with the destinations clients

C.   A client uses the destination component to specify the source of messages that it consumes.

D.   NONE OF THE Above

12: Which method is called to receive messages in Java Message Service?

A.   ReceiveMessage()

B.   Receive()

C.   Acknowledge()

D.   All of the above

13: What is TRUE about Messaging versus RMI (Remote Method Invocation)?

A.   Remote Method Invocation (RMI) enables communication in a loose coupling way, where the sender does not need to know anything about the receiver and vice versa

B.   Remote Method Invocation (RMI), which requires an invoker of a remote method to know about the other application

C.   Asynchronous messaging is considered a tightly coupled technology

D.   NONE OF THE Above

14: What is TRUE about Message Producers in JMS?

A.   The Point To Point form of a message producer implements the TopicPublisher

B.   A message producer is an object created by a session and is used for sending messages to a destination

C.   To send a message using a TopicPublisher object, the send() method is called

D.   NONE OF THE Above