SlideShare a Scribd company logo
1 of 28
Download to read offline
Cover Page
Java Messaging
Service
JMS
Author: JavaChamp Team
Copyright (c) 2010-2014
(2) Powered by QuizOver.com - http://www.quizover.com
QuizOver.com is the leading online quiz & exam creator
Copyright (c) 2009-2014 all rights reserved
About Us
Powered by QuizOver.com
The Leading Online Quiz & Exam Creator
Create, Share, and Discover Quizzes & Exams
http://www.quizover.com
(3) Powered by QuizOver.com - http://www.quizover.com
QuizOver.com is the leading online quiz & exam creator
Copyright (c) 2009-2014 all rights reserved
Disclaimer
All services and content of QuizOver.com are provided under QuizOver.com terms of use on an "as is" basis,
without warranty of any kind, either expressed or implied, including, without limitation, warranties that the provided
services and content are free of defects, merchantable, fit for a particular purpose or non-infringing.
The entire risk as to the quality and performance of the provided services and content is with you.
In no event shall QuizOver.com be liable for any damages whatsoever arising out of or in connection with the use
or performance of the services.
Should any provided services and content prove defective in any respect, you (not the initial developer, author or
any other contributor) assume the cost of any necessary servicing, repair or correction.
This disclaimer of warranty constitutes an essential part of these "terms of use".
No use of any services and content of QuizOver.com is authorized hereunder except under this disclaimer.
The detailed and up to date "terms of use" of QuizOver.com can be found under:
http://www.QuizOver.com/public/termsOfUse.xhtml
(4) Powered by QuizOver.com - http://www.quizover.com
QuizOver.com is the leading online quiz & exam creator
Copyright (c) 2009-2014 all rights reserved
eBook Content License
Creative Commons License
Attribution-NonCommercial-NoDerivs 3.0 Unported (CC BY-NC-ND 3.0)
http://creativecommons.org/licenses/by-nc-nd/3.0/
You are free to:
Share: copy and redistribute the material in any medium or format
The licensor cannot revoke these freedoms as long as you follow the license terms.
Under the following terms:
Attribution: You must give appropriate credit, provide a link to the license, and indicate if changes were made. You
may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
NonCommercial: You may not use the material for commercial purposes.
NoDerivatives: If you remix, transform, or build upon the material, you may not distribute the modified material.
No additional restrictions: You may not apply legal terms or technological measures that legally restrict others
from doing anything the license permits.
-
-
-
(5) Powered by QuizOver.com - http://www.quizover.com
QuizOver.com is the leading online quiz & exam creator
Copyright (c) 2009-2014 all rights reserved
Table of Contents
Quiz Permalink: http://www.quizover.com/pdf/java-messaging-system-jms
Author Profile: http://www.quizover.com/user/profile/Java.Champ
1. Java Messaging Service
Synchronous and Asynchronous Messaging
Basics
Point to Point and Publish/Subscribe Messagings
(6) Powered by QuizOver.com - http://www.quizover.com
QuizOver.com is the leading online quiz & exam creator
Copyright (c) 2009-2014 all rights reserved
4. Chapter: Synchronous and Asynchronous Messaging
1. Synchronous and Asynchronous Messaging Questions
•
•
•
•
(7) Powered by QuizOver.com - http://www.quizover.com
QuizOver.com is the leading online quiz & exam creator
Copyright (c) 2009-2014 all rights reserved
4.1.1. Question: What is TRUE about synchronous and asynchronous communications?
What is TRUE about synchronous and asynchronous communications?
Please choose all the answers that apply:
In an asynchronous communication, the requester of a service must wait
for a response from the service
In synchronous communication, the requester of a service must wait
for a response from the service
In synchronous communication, both parties must be active
Synchronous communication overcomes asynchronous communication in terms of performance
Author: JavaChamp Team
Check the answer of this question online on QuizOver.com:
Question: asynchronous and synchronous communications
Permalink: http://www.quizover.com/pdf/asynchronous-and-synchronous-communications
•
•
•
•
(8) Powered by QuizOver.com - http://www.quizover.com
QuizOver.com is the leading online quiz & exam creator
Copyright (c) 2009-2014 all rights reserved
4.1.2. Question: Which is considered an asynchronous protocol?
Which is considered an asynchronous protocol?
Please choose only one answer:
Remote Procedure Call (RPC)
Remote Method Invocation (RMI)
Java Messaging Service (JMS)
HTTP
Author: JavaChamp Team
Check the answer of this question online on QuizOver.com:
Question: asynchronous protocols
Permalink: http://www.quizover.com/pdf/asynchronous-protocols
•
•
•
(9) Powered by QuizOver.com - http://www.quizover.com
QuizOver.com is the leading online quiz & exam creator
Copyright (c) 2009-2014 all rights reserved
4.1.3. Question: Which of the following is FALSE?
Which of the following is FALSE?
Please choose only one answer:
the asynchronous consumer is notified when new messages arrive
The synchronous consumer client checks and collects messages from destination
and doesn't wait for notifications from destination
An asynchronous consumer client checks the destination in time-intervals
for any new messages
Author: JavaChamp Team
Check the answer of this question online on QuizOver.com:
Question: asynchronous consumer versus synchronous consumer
Permalink: http://www.quizover.com/pdf/asynchronous-consumer-versus-synchronous-consumer
•
•
•
(10) Powered by QuizOver.com - http://www.quizover.com
QuizOver.com is the leading online quiz & exam creator
Copyright (c) 2009-2014 all rights reserved
4.1.4. Question: Which of the following applications are appropriate to communicate ...
Which of the following applications are appropriate to communicate asynchronously?
Please choose all the answers that apply:
Courses registration in a university, where courses availability must be checked by another
application before registering the course
Email services (sending and receiving emails)
A client sends a document (such as an XML document) to a travel agency service requesting
arrangements for a particular trip
Author: JavaChamp Team
Check the answer of this question online on QuizOver.com:
Question: asynchronous communication use cases
Permalink: http://www.quizover.com/pdf/asynchronous-communication-use-cases
•
•
•
•
(11) Powered by QuizOver.com - http://www.quizover.com
QuizOver.com is the leading online quiz & exam creator
Copyright (c) 2009-2014 all rights reserved
4.1.5. Question: Which is true about synchronous and asynchronous messaging in JMS?
Which is true about synchronous and asynchronous messaging in JMS?
Please choose all the answers that apply:
a QueueReceiver or a TopicSubscriber in JMS, use the receive() method to consume
a message synchronously
a QueueReceiver or a TopicSubscriber in JMS, must use a message listener to
consume a message synchronously
a QueueReceiver or a TopicSubscriber in JMS, can consume a message asynchronously
by using a message listener
in asynchronous messaging, the onMessage() method of the
consumer is invoked when a message arrives
Author: JavaChamp Team
Check the answer of this question online on QuizOver.com:
Question: synchronous and asynchronous messaging in jms java message service
Permalink: http://www.quizover.com/pdf/synchronous-and-asynchronous-messaging-in-jms-java-message-
service
(12) Powered by QuizOver.com - http://www.quizover.com
QuizOver.com is the leading online quiz & exam creator
Copyright (c) 2009-2014 all rights reserved
5. Chapter: Basics
1. Basics Questions
•
•
•
•
(13) Powered by QuizOver.com - http://www.quizover.com
QuizOver.com is the leading online quiz & exam creator
Copyright (c) 2009-2014 all rights reserved
5.1.1. Question: What type of data does a StreamMessage carry?
What type of data does a StreamMessage carry?
Please choose only one answer:
StreamMessage carries a stream of bytes
StreamMessage carries a Serializable java object
StreamMessage carries a stream of Java primitive types
StreamMessage carries name-value pairs, where values can be Java
primitives or their wrappers
Author: JavaChamp Team
Check the answer of this question online on QuizOver.com:
Question: what type of data does a streammessage carry?
Permalink: http://www.quizover.com/pdf/what-type-of-data-does-a-streammessage-carry
•
•
•
•
•
(14) Powered by QuizOver.com - http://www.quizover.com
QuizOver.com is the leading online quiz & exam creator
Copyright (c) 2009-2014 all rights reserved
5.1.2. Question: What is TRUE about Message Producers in JMS?
What is TRUE about Message Producers in JMS?
Please choose all the answers that apply:
The Point To Point form of a message producer implements the TopicPublisher
A message producer is an object created by a session and is used for
sending messages to a destination
to send a message using a QueueSender object, the send() method is called
to send a message using a TopicPublisher object, the send() method is called
to send a message using a TopicPublisher object, the publish() method is called
Author: JavaChamp Team
Check the answer of this question online on QuizOver.com:
Question: jms java message service queuesender
Permalink: http://www.quizover.com/pdf/jms-java-message-service-queuesender
•
•
•
•
(15) Powered by QuizOver.com - http://www.quizover.com
QuizOver.com is the leading online quiz & exam creator
Copyright (c) 2009-2014 all rights reserved
5.1.3. Question: Preconfigured JMS objects created by an administrator for the use o...
Preconfigured JMS objects created by an administrator for the use of clients are:
Please choose all the answers that apply:
messages
destinations
connections
connection factories
Author: JavaChamp Team
Check the answer of this question online on QuizOver.com:
Question: what are the administered objects in jms java message service messaging application?
Permalink: http://www.quizover.com/pdf/what-are-the-administered-objects-in-jms-java-message-service-
messaging-application
•
•
•
•
(16) Powered by QuizOver.com - http://www.quizover.com
QuizOver.com is the leading online quiz & exam creator
Copyright (c) 2009-2014 all rights reserved
5.1.4. Question: What is the role of a JMS Destination component?
What is the role of a JMS Destination component?
Please choose all the answers that apply:
a client uses the destination component to specify the target of messages that it produces
a client uses the destination component to specify the source of messages that it consumes.
a destination component creates connections with the source clients
a destination component creates connections with the destinations clients
Author: JavaChamp Team
Check the answer of this question online on QuizOver.com:
Question: what is the role of a java message service jms destination component?
Permalink: http://www.quizover.com/pdf/what-is-the-role-of-a-java-message-service-jms-destination-component
•
•
•
•
•
(17) Powered by QuizOver.com - http://www.quizover.com
QuizOver.com is the leading online quiz & exam creator
Copyright (c) 2009-2014 all rights reserved
5.1.5. Question: Which method is called to receive messages in Java Message Service?
Which method is called to receive messages in Java Message Service?
Please choose all the answers that apply:
receiveMessage()
receive()
receiveNoWait()
acknowledge()
onMessage()
Author: JavaChamp Team
Check the answer of this question online on QuizOver.com:
Question: which method is called to receive messages in java message service?
Permalink: http://www.quizover.com/pdf/which-method-is-called-to-receive-messages-in-java-message-service
•
•
•
•
(18) Powered by QuizOver.com - http://www.quizover.com
QuizOver.com is the leading online quiz & exam creator
Copyright (c) 2009-2014 all rights reserved
5.1.6. Question: What is not considered a way in messages acknowledgement?
What is not considered a way in messages acknowledgement?
Please choose only one answer:
AUTO_ACKNOWLEDGE
RECEIVER_ACKNOWLEDGE
CLIENT_ACKNOWLEDGE
DUPS_OK_ACKNOWLEDGE
Author: JavaChamp Team
Check the answer of this question online on QuizOver.com:
Question: messages acknowledgement ways in Java Message Service JMS
Permalink: http://www.quizover.com/pdf/messages-acknowledgement-ways-in-java-message-service-jms
•
•
•
•
(19) Powered by QuizOver.com - http://www.quizover.com
QuizOver.com is the leading online quiz & exam creator
Copyright (c) 2009-2014 all rights reserved
5.1.7. Question: Which of the following is NOT a JMS message valid body format?
Which of the following is NOT a JMS message valid body format?
Please choose only one answer:
ByteMessage
ObjectMessage
CharMessage
TextMessage
Author: JavaChamp Team
Check the answer of this question online on QuizOver.com:
Question: jms java message service message valid body format
Permalink: http://www.quizover.com/pdf/jms-java-message-service-message-valid-body-format
•
•
•
(20) Powered by QuizOver.com - http://www.quizover.com
QuizOver.com is the leading online quiz & exam creator
Copyright (c) 2009-2014 all rights reserved
5.1.8. Question: What is TRUE about Messaging versus RMI (Remote Method Invocation)?
What is TRUE about Messaging versus RMI (Remote Method Invocation)?
Please choose only one answer:
Remote Method Invokation (RMI) enables communication in a loose coupling
way, where the sender does not need to know anything about the receiver and vice versa
Remote Method Invocation (RMI), which requires an invoker of a remote method to know
about the other application
Asynchronous messaging is considered a tightly coupled technology
Author: JavaChamp Team
Check the answer of this question online on QuizOver.com:
Question: messaging versus rmi (remote method invocation)
Permalink: http://www.quizover.com/pdf/messaging-versus-rmi-remote-method-invocation
•
•
•
•
•
(21) Powered by QuizOver.com - http://www.quizover.com
QuizOver.com is the leading online quiz & exam creator
Copyright (c) 2009-2014 all rights reserved
5.1.9. Question: What are the components of a JMS messaging application?
What are the components of a JMS messaging application?
Please choose all the answers that apply:
a Queue
a Message Producer
a WebService end point
a Message Convertor
a Connection
Author: JavaChamp Team
Check the answer of this question online on QuizOver.com:
Question: what are the components of a jms messaging application?
Permalink: http://www.quizover.com/pdf/what-are-the-components-of-a-jms-messaging-application
•
•
•
•
(22) Powered by QuizOver.com - http://www.quizover.com
QuizOver.com is the leading online quiz & exam creator
Copyright (c) 2009-2014 all rights reserved
5.1.10. Question: What would you use to filter out messages that don't meet specified...
What would you use to filter out messages that don't meet specified criteria?
Please choose only one answer:
a MessageListener
a MessageScanner
a MessageSelector
a MessagePattern
Author: JavaChamp Team
Check the answer of this question online on QuizOver.com:
Question: what is the role of a messageselector in java message service jms?
Permalink: http://www.quizover.com/pdf/what-is-the-role-of-a-messageselector-in-java-message-service-jms
•
•
•
•
•
(23) Powered by QuizOver.com - http://www.quizover.com
QuizOver.com is the leading online quiz & exam creator
Copyright (c) 2009-2014 all rights reserved
5.1.11. Question: Which JMS messaging application components are obtained via JNDI lo...
Which JMS messaging application components are obtained via JNDI lookups?
Please choose all the answers that apply:
Connection
ConnectionFactory
Session
MessageProducer
Destination
Author: JavaChamp Team
Check the answer of this question online on QuizOver.com:
Question: which jms java message service components are obtained via jndi lookups?
Permalink: http://www.quizover.com/pdf/which-jms-java-message-service-components-are-obtained-via-jndi-
lookups
•
•
•
•
(24) Powered by QuizOver.com - http://www.quizover.com
QuizOver.com is the leading online quiz & exam creator
Copyright (c) 2009-2014 all rights reserved
5.1.12. Question: Which JMS messaging application component is responsible for produc...
Which JMS messaging application component is responsible for producing and consuming messages, managing
transactions, and handling acknowledgments?
Please choose only one answer:
Connection
ConnectionFactory
Session
Message Sender and Message Receiver
Author: JavaChamp Team
Check the answer of this question online on QuizOver.com:
Question: the role of a session in java message service
Permalink: http://www.quizover.com/pdf/the-role-of-a-session-in-java-message-service
(25) Powered by QuizOver.com - http://www.quizover.com
QuizOver.com is the leading online quiz & exam creator
Copyright (c) 2009-2014 all rights reserved
6. Chapter: Point to Point and Publish/Subscribe Messagings
1. Point to Point and Publish/Subscribe Messagings Questions
•
•
•
•
(26) Powered by QuizOver.com - http://www.quizover.com
QuizOver.com is the leading online quiz & exam creator
Copyright (c) 2009-2014 all rights reserved
6.1.1. Question: Which of the following messaging approaches requires no timing depe...
Which of the following messaging approaches requires no timing dependencies between the sender(s) and
receiver(s)?
Please choose all the answers that apply:
Point-to-Point Messaging
durable Publish/Subscribe Messaging
non durable Publish/Subscribe Messaging
Remote Procedure Call
Author: JavaChamp Team
Check the answer of this question online on QuizOver.com:
Question: timing dependencies in Publish/Subscribe Messaging
Permalink: http://www.quizover.com/pdf/timing-dependencies-in-publishsubscribe-messaging
•
•
•
•
(27) Powered by QuizOver.com - http://www.quizover.com
QuizOver.com is the leading online quiz & exam creator
Copyright (c) 2009-2014 all rights reserved
6.1.2. Question: What is true about Destination components in Point to Point messagi...
What is true about Destination components in Point to Point messaging and Publish/Subscribe messaging?
Please choose all the answers that apply:
a destination in Point to Point messaging is called Topic
a destination in Point to Point messaging has one consumer for each message
messages in a destination of Point to Point messaging are consumed in FIFO order
messages sent to a destination of Publish/Subscribe messaging must be generated by only one
publisher but can be consumed by many subscribers
Author: JavaChamp Team
Check the answer of this question online on QuizOver.com:
Question: destination components in point to point messaging and publish/subscribe messaging
Permalink: http://www.quizover.com/pdf/destination-components-in-point-to-point-messaging-and-
publishsubscribe-messaging
•
•
•
•
(28) Powered by QuizOver.com - http://www.quizover.com
QuizOver.com is the leading online quiz & exam creator
Copyright (c) 2009-2014 all rights reserved
6.1.3. Question: What design pattern best describes the Publish/Subscribe messaging?
What design pattern best describes the Publish/Subscribe messaging?
Please choose only one answer:
Proxy
Bridge
Observer
Builder
Author: JavaChamp Team
Check the answer of this question online on QuizOver.com:
Question: what design pattern best describe the publish/subscribe messaging?
Permalink: http://www.quizover.com/pdf/what-design-pattern-best-describe-the-publishsubscribe-messaging

More Related Content

Viewers also liked

Kortunov Doklad
Kortunov DokladKortunov Doklad
Kortunov Doklad
404fest
 
C:\fakepath\tour 2011 – first set up
C:\fakepath\tour 2011 – first set upC:\fakepath\tour 2011 – first set up
C:\fakepath\tour 2011 – first set up
Angele Champigny
 
Stokes Slideshare
Stokes SlideshareStokes Slideshare
Stokes Slideshare
MiszShayG
 
Illustrator Creation
Illustrator CreationIllustrator Creation
Illustrator Creation
alexinsomny
 

Viewers also liked (16)

iPhoneography
iPhoneographyiPhoneography
iPhoneography
 
Kortunov Doklad
Kortunov DokladKortunov Doklad
Kortunov Doklad
 
C:\fakepath\tour 2011 – first set up
C:\fakepath\tour 2011 – first set upC:\fakepath\tour 2011 – first set up
C:\fakepath\tour 2011 – first set up
 
Chapel 9 25 09
Chapel 9 25 09Chapel 9 25 09
Chapel 9 25 09
 
HOLD FAST
HOLD FASTHOLD FAST
HOLD FAST
 
Album research
Album researchAlbum research
Album research
 
Stokes Slideshare
Stokes SlideshareStokes Slideshare
Stokes Slideshare
 
Council Presentation Feb22
Council Presentation Feb22Council Presentation Feb22
Council Presentation Feb22
 
Illustrator Creation
Illustrator CreationIllustrator Creation
Illustrator Creation
 
Stackato v6
Stackato v6Stackato v6
Stackato v6
 
Link Development - SES London 2012
Link Development - SES London 2012Link Development - SES London 2012
Link Development - SES London 2012
 
Олег Макаров – Как адаптировать интерфейс iOS приложения под Android за полчаса
Олег Макаров – Как адаптировать интерфейс iOS приложения под Android за полчасаОлег Макаров – Как адаптировать интерфейс iOS приложения под Android за полчаса
Олег Макаров – Как адаптировать интерфейс iOS приложения под Android за полчаса
 
MTech14: Marketing Automation for the New Buyer's Journey - Linda West
MTech14: Marketing Automation for the New Buyer's Journey - Linda WestMTech14: Marketing Automation for the New Buyer's Journey - Linda West
MTech14: Marketing Automation for the New Buyer's Journey - Linda West
 
Trompito 1
Trompito 1Trompito 1
Trompito 1
 
Downtown Ferndale
Downtown Ferndale Downtown Ferndale
Downtown Ferndale
 
MTech13: "Tools and Technologies for Social Media Success" - Jamie Pappas
MTech13: "Tools and Technologies for Social Media Success" - Jamie PappasMTech13: "Tools and Technologies for Social Media Success" - Jamie Pappas
MTech13: "Tools and Technologies for Social Media Success" - Jamie Pappas
 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 

Java Message Service JMS Mock Exam

  • 1. Cover Page Java Messaging Service JMS Author: JavaChamp Team Copyright (c) 2010-2014
  • 2. (2) Powered by QuizOver.com - http://www.quizover.com QuizOver.com is the leading online quiz & exam creator Copyright (c) 2009-2014 all rights reserved About Us Powered by QuizOver.com The Leading Online Quiz & Exam Creator Create, Share, and Discover Quizzes & Exams http://www.quizover.com
  • 3. (3) Powered by QuizOver.com - http://www.quizover.com QuizOver.com is the leading online quiz & exam creator Copyright (c) 2009-2014 all rights reserved Disclaimer All services and content of QuizOver.com are provided under QuizOver.com terms of use on an "as is" basis, without warranty of any kind, either expressed or implied, including, without limitation, warranties that the provided services and content are free of defects, merchantable, fit for a particular purpose or non-infringing. The entire risk as to the quality and performance of the provided services and content is with you. In no event shall QuizOver.com be liable for any damages whatsoever arising out of or in connection with the use or performance of the services. Should any provided services and content prove defective in any respect, you (not the initial developer, author or any other contributor) assume the cost of any necessary servicing, repair or correction. This disclaimer of warranty constitutes an essential part of these "terms of use". No use of any services and content of QuizOver.com is authorized hereunder except under this disclaimer. The detailed and up to date "terms of use" of QuizOver.com can be found under: http://www.QuizOver.com/public/termsOfUse.xhtml
  • 4. (4) Powered by QuizOver.com - http://www.quizover.com QuizOver.com is the leading online quiz & exam creator Copyright (c) 2009-2014 all rights reserved eBook Content License Creative Commons License Attribution-NonCommercial-NoDerivs 3.0 Unported (CC BY-NC-ND 3.0) http://creativecommons.org/licenses/by-nc-nd/3.0/ You are free to: Share: copy and redistribute the material in any medium or format The licensor cannot revoke these freedoms as long as you follow the license terms. Under the following terms: Attribution: You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use. NonCommercial: You may not use the material for commercial purposes. NoDerivatives: If you remix, transform, or build upon the material, you may not distribute the modified material. No additional restrictions: You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.
  • 5. - - - (5) Powered by QuizOver.com - http://www.quizover.com QuizOver.com is the leading online quiz & exam creator Copyright (c) 2009-2014 all rights reserved Table of Contents Quiz Permalink: http://www.quizover.com/pdf/java-messaging-system-jms Author Profile: http://www.quizover.com/user/profile/Java.Champ 1. Java Messaging Service Synchronous and Asynchronous Messaging Basics Point to Point and Publish/Subscribe Messagings
  • 6. (6) Powered by QuizOver.com - http://www.quizover.com QuizOver.com is the leading online quiz & exam creator Copyright (c) 2009-2014 all rights reserved 4. Chapter: Synchronous and Asynchronous Messaging 1. Synchronous and Asynchronous Messaging Questions
  • 7. • • • • (7) Powered by QuizOver.com - http://www.quizover.com QuizOver.com is the leading online quiz & exam creator Copyright (c) 2009-2014 all rights reserved 4.1.1. Question: What is TRUE about synchronous and asynchronous communications? What is TRUE about synchronous and asynchronous communications? Please choose all the answers that apply: In an asynchronous communication, the requester of a service must wait for a response from the service In synchronous communication, the requester of a service must wait for a response from the service In synchronous communication, both parties must be active Synchronous communication overcomes asynchronous communication in terms of performance Author: JavaChamp Team Check the answer of this question online on QuizOver.com: Question: asynchronous and synchronous communications Permalink: http://www.quizover.com/pdf/asynchronous-and-synchronous-communications
  • 8. • • • • (8) Powered by QuizOver.com - http://www.quizover.com QuizOver.com is the leading online quiz & exam creator Copyright (c) 2009-2014 all rights reserved 4.1.2. Question: Which is considered an asynchronous protocol? Which is considered an asynchronous protocol? Please choose only one answer: Remote Procedure Call (RPC) Remote Method Invocation (RMI) Java Messaging Service (JMS) HTTP Author: JavaChamp Team Check the answer of this question online on QuizOver.com: Question: asynchronous protocols Permalink: http://www.quizover.com/pdf/asynchronous-protocols
  • 9. • • • (9) Powered by QuizOver.com - http://www.quizover.com QuizOver.com is the leading online quiz & exam creator Copyright (c) 2009-2014 all rights reserved 4.1.3. Question: Which of the following is FALSE? Which of the following is FALSE? Please choose only one answer: the asynchronous consumer is notified when new messages arrive The synchronous consumer client checks and collects messages from destination and doesn't wait for notifications from destination An asynchronous consumer client checks the destination in time-intervals for any new messages Author: JavaChamp Team Check the answer of this question online on QuizOver.com: Question: asynchronous consumer versus synchronous consumer Permalink: http://www.quizover.com/pdf/asynchronous-consumer-versus-synchronous-consumer
  • 10. • • • (10) Powered by QuizOver.com - http://www.quizover.com QuizOver.com is the leading online quiz & exam creator Copyright (c) 2009-2014 all rights reserved 4.1.4. Question: Which of the following applications are appropriate to communicate ... Which of the following applications are appropriate to communicate asynchronously? Please choose all the answers that apply: Courses registration in a university, where courses availability must be checked by another application before registering the course Email services (sending and receiving emails) A client sends a document (such as an XML document) to a travel agency service requesting arrangements for a particular trip Author: JavaChamp Team Check the answer of this question online on QuizOver.com: Question: asynchronous communication use cases Permalink: http://www.quizover.com/pdf/asynchronous-communication-use-cases
  • 11. • • • • (11) Powered by QuizOver.com - http://www.quizover.com QuizOver.com is the leading online quiz & exam creator Copyright (c) 2009-2014 all rights reserved 4.1.5. Question: Which is true about synchronous and asynchronous messaging in JMS? Which is true about synchronous and asynchronous messaging in JMS? Please choose all the answers that apply: a QueueReceiver or a TopicSubscriber in JMS, use the receive() method to consume a message synchronously a QueueReceiver or a TopicSubscriber in JMS, must use a message listener to consume a message synchronously a QueueReceiver or a TopicSubscriber in JMS, can consume a message asynchronously by using a message listener in asynchronous messaging, the onMessage() method of the consumer is invoked when a message arrives Author: JavaChamp Team Check the answer of this question online on QuizOver.com: Question: synchronous and asynchronous messaging in jms java message service Permalink: http://www.quizover.com/pdf/synchronous-and-asynchronous-messaging-in-jms-java-message- service
  • 12. (12) Powered by QuizOver.com - http://www.quizover.com QuizOver.com is the leading online quiz & exam creator Copyright (c) 2009-2014 all rights reserved 5. Chapter: Basics 1. Basics Questions
  • 13. • • • • (13) Powered by QuizOver.com - http://www.quizover.com QuizOver.com is the leading online quiz & exam creator Copyright (c) 2009-2014 all rights reserved 5.1.1. Question: What type of data does a StreamMessage carry? What type of data does a StreamMessage carry? Please choose only one answer: StreamMessage carries a stream of bytes StreamMessage carries a Serializable java object StreamMessage carries a stream of Java primitive types StreamMessage carries name-value pairs, where values can be Java primitives or their wrappers Author: JavaChamp Team Check the answer of this question online on QuizOver.com: Question: what type of data does a streammessage carry? Permalink: http://www.quizover.com/pdf/what-type-of-data-does-a-streammessage-carry
  • 14. • • • • • (14) Powered by QuizOver.com - http://www.quizover.com QuizOver.com is the leading online quiz & exam creator Copyright (c) 2009-2014 all rights reserved 5.1.2. Question: What is TRUE about Message Producers in JMS? What is TRUE about Message Producers in JMS? Please choose all the answers that apply: The Point To Point form of a message producer implements the TopicPublisher A message producer is an object created by a session and is used for sending messages to a destination to send a message using a QueueSender object, the send() method is called to send a message using a TopicPublisher object, the send() method is called to send a message using a TopicPublisher object, the publish() method is called Author: JavaChamp Team Check the answer of this question online on QuizOver.com: Question: jms java message service queuesender Permalink: http://www.quizover.com/pdf/jms-java-message-service-queuesender
  • 15. • • • • (15) Powered by QuizOver.com - http://www.quizover.com QuizOver.com is the leading online quiz & exam creator Copyright (c) 2009-2014 all rights reserved 5.1.3. Question: Preconfigured JMS objects created by an administrator for the use o... Preconfigured JMS objects created by an administrator for the use of clients are: Please choose all the answers that apply: messages destinations connections connection factories Author: JavaChamp Team Check the answer of this question online on QuizOver.com: Question: what are the administered objects in jms java message service messaging application? Permalink: http://www.quizover.com/pdf/what-are-the-administered-objects-in-jms-java-message-service- messaging-application
  • 16. • • • • (16) Powered by QuizOver.com - http://www.quizover.com QuizOver.com is the leading online quiz & exam creator Copyright (c) 2009-2014 all rights reserved 5.1.4. Question: What is the role of a JMS Destination component? What is the role of a JMS Destination component? Please choose all the answers that apply: a client uses the destination component to specify the target of messages that it produces a client uses the destination component to specify the source of messages that it consumes. a destination component creates connections with the source clients a destination component creates connections with the destinations clients Author: JavaChamp Team Check the answer of this question online on QuizOver.com: Question: what is the role of a java message service jms destination component? Permalink: http://www.quizover.com/pdf/what-is-the-role-of-a-java-message-service-jms-destination-component
  • 17. • • • • • (17) Powered by QuizOver.com - http://www.quizover.com QuizOver.com is the leading online quiz & exam creator Copyright (c) 2009-2014 all rights reserved 5.1.5. Question: Which method is called to receive messages in Java Message Service? Which method is called to receive messages in Java Message Service? Please choose all the answers that apply: receiveMessage() receive() receiveNoWait() acknowledge() onMessage() Author: JavaChamp Team Check the answer of this question online on QuizOver.com: Question: which method is called to receive messages in java message service? Permalink: http://www.quizover.com/pdf/which-method-is-called-to-receive-messages-in-java-message-service
  • 18. • • • • (18) Powered by QuizOver.com - http://www.quizover.com QuizOver.com is the leading online quiz & exam creator Copyright (c) 2009-2014 all rights reserved 5.1.6. Question: What is not considered a way in messages acknowledgement? What is not considered a way in messages acknowledgement? Please choose only one answer: AUTO_ACKNOWLEDGE RECEIVER_ACKNOWLEDGE CLIENT_ACKNOWLEDGE DUPS_OK_ACKNOWLEDGE Author: JavaChamp Team Check the answer of this question online on QuizOver.com: Question: messages acknowledgement ways in Java Message Service JMS Permalink: http://www.quizover.com/pdf/messages-acknowledgement-ways-in-java-message-service-jms
  • 19. • • • • (19) Powered by QuizOver.com - http://www.quizover.com QuizOver.com is the leading online quiz & exam creator Copyright (c) 2009-2014 all rights reserved 5.1.7. Question: Which of the following is NOT a JMS message valid body format? Which of the following is NOT a JMS message valid body format? Please choose only one answer: ByteMessage ObjectMessage CharMessage TextMessage Author: JavaChamp Team Check the answer of this question online on QuizOver.com: Question: jms java message service message valid body format Permalink: http://www.quizover.com/pdf/jms-java-message-service-message-valid-body-format
  • 20. • • • (20) Powered by QuizOver.com - http://www.quizover.com QuizOver.com is the leading online quiz & exam creator Copyright (c) 2009-2014 all rights reserved 5.1.8. Question: What is TRUE about Messaging versus RMI (Remote Method Invocation)? What is TRUE about Messaging versus RMI (Remote Method Invocation)? Please choose only one answer: Remote Method Invokation (RMI) enables communication in a loose coupling way, where the sender does not need to know anything about the receiver and vice versa Remote Method Invocation (RMI), which requires an invoker of a remote method to know about the other application Asynchronous messaging is considered a tightly coupled technology Author: JavaChamp Team Check the answer of this question online on QuizOver.com: Question: messaging versus rmi (remote method invocation) Permalink: http://www.quizover.com/pdf/messaging-versus-rmi-remote-method-invocation
  • 21. • • • • • (21) Powered by QuizOver.com - http://www.quizover.com QuizOver.com is the leading online quiz & exam creator Copyright (c) 2009-2014 all rights reserved 5.1.9. Question: What are the components of a JMS messaging application? What are the components of a JMS messaging application? Please choose all the answers that apply: a Queue a Message Producer a WebService end point a Message Convertor a Connection Author: JavaChamp Team Check the answer of this question online on QuizOver.com: Question: what are the components of a jms messaging application? Permalink: http://www.quizover.com/pdf/what-are-the-components-of-a-jms-messaging-application
  • 22. • • • • (22) Powered by QuizOver.com - http://www.quizover.com QuizOver.com is the leading online quiz & exam creator Copyright (c) 2009-2014 all rights reserved 5.1.10. Question: What would you use to filter out messages that don't meet specified... What would you use to filter out messages that don't meet specified criteria? Please choose only one answer: a MessageListener a MessageScanner a MessageSelector a MessagePattern Author: JavaChamp Team Check the answer of this question online on QuizOver.com: Question: what is the role of a messageselector in java message service jms? Permalink: http://www.quizover.com/pdf/what-is-the-role-of-a-messageselector-in-java-message-service-jms
  • 23. • • • • • (23) Powered by QuizOver.com - http://www.quizover.com QuizOver.com is the leading online quiz & exam creator Copyright (c) 2009-2014 all rights reserved 5.1.11. Question: Which JMS messaging application components are obtained via JNDI lo... Which JMS messaging application components are obtained via JNDI lookups? Please choose all the answers that apply: Connection ConnectionFactory Session MessageProducer Destination Author: JavaChamp Team Check the answer of this question online on QuizOver.com: Question: which jms java message service components are obtained via jndi lookups? Permalink: http://www.quizover.com/pdf/which-jms-java-message-service-components-are-obtained-via-jndi- lookups
  • 24. • • • • (24) Powered by QuizOver.com - http://www.quizover.com QuizOver.com is the leading online quiz & exam creator Copyright (c) 2009-2014 all rights reserved 5.1.12. Question: Which JMS messaging application component is responsible for produc... Which JMS messaging application component is responsible for producing and consuming messages, managing transactions, and handling acknowledgments? Please choose only one answer: Connection ConnectionFactory Session Message Sender and Message Receiver Author: JavaChamp Team Check the answer of this question online on QuizOver.com: Question: the role of a session in java message service Permalink: http://www.quizover.com/pdf/the-role-of-a-session-in-java-message-service
  • 25. (25) Powered by QuizOver.com - http://www.quizover.com QuizOver.com is the leading online quiz & exam creator Copyright (c) 2009-2014 all rights reserved 6. Chapter: Point to Point and Publish/Subscribe Messagings 1. Point to Point and Publish/Subscribe Messagings Questions
  • 26. • • • • (26) Powered by QuizOver.com - http://www.quizover.com QuizOver.com is the leading online quiz & exam creator Copyright (c) 2009-2014 all rights reserved 6.1.1. Question: Which of the following messaging approaches requires no timing depe... Which of the following messaging approaches requires no timing dependencies between the sender(s) and receiver(s)? Please choose all the answers that apply: Point-to-Point Messaging durable Publish/Subscribe Messaging non durable Publish/Subscribe Messaging Remote Procedure Call Author: JavaChamp Team Check the answer of this question online on QuizOver.com: Question: timing dependencies in Publish/Subscribe Messaging Permalink: http://www.quizover.com/pdf/timing-dependencies-in-publishsubscribe-messaging
  • 27. • • • • (27) Powered by QuizOver.com - http://www.quizover.com QuizOver.com is the leading online quiz & exam creator Copyright (c) 2009-2014 all rights reserved 6.1.2. Question: What is true about Destination components in Point to Point messagi... What is true about Destination components in Point to Point messaging and Publish/Subscribe messaging? Please choose all the answers that apply: a destination in Point to Point messaging is called Topic a destination in Point to Point messaging has one consumer for each message messages in a destination of Point to Point messaging are consumed in FIFO order messages sent to a destination of Publish/Subscribe messaging must be generated by only one publisher but can be consumed by many subscribers Author: JavaChamp Team Check the answer of this question online on QuizOver.com: Question: destination components in point to point messaging and publish/subscribe messaging Permalink: http://www.quizover.com/pdf/destination-components-in-point-to-point-messaging-and- publishsubscribe-messaging
  • 28. • • • • (28) Powered by QuizOver.com - http://www.quizover.com QuizOver.com is the leading online quiz & exam creator Copyright (c) 2009-2014 all rights reserved 6.1.3. Question: What design pattern best describes the Publish/Subscribe messaging? What design pattern best describes the Publish/Subscribe messaging? Please choose only one answer: Proxy Bridge Observer Builder Author: JavaChamp Team Check the answer of this question online on QuizOver.com: Question: what design pattern best describe the publish/subscribe messaging? Permalink: http://www.quizover.com/pdf/what-design-pattern-best-describe-the-publishsubscribe-messaging