Download as pdf or txt
Download as pdf or txt
You are on page 1of 44

Exam : 000-297

Title : IBM WebSphere MQ V5.3 Solution Development

Ver : 06.26.06
000-297

QUESTION 1:

A solution design requires that JPEG binary images up to five megabytes in length be
distributed by applications running on several platforms.
Which of the following is in conflict with this design requirement?

A. MQSeries for Compaq NonStop Kernel.


B. MQSeries for OS/2 Warp
C. WebSphere MQ for Linux for Zseries
D. WebSphere MQ Windows

Answer: A

QUESTION 2:

In a new application to be created on WebSphere MQ for z/OS V5.3, which of the


following design criteria will be inconsistent with the use of queue-sharing groups?

A. All messages are between 16k and 32k in length.


B. The queues must contain persistent and non-persistent messages.
C. Reply queues must be temporary dynamic queues.
D. Each message depends on the contents of the previous one.
E. The SYSTEM.DEFAULT.LOCAL.QUEUE must be redefined as shared.

Answer: C,D

QUESTION 3:

A Websphere MQ Linux for intel application exchanges large XML messages with a
WebSphere MQ for Sun Solaris application. To send these messages using message
segmentation, which of the following MUST the sending application perform?

A. issue the MQPUT with MQMF_GROUPING_ALLOWED set in the MsgFlags of the


message descriptor.
B. issue the MQPUT with MQMF_SEGMENTATION_ALLOWED set in the MsgFlags of the
message descriptor.
C. issue the MQPUT with MQPMO_NO_SYNCPOINT in the put message options.
D. This cannot be performed by the sending application.

Answer: B

QUESTION 4:

A central UNIX application is being developed to provider responses to requests from


users located at branch offices. Each branch office has its own request queue on the central

Actualtests.com - The Power of Knowing


000-297

UNIX server. There are 20 branch offices. The central UNIX application runs as a single
process using a separate thread for each request queue. Which of the following statements
is true about the implementation of each thread?

A. The connection handle can be shared by using MQCONNX to connect to the queue manager.
B. Threads cannot connect to the queue manager by using MQCONN.
C. The WebSphere MQ implementation is not dependent on the POSIX thread level.
D. MQCMIT calls must be issued by the parent thread.

Answer: A

QUESTION 5:

When using WebSphere MQ with Microsoft Transaction Server (MTS), which of the
following is NOT true?

A. WebSphere MQ work in the Microsoft Transaction Server (MTS) environment, and MQI
connection handles can be pooled for efficiency.
B. WebSphere MQ work in the Microsoft Transaction Server (MTS) environment, but only
supports a single phase commit by Microsoft DTC.
C. Handles in the pool will only be re-allocated to a client with the same user id.
D. A Microsoft Transaction Server (MTS) application which calls WebSphere MQ can also run
under Microsoft COM+unchanged.

Answer: B

QUESTION 6:

Which of the following statements about programming languages supported by


WebSphere MQ is true?

A. WebSphere MQ applications cannot be written in Visual Basic.


B. On Compaq NSK, WebSphere MQ applications must be written in TAL.
C. On iSeries, RPG programmers cannot use WebSphere MQ facilities.
D. COBOL can be used to program WebSphere MQ applications on Windows 2000.

Answer: D

QUESTION 7:

What is the impact of setting MQOO_INPUT_EXCLUSIVE in the options for MQOPEN?


A. If the queue is already open for putting messages, the MQOPEN fails, Otherwise, the
application can put messages on the queue.
B. If the queue is already open for getting messages, the MQOPEN fails, Otherwise, the
application can get messages from the queue.
C. If the queue is already open for putting messages, the MQOPEN waits until the queue is

Actualtests.com - The Power of Knowing


000-297

available. Otherwise the application can put messages on the queue.


D. If the queue is already open for getting messages, the MQOPEN waits until the queue is
available. Otherwise, the application can get messages from the queue.

Answer: B

QUESTION 8:

In which of the following circumstances should an application programmer be concerned


with the conversion of WebSphere MQ message headers?

A. When the applications are communicating across a TCP/IP network.


B. When the applications are running on different operating sysytm.
C. When the applications use different CodedCharSetlds or Encoding.
D. It is never necessary to convert WebSphere MQ message headers

Answer: D

QUESTION 9:

Which of the following WebSphere MQ manuals describes the WebSphere MQ sample


programs?

A. Application Programming Guide


B. Planning Guide
C. Application Programming Reference
D. System Administration Guide

Answer: A

QUESTION 10:

Which of the following changes MUST be made to an application queue to enable that
queue to be triggered?

A. Set trigger control on.


B. Allow only persistent messages on the queue.
C. Set initiation queue parameter.
D. Fill in the process parameter.
E. Set the message delivery sequence to FIFO.
F. Start the trigger monitor

Answer: A,B,C

QUESTION 11:

Actualtests.com - The Power of Knowing


000-297

What is the MOST appropriate method of initializing WebSphere MQ API structures in C


language application programs?

A. Set each value for each field individually


B. Use the MQSET verb to assign default values.
C. Set each structure using the supplied default macro definition.
D. Do nothing as the structures are automatically assigned default values.

Answer: C

QUESTION 12:

In which of the following languages can a cluster workload exit be written?

A. COBOL
B. C
C. PL/1
D. System/390? Assembler (WebSphere MQ for z/OS)
E. RPG

Answer: B,D

QUESTION 13:

In the design of a suite of WebSphere MQ message applications to be run on multiple


machines, when is data conversion LEAST likely to be needed?

A. When the solution will be deployed in a single country


B. When the applications will use existing channels and the MQMD Format specifies
MQFMT_STRING
C. When the message are being sent between applications on the same system.
D. When a web browser is front-ending the WebSphere MQ applications.

Answer: C

QUESTION 14:

A Web Sphere MQ application A sends a message to WebSphere MQ application B using


the following settings: mqput syncpoint, non persistent expiry = 10 seconds, format =
MQFMT_STRING application A then waits for the reply message from application B
using the following setting mqget syncpoint , wait interval - 10 seconds, any Correlld any
messages received which do not correspond with the outstanding request are discarded. On
receipt of the expected reply , application A commits its messaging work. If the average
length of time that application B takes to process the request is five seconds, which of the
following behaviors will application A exhibit?

Actualtests.com - The Power of Knowing


000-297

A. Reply messages will never be received.


B. Reply messages will occasionally to be received.
C. Messages will occasionally be received in the wrong code page.
D. Application A may occasionally cause performance problems in the application B.

Answer: A

QUESTION 15:

Where can the sample C applications for WebSphere MQ for Windows 2000 be found?

A. <MQInstallDir>\TOOLS\SAMPLE\C
B. <MQInstallDir>\C\SAMPLES
C. <MQInstallDir>\SAMPLES\C
D. <MQInstallDir>\TOOLS\C\SAMPLES\

Answer: D

QUESTION 16:

Which of the following statements describes the behavior of Web Sphere MQ when a
message arrives that is larger than the buffer specified by the applicationon the
MQGETcall if the application specified MQGMO_ACCEPT_TRUNCATED_MSG?

A. The message is not removes from the queue. Web Sphere MQ terminates the application
abnormally and writes a message to the system operator.
B. The message is removed from the queue and is copied in its entirety to the application's
buffer. WebSphere MQ RETURNS TO THE APPLICATION WITH A completion code of
MQCC_WARNING to warn the application that it may have written past the end of its buffer.
The reason is set to MQRC_TRUNCATED_MSG_ACCEPTED.
C. The message is removed from the queue and as much of it is copied to the application's buffer
as will fit.WebSphere MQ returns to the application with a completion code of
MQCC_WARNING AND A REASON OF mqrc_truncated_msg_accepted.
D. The message is not removed from the queue, but as much of it is copied to the application;s
buffer as will fit. WebSphere MQ returns to the application with a return code of
MQCC_WARNING and a reason of MQRC-TRUNCATED_MSG_FAILED.

Answer: C

QUESTION 17:

Which of the following steps will allow a WebSphere MQ for AIX application to open a
queue using the authority defined for a different user?

A. Granting alternate user authority to user1


B. Making user2 a member of the mqm group

Actualtests.com - The Power of Knowing


000-297

C. Setting the alternateuserid field of the object descriptor to user2


D. Setting the environment variable MQ_ALTERNATE_USERID to user2
E. Setting the AUTHOREV attribute of the queue manager object to ENABLED

Answer: A,C

QUESTION 18:

Which of the following is the installation directory or library for the WebSphere
MQ C language include files on UNIX platforms other than AIX?

A. /mqm/inc
B. /opt/mqm/inc
C. /usr/mqm/inc
D. /usr/mqm/tools/inc

Answer: C

QUESTION 19:

Which of the following are valid message browsing options for the MQGMO structure?

A. MQGMO_BROWSE
B. MQGMO_BROWSE_FIRST
C. MQGMO_BROWSE_NEXT
D. MQGMO_BROWSE_PREV
E. MQGMO_BROWSE_LAST

Answer: B,C

QUESTION 20:

Certkiller .com has developed its own messaging middleware over several years, and wishes
to introduce WebSphere MQ for its new applications. Existing applications will continue to
use internal solution but to allow application communication, an adapter has been
developed to WebSphere MQ. The adapter must not duplicate WebSphere MQ messages,
must not remove a WebSphere MQ message until received by the internal middleware, and
must provide an audit trail. The adapter is a C application running on windows 2000.
Which of the following statements is correct?

A. The application does not need any code for the audit feature as this is provided by WebSphere
MQ circular logs.
B. The adapter code must perform a global unit of work updating the WebSphere MQ message
and internal middleware messages.
C. If the message is non-persistent the adapter code must not use the WebSphere MQ option
MQGMO_SYNCPOINT

Actualtests.com - The Power of Knowing


000-297

D. The application can use different threads depending on the direction of message flow.

Answer: D

QUESTION 21:

Which of the following are valid statements about the underlying common object module
used by WebSphere MQ to support object-oriented programming environments?

A. Persistence is an attribute of the Message class.


B. Messages are sent using the put method of the Queue Manager class.
C. Queues are opened using the openQueue method of a QueueManager object.
D. An application connects to a WEBsPHERE mq QUEUE MANAGER BY CREATING AN
OBJECT OF THE qUEUEmANAGER CLASS.
E. The get method of the Message class is used to retrieve messages from a queue.

Answer: A,D

QUESTION 22:

Which of the following MQI calls is used to start a Queue Manager coordinated global
unit of work?

A. MQSTART
B. MQSTARTTP
C. MQBEGIN
D. MQSTTRAN

Answer: C

QUESTION 23:

Which of the following is NOT an advantage of using queue manager clustering?

A. Increased availability of queues and applications


B. Increased availability of messages queued on a failing queue manager.
C. Faster throughput of messages
D. More even distribution of workload in your network

Answer: B

QUESTION 24:

Definitions of all the WebSphere MQ constants and return codes are found in which of the
following include files?

Actualtests.com - The Power of Knowing


000-297

A. cmqp for PL/1


B. CMQP for COBOL
C. Cmqp.h for C
D. CMQP. BAS for Visual Basic.

Answer: A

QUESTION 25:

Which of the following steps are required to enable an application to be triggered?

A. Define appropriate trigger attributes for the triggered queue.


B. Define a Process object which specifies the application to be triggered.
C. Define the application to be triggered.
D. Start the appropriate trigger monitor.
E. Modify the trigger monitor to activate this application.

Answer: A,B,D

QUESTION 26:

The following C statements performs a WebSphere MQ operation.


MQPUT1(Hcon,&odR,&odR,&md,&pmo,buflen,buffer,&ComCode,&Reason)
Which of the following statements is true?

A. Hcon contains the name of the queue manager.


B. The structure for the variable md is contained in the cmqmsg.h header file.
C. The buflen variable specifiels how many bytes how many bytes from the buffer variable are
to be sent in the message.
D. This call is suitable for use in applications that send many messages to the same queue.

Answer: C

QUESTION 27:

Which of the following is NOT true regarding WebSphere MQ API Exits?

A. API Exits run on z/OS


B. API Exits must be written in C.
C. API Exits are called before and after each MQI verb.
D. MQI calls can be made within an API Exit.

Answer: A

QUESTION 28:

Actualtests.com - The Power of Knowing


000-297

Which of the following conditions can cause a WebSphere MQ event message to be


generated?

A. MQPUT call fails because the queue is inhibited for put.


B. MQINQ calls is performed to get the current queue depth.
C. MQGET fails because the queue is not open for input.
D. MQPUT fails because the message is too big for the queue.
E. Mqput CAUSES THE QUEUE TO BECOME FULL.

Answer: A,E

QUESTION 29:

An application running on WebSphere MQ for Linux has a requirement to collect a list of


all queues on its local queue manager. Which of the following verbs is used to send the
request using the MQAI?

A. MQSendPCF
B. MQExecute
C. MQINQ
D. MQSendAI

Answer: B

QUESTION 30:

Which of the following JMS objects can be defined using the WebSphere MQ JMS Admin
tool?

A. MQJNDIConnectionFactory
B. MQQueue
C. MQTopic
D. MQXAQueueConnectionFactory
E. JMSWrapMQQueue
F. MQCOSConnectionFactory

Answer: C,D,E

QUESTION 31:

Which of the following C language data types are NOT directly supported by the
WebSphere MQ data conversion exit generation facility?

A. char
B. float
C. long

Actualtests.com - The Power of Knowing


000-297

D. short
E. double

Answer: B,E

QUESTION 32:

An AIX C application updates and Oracle database and puts q message to a WebSphere
MQ queue. This WebSphere MQ queue. This WebSphere MQ message is then used to
update a DB2 database on a remote HP-UX machine. If the updates to the Oracle and the
DB2 databases are required to be in a single global unit of work, which of the following
statements are true?

A. The AIX application must use the MQBEGIN API call and the HP-UX must use MQCMIT to
commit the global unit of work.
B. It is not possible to have single global unit of work over several queue manager
C. The update of the DB2 database can be coordinated by the AIX WebSphere MQ QUEUE
MANAGER
D. If the HP-UX application does not issue an MQCMIT all updates are rolled back.
E. It is possible to use single units of work on each queue manager with persistent messages an
use compensating transactions if the HP-UX unit of work is backed out.

Answer: B,E

QUESTION 33:

Which of the following security services can only be implemented by Application Level
Security (also known as end-or message level security)?

A. Data integrity must be maintained when message are in transit over the internet
B. Confidentiality of the messages while they are stored on queues.
C. Authentication and identification of the two MCA,'s during channel connection establishment.
D. Data integrity must be validated by the message consumer applications.

Answer: B,D

QUESTION 34:

Which methods of transaction coordination can be used by a WebSphere MQ application


developer on a z/OS platform?

A. Global unit of work coordinated by CICS


B. Global unit of work coordinated by ORACLE
C. Global unit of work coordinated by WebSphere MQ
D. Global unit of work coordinated by IDMS
E. Global unit of work coordinated by RRS

Actualtests.com - The Power of Knowing


000-297

F. Global unit of work cocontrol (MQCMIT,MQBACK)

Answer: A,B,E

QUESTION 35:

A Websphere MQ application requests updates to database in response to input from an


end user, it does this by sending a message which requests the update and supplies the data
to a WebSphere MQ server application. The end user requires positive confirmation that
the update succeeded in order to complete the business operation that the application
supports. Typically replies are received within about two seconds of a request being
submitted . Which of the following techniques is MOST appropriate for handling the
situation in which replies are delayed?

A. If a reply has not arrived within 10 seconds, abnormally terminate the application to ensure
that the request does not get processed on the server.
B. Protect the request and response within a single unit of work that can be rolled back if the
reply is not received.
C. Block the application waiting for the reply If it has not arrived within 10 seconds report to the
end user that processing has been delayed.
D. Block the application waiting for the reply, if it has not arrived within 6 minute report to the
end user that processing has been delayed.

Answer: C

QUESTION 36:

A file transfer system based on WebSphere MQ is being designed for use on two UNIX
servers and does not use Reference messages. It is based on a single long running process
on each server that sends files and then receives files. The files are sent as WebSphere MQ
messages to a predefined queue. Which of the following design characteristics is the MOST
appropriate?

A. Use of separate threads for sending files and receiving files.


B. Use of non-persistent messages
C. Use of persistent messages
D. Use of message priority to implement a class of service dependent on file size.

Answer: A

QUESTION 37:

There is a requirement for a non-SAP partner application to exchange data with a SAP
server application over WebSphere MQ. The MQSeries link for R/3 has been selected to
interface between the two applications. Which is a true statement about using the
MQSeries link for R/3?

Actualtests.com - The Power of Knowing


000-297

A. The MQSeries link for R/3 can be used instead of a queue manager.
B. The MQSeries link for R/3 implements a request/ reply protocol for theexchanges of IDOCs.
C. The MQSeries link for R/3 can automatically configure the Application Link Enabling (ALE)
of the attatched SAP system.
D. The SAP server application does not need to use MQI API calls to receive/send data over
WebSphere MQ.

Answer: D

QUESTION 38:

The Websphere MQ Extended Transactional client can create units of work to coordinate
database updates, and get and put messages from/to queues?

A. Using a remote XA complaint Transaction Manager.


B. Using a remote queue manager as Transaction Manager.
C. Using a local XA complaint Transaction Manager.
D. Acting as the Transaction Manager itself.

Answer: C

QUESTION 39:

Which of the following functions are available for WebSphere MQ client applications. But
not for applications local to a queue manager?

A. Concurrent connections to different queue managers.


B. Triggering
C. MQGET with WAIT
D. Unit of work coordination for groups of messages
E. Automatic connection to any available queue manager in a queue manager group.

Answer: A,E

QUESTION 40:

Exhibit

Actualtests.com - The Power of Knowing


000-297

Refer to the exhibit to answer the question:


Which of the following illustrated components should be used by the application developer
to do unit tests?

A. Request Servlet
B. Queue manager QMGRA
C. Queue manager QMGRAB
D. Server Application
E. Database DataB
F. Reply Servlet

Answer: B,E,F

QUESTION 41:

Which of the following errors are reported on a WebSphere MQ error log on a UNIX
system?

A. A security violation accessing a local queue.


B. An error while putting a report message
C. A failure to place a message on a remote target queue.
D. A failure of an MQI call
E. A data conversion exit failure
F. An application MQCONN failure.

Answer: C,D,F

QUESTION 42:

Exhibit

Actualtests.com - The Power of Knowing


000-297

Refer to the exhibit to answer the question:


For a unit test of the request servlet (as shown in the diagram), which of the following
actions are relevant?

A. Interconnect the queue manager QMGRA and QMGRB.


B. Change MQ object attributes to provoke error conditions and check how the servlet reacts
them.
C. Monitor WebSphere MQ error logs for error messages generated by the servlet.
D. Check that all the channel definitions are in place.
E. Generate input HTTP message for the servlet to process and check the output generated.

Answer: B,E

QUESTION 43:

On Windows 2000, which of the following may be used to display the contents of the
Encoding field of a message currently on a queue?

A. amqsdmp
B. amqsbcg
C. dsmqtrc
D. amqinfon

Answer: B

QUESTION 44:

Which of the following is an appropriate action to take when an application checks the
BackoutCount of a message?

A. Decide that the application programhas issued too many transaction back-outs for the
message and terminate the process.
B. Compare the number of transaction back-outs issued for the message with the queue;s
Backout Threshold value and decide if the message should be moved to the

Actualtests.com - The Power of Knowing


000-297

BackoutRequeueQName queue.
C. Do not check the Backout Countbeacuse the queue manager checks it and takes appropriate
action.
D. Use the BackoutCOUNT TO DETERMINE THE QUEUE MANAGER'S PERFORMANCE
IN TRANSACTION HANDLING.

Answer: B

QUESTION 45:

A WebSphere MQ application program is being developed in C using MQI API. Which of


the following actions is the MOST important to have a robust program?

A. Do not use multiple threads.


B. Avoide using pointer variables.
C. Check the backout count of each input message.
D. Check and act on the reason codes after MQI calls.

Answer: D

QUESTION 46:

Exhibit

Refer to the exhibit to answer the question:


It is a requirement that the illustrated application message flow uses persistent messages and
transaction coordination to maintain data integrity throughout the flow. How many different units
of work should be tested in a single round trip of a request message and its reply?

A. One 2-phase end-to-end unit of work for the entire flow.


B. Two 2-phase unit of works, one in the Request Servlet and one in the Server Application.
C. Three 2-phase unit of works, one in the Request Servlet, one in the Server Application and one in the
Reply Servlet
D. Units of work are not required because persistent messages are used.

Actualtests.com - The Power of Knowing


000-297

Answer: C

QUESTION 47:

A WebSphere MQ server application is being re-configured as a WebSphere MQ client


application. Which of the following factors will now have the greatest effect on
performance?

A. MQOPEN
B. Message persistence
C. MQDISC
D. Message size

Answer: D

QUESTION 48:

WebSphere MQ client applications connected to windows queue managers send messages


to a server application on a UNIX system. To improve the availability of the server
application, a second instance of it is deployed to another UNIX system. Which of the
following WebSphere MQ definitions have to be made?

A. The server queues have to be defined as local queues on both UNIX queue managers. Both
local queues must have the same name.
B. The server queues have to be defined as cluster queues on both UNIX queue managers. Both
cluster queues must have the same name.
C. All queue managers are defined as members of the same queue manager cluster.
D. All the Windows queue managers are members of the same queue manager cluster.
E. A name list, containing both UNIX queue managers has to be defined on every Windows
queue manager.

Answer: B,C

QUESTION 49:

An application design requires that messages be exchanged between a WebSphere MQ


application on a central Sun Solaris server and several Windows 2000 client WebSphere
MQ applications. The client applications must receive the messages within 30 minutes from
the time the server issued them or the data must be returned t the server. What is the
MOST appropriate way to satisfy this design using WebSphere MQ facilities?

A. Examin the MQMD Put time and MQPUT1 a reply message containing the original data to
the server if the message is more than 30 minutes old.
B. Set MQMD Expiry to time out each message after 30 minutes. Set MQMD
ConfirmOnDelivery to MQCOD_RETURN_FULL_DATA.

Actualtests.com - The Power of Knowing


000-297

C. Set MQMD Expiry to time out each message after 30 minutes. Set MQMD Feedback to
mqfb_expiration_with_FULL_DATA.
D. Set MQMD Expiry to time out each message after 30 minutes. Set MQMD Report to
MQRO_EXPIRATION WITH_FULL_DATA.

Answer: D

QUESTION 50:

The application design require message priority to be used. Which of the following queue
attributes has to be changed?

A. DEFPRTY has to be set to an integer vakue from 0 to 9


B. PRIORITY has to be set to YES.
C. MSGDLVSQ has to be set to PRIORITY
D. INDXTYPE has to be set to PRIORITY

Answer: C

QUESTION 51:

A Web Sphere MQ application on LINUX sends messages to its partner application on


iSeries. It does not expect a reply but needs to be informed, when the message cannot be
delivered. Which of the following report options should be used by the LINUX application?

A. Confirm on delivery
B. Confirm on arrival
C. Exception
D. Expiration

Answer: C

QUESTION 52:

Which of the following is a feature of a permanent dynamic queue that is NOT true of a
pre-defined queue?

A. It may be deleted by an MQSC DELETE command.


B. It may hold persistent and non-persistent messages.
C. It may be deleted by an MQCLOSE.
D. It may be recovered in the event of a system failure.

Answer: C

QUESTION 53:

Actualtests.com - The Power of Knowing


000-297

Applications use command messages to communicate with the MQSeries


Publish/Subscribe broker (SupportPac MAOC) when they want to publish or subscribe to
information. Which of the following headers is used for these messages?

A. MQRFH
B. MQRFH2
C. MQDLH
D. MQRMH

Answer: A

QUESTION 54:

A WebSphere MQ program using a conversational approach needs information that can


be obtained by sending a message to a server queue. Which part of the message descriptor
should always be specified when putting the message?

A. The report options


B. The unique message identifier
C. The correlation identifier
D. The reply-to queue

Answer: D

QUESTION 55:

Which of the following is NOT a feature of temporary dynamic queue?

A. They are based upon model queue definitions.


B. They hold only non-persistent messages.
C. They are deleted when the application which issued the MQOPEN issues an MQCLOSE for
the queue.
D. They are recoverable.

Answer: D

QUESTION 56:

A WebSphere MQ application sends different types of requests to a remote server queue.


Some requests have to be processed immediately, some can be processed later. What is the
MOST appropriate way to implement this design using WebSphere MQ facilities?

A. The application should use non-persistent messages for the first type of requests, so they can
be transportes faster over the network.
B. The application should use the default priority for the slow requests and the highest priority
for the fast requests.

Actualtests.com - The Power of Knowing


000-297

C. The application should use a defined Correlld for the fast request, so that the receiving
application can search for them, and get the other requests later.
D. The application should use a higher message priority for the fast requests and a lower priority
for the slow requests.

Answer: D

QUESTION 57:

It is not practical to remove message affinities from the design of a client/server


application that is being implemented in a queue manager cluster. Which of the following
is the MOST appropriate recommendation to solve this problem?

A. Name a specific queue manager on the MQOPEN call.


B. Use the MQOO_BIND_ON_OPEN option on the MQOPEN call.
C. Use a cluster workload exit.
D. Use message group.

Answer: B

QUESTION 58:

Which of the following are the two MOST common causes of WebSphere MQ returning
an error to an MQI call?

A. Failure of an MQ1 call; for example, because a queue is put disabled.


B. Failure of message delivery , for example, because a sender channel is not started.
C. Incorrect message conversion, for example because of a bug in a channel exit.
D. An interruption to the running of some part of the system on which your application is
dependent for example the queue manager

Answer: A,D

QUESTION 59:

An application design requires that status messages be exchanged between two


environments. One status message is sent every 10 minutes and each message supersedes
any previous status. What is the MOST appropriate way to implement this design using
WebSphere MQ facilities?

A. Place a time stamp in the MQMD correlld field and use MQGET by correlld to obtain the
latest version of the status message.
B. Set the Retentioninterval attribute of the queue to 10 minutes.
C. Set MQMD expiry to 10 minutes
D. Examine the MQMD put time and discard message more than 10 minutes old.

Actualtests.com - The Power of Knowing


000-297

Answer: C

QUESTION 60:

An application processes both inquiry messages and update messages which generated
query and update activity against a database. The majority of messages are inquiry
messages and update message must be processed immediately. What id the MOST
appropriate method of implementing this application?

A. Implement a separate queue for non-persistent inquiry messages and for non-persistent update
messages.
B. Implement a single queue for all messages. Use the message Correlld to identify update
messages and take the update messages from the queue before inquiry messages using MQGET
by Correlld.
C. Implement a single queue for all messages. Use priority as the delivery sequence for messages
and give the update messages a higher priority than the inquiry messages.
D. Implement a single queue for all messages. Use non-persistent messages for inquiry and
persistent messages for update.

Answer: C

QUESTION 61:

A WebSphere MQ application, running on windows 2000, will provide the user for a new
telephone call center operated by a retail bank. Customers of the bank will be able to
telephone the call center to have various operations performed on their accounts. Changes
to accounts will be performed asynchronously, on AIX server machines, increase call
throughput. Which of the following WebSphere MQ feature is appropriate for account
updates in this application?

A. Non-persistent messages
B. Persistent messages
C. Confirmation of Arrival
D. Confirmation of Delivery

Answer: B

QUESTION 62:

A web based order entry system is integrated via WebSphere MQ with the existing order
management system. The solution must not be lose order. Each order will be variable
length data of up to 500 characters and the web user will require confirmation that the
order has been received. Which of the following statements is true?

A. The web application must use MQPMO_SYNCPOINT.

Actualtests.com - The Power of Knowing


000-297

B. The web application should use MQRO_COD.


C. The order management application should use MQFMT_STRING for the MQGET.
D. The order management application must use MQGMO_LOGICAL_OPDER.

Answer: B

QUESTION 63:

Which of the following steps to enable triggering can be omitted?

A. Create an initiation queue.


B. Create a process definition.
C. Create a triggered application queue associated with an initiation queue and a process
definition.
D. Start a trigger monitor.

Answer: A

QUESTION 64:

Which of the following WebSphere MQ facilities are provided to handle poison messages
encountered within syncpoint processing?

A. BaxkoutThreshold of the queue definition.


B. BackoutCOUNT OF THE poison message
C. Dead Letter Queue
D. PoisonMessage Handler user exit
E. PoisonMessageCount of the poison message
F. BackoutRequeueQName of the queue definition.

Answer: B,C,F

QUESTION 65:

A WebSphere MQ application environment consists of a central server application and 25 partner


client applications. Messages are received by th server application and reply messages are returned
to each client application. What is the MOST appropriate queue configuration for this
environment?

A. 25 server queues (1 per client application), 25 reply queues )1 per client application)
B. 1 server queue, 25 reply queue (I per client application)
C. 1 server queue, 1 reply queue
D. 25 server queues (1 per client application), 1 reply queue

Answer: B

Actualtests.com - The Power of Knowing


000-297

QUESTION 66:

What mechanism in WebSphere MQ can be used to guarantee the orderof receipt of messages?

A. Message groups
B. Message references
C. Queue Manager coordinated global units of work
D. Message priority

Answer: A

QUESTION 67:

A program calls MQGET using default message options.The call is unsuccessful


because the message is larger than the buffer provided. Which of the following
reasons codes is returned?

A. MQRC_TRUNCATED_MSG_FAILED
B. MQRC_TRUNCATED_MSG_ACCEPTED
C. MQRC_NONE
D. MQRC_MSG_TOO_BIG

Answer: A

QUESTION 68:

An application design requires that the same message be distributed from a server
application running on a central Compaq NSK V5.1 queue manager to all partner
applications running on WebSphere MQ for AIX, HP-UX and Sun SORIS. What is
the MOST appropriate method of satisfying this requirement?

A. Use a Namelist to hold the list of target queues and process messages for each queue
independently
B. MQOPEN each queue separately and process messages for each queue independently
C. MQOPEN a distribution list and process messages for each queue together
D. MQOPEN each queue separately and process each duplicated message for the queues
within a unit of work

Answer: C

QUESTION 69:

An application performs a WebSphere MQ MQPUT1 operation. Which of the


following statements is true?

A. The HCONN parameter contains the name of the queue manager

Actualtests.com - The Power of Knowing


000-297

B. This call is suitable for use in applications that send many messages to the same
queue.
C. The layout message priority can be set through a parameter in the
MESSAGE-DESCRIPTOR.
D. BUFFER-LENGTH specifies how many bytes from the BUFFER variable are to be
sent in the message.

Answer: D

QUESTION 70:

Where can the sample C source code for WebSphere MQ for Sun Solaris be found?

A. /opt/mqm/samples
B. /opt/mqm/tools/samples
C. /opt/mqm/samples/c
D. /opt/mqm/samp

Answer: B

QUESTION 71:

When a cluster contains more than one instance of the same queue, which of the
following are factors in the workload management algorithm which routes the
message?

A. The state of the channel


B. The number of messages currently in each instance of the queue
C. All instances of the queue, local and remote are given equal consideration
D. The availability of the queue manager
E. The length of the message

Answer: A,D

QUESTION 72:

A retail outlet is allowing shoppers to order products over the web. Websphere MQ
will integrate a Domino server application running on AIX with the existing iSeries
order entry system. Which of the following statements is true?

A. The iSeries application should use WenSphere MQ option MQGMO_CONVERT


B. The Domino server application should use WebSphere MQ option MQFMT_NONE.
C. The Domino server application should use WebSphere MQ option
MQPMO_CONVERT to ensure that the message is sent in the correct format.
D. The iSeires application must compare the CCSID from the MQMD of the incoming
message with the CCSID of its local queue manager in order to determine how the

Actualtests.com - The Power of Knowing


000-297

message is to be converted

Answer: A

QUESTION 73:

What is the meaning of the value in the MQMD Expiry field?

A. Universal time when a message will be discarded


B. Local time when a message will expire
C. Date and time when a message will expire
D. Message lifetime after which a message is considered to have expired

Answer: D

QUESTION 74:

For which channel exist are samples supplied with WebSphere MQ for Windows
2000?

A. Authentication Exit
B. Security Exit
C. Data Conversion exit
D. Reference message channel exit
E. Message Retry Exit

Answer: C,D

QUESTION 75:

What is the recommended method of initializing WebSphere MQ API structures in


COBOL language application programs?

A. Use the supplied default copybooks


B. Use the MQSET verb to assign default values
C. Set each value for each filed individually
D. Do nothing as the structures are automatically assigned default values

Answer: A

QUESTION 76:

Which of the following statements is NOT true about the MQCNO structure?

A. It is an input/output parameter on the MQCONNX call.


B. It is available on all platform

Actualtests.com - The Power of Knowing


000-297

C. It can control the use of SSL for a client connection


D. Data in MQCNO must be in the character set and encoding of the local queue
manager.

Answer: B

QUESTION 77:

In order to ensure that any MQMD Context fields can be passed from one message
to another message, which of the following MUST be specified?

A. MQPMO_PASS_ALL_CONTEXT
B. MQGMO_PASS_IDENTITY_CONTEXT
C. MQPMO_DEFAULT_CONTEXT
D. MQGMO_SECURITY_HEADER

Answer: A

QUESTION 78:

What is the effect of the MQPMO Options parameter MQPMO_NEW_MSG_ID?

A. It causes the new Msgid to include an application specified prefix.


B. It causes the Msgid in the MQMD to be replaced with a new Msgid
C. It causes the Msgid in the MQMD to be used
D. It causes the Msgid to be taken from the MQPMO MQMD field.

Answer: B

QUESTION 79:

An application that sends messages between queue managers runs on a WebSphere


MQ client. When this application is ported to a WebSphere MQ server, a failure is
occurring. Which of the following MQIcalls is the MOST probable cause of the
failure?

A. MQCONN
B. MQOPEN
C. MQGET
D. MQPUT

Answer: A

QUESTION 80:

Which of the following WebSphere MQ named constants has different values on

Actualtests.com - The Power of Knowing


000-297

z/OS and Windows 2000?

A. MQENC_NATIVE
B. MQFMT_STRING
C. M
D.QUESTION NO: FORMAT_LENGTH
E.MQCCSI_DEFAULT

Answer: A

QUESTION 81:

A WebSphere MQ for Windows application must send binary messages to a


WebSphere MQ for z/OS application. The correlation id is set by the sending
application to an ASCll value representing the sequence number of the binary
message. The receiving application in order to get the message by correlation id?

A. Set the Options filed of the MQGMO structure to MQGMO_CONVERT.


B. Set the MatchOptions field of the MQGMO structure to
MQMO_MATCH_CORREL_ID.
C. Set the Correlld field of the MQMD structure to match the correlation id in ASCll.
D. Set the Correlld field of the MQMD structure to match the correlation id in EDCDIC.
E. Set the Version field of the MQMD structure to MQMD_VERSION_5

Answer: B,C

QUESTION 82:

Which of the following statements is NOT true regarding WebSphere MQ 5.3


queue-sharing groups on z/OS?

A. With a shared application queue, triggering works on committed messages only.


B. When using the MQINQ call to display information about a shared queue, information
is returned only for the queue manager that issued the call.
C. Only non-persistent messages may reside on a shared queue.
D. Shared queues can only be used if DB/2 is also installed on the same system

Answer: C

QUESTION 83:

Two working WebSphere MQ applications are to be ported from Windows 2000 to


Compaq NSK. Which of the following MUST be done in order to ensure that a
message successfully put to a queue by one application can be retrieved by the other
application on Compaq NSK?

Actualtests.com - The Power of Knowing


000-297

A. Use the default put message options


B. Use MQPMQ_NO_SYNCPOINT
C. Change all messages to be persistent
D. Use MQCMIT to end the application

Answer: B

QUESTION 84:

A broker application running on WebSphere MQ for iSeries has requirement to


send the same message to multiple remote queue managers, some of which do not
support distribution lists. What is the BEST implementation method for sending
multiple messages?

A. Use distribution lists with the MQPUT and also implement an API Exit to handle
routing at the xmit queue for the remote queue managers that do not support distribution
lists.
B. Avoid using distribution lists and issue a separate MQPUT for each remote queue.
C. Use distribution lists with the MQPUT and let WebSpher MQ for iSeries facilities
handle sending multiple messages as needed
D. Use distribution lists with the MQPUT for sending to the remote queue managers that
support distribution lists and issue a separate MQPUT for each remote queue manager
that does not support distribution lists.

Answer: C

QUESTION 85:

Which of the following environments support multi-threaded WebSphere MQ


applications?

A. MQSeires for AIX V5.2


B. MQSeries for VSE/ESA V2.1
C. WebSphere MQ Client for HP-UX V5.3
D. WebSphere MQ for Linux V5.3
E. MQSeries Client for OS/390 V2.1
F. MQSeries for Compaq OpenVMS Alpha V5.1

Answer: A,B,D

QUESTION 86:

A WebSphere MQ application sends different types of requests to a remote partner


application. Some requests have to be processed immediately, some can be
processed later. What is the MOST appropriate way to implement this design using
WebSphere MQ facilities?

Actualtests.com - The Power of Knowing


000-297

A. The application should use a higher message priority for the fast requests and a lower
priority for the slow requests.
B. The application should use one queue for the fast requests and another queue for the
slow request, so that the receiving application can get the fast request first.
C. The application should use different channels, one with NPMSPEED(FAST) for the
fast requests and one with NPMSPEED(NORMAL) for the slow requests.
D. The application should use a defined Correlld for the request, so that the receiving
application can search for them, and get the other requests later.

Answer: A

QUESTION 87:

Which of the following are valid WebSphere MQ QUEUE OBJECT TYPES?

A. Local queue
B. Application queue
C. Dynamic QUEUE
D. Remote queu
E. Alias queue
F. Shared queue

Answer: A,B,F

QUESTION 88:

An international bank is using MQSeries Publish/Subscribe (SupportPac MAoc) to


implement a system of publishing stock prices in all its branches. Which of the
following publications should be used to ensure new subscribers are automatically
supplied with the most recent stock prices?

A. State publications
B. Event publications
C. Retained state publications
D. Retained event publication

Answer: C

QUESTION 89:

Which WebSphere MQ facility may be used to process poison messages that may
be encountered during message processing within syncpoint?

A. When the message BackoutCount exceeds the BackoutThreahold attribute for the
queue, move the message to the queue identified in the BackoutRequeueQName attribute

Actualtests.com - The Power of Knowing


000-297

for the queue.


B. When the message BackoutCount exceeds the message BackoutThreahold move the
message to the queue identified in the BackoutRequeueQName attribute for the queue.
C. When the reason code is set to MQRC_BACKOUT_THRESHOLD_REACHED,
move the message to the queue identified in the BackoutRequeueQName attribute for the
queue.
D. When the reason code is set to MQRC_BACKOUT_THRESHOLD_REACHED, call
the MQBACK command to return the message to the queue.

Answer: A

QUESTION 90:

An application sends a mix of persistent and non-persistent messages to its partner


application. Which of the following objects should be defined?

A. Two local queues, one with DEFPSIS (YES) and one with DEFPSIST (NO)
B. One local queue with DEFPSIST(YES) and one alias queue with DEFPSIST(NO)
pointing to the local queue
C. One local queue
D. One local queue and two alias queues pointing to the local queue, one with
DEFPSIST(YES) and one with DEFPSIST(NO)

Answer: C

QUESTION 91:

A WebSphere MQ application environment consists of 10 applications, each


connected to its own local queue manager. There is no direct connection between
these queue managers. They communicate via a central queue manager (hub and
spoke architecture). Where should the application queues be defined?

A. 10 local queues on the central queue manager, 1 per application


B. 1 local queue on every application queue manager
C. 2 local queue on every application queue manager, one for input and one for output.
D. 1 local queue on the central queue manager, used by all applications

Answer: B

QUESTION 92:

A WebSphere MQ application receives request messages from several clients. What


should the application do, after it processes a request, assuming default report
options are set?

A. Copy the Msgid of the request to the Correlld of the Reply and send it to the queue,

Actualtests.com - The Power of Knowing


000-297

specified in the Reply To Q filed of the request.


B. Copy the Msgid of the request to the Correlld of the Reply and send it to the queue,
specified in the Reply To Q filed of the request AND THE QUEUE MANAGER
SPECIFIED IN THE Reply To QMgr field of the request
C. Copy the Correlld of the request to the Correlld of the default ReplyToQ of the local
queue manager.
D. Copy the Correlld of the request to the Correlld of the Reply and send it to the queue,
specified in the Reply To Q filed of the request.

Answer: B

QUESTION 93:

An application design requires a WebSpher MQ program to run as a CICS


transaction. It will taken an Inquiry message from a queue, extract data from a DB2
database, place a reply message on to a reply queue and terminate. The
non-persistent inquiry messages originate on 250 AIX queue managers over fast
channels. There will be many of these CICS transactions running simultaneously.
Which is MOST likely to cause a performance bottleneck?

A. MQCONN from CICS transactions


B. WebSphere MQ logger
C. MQOPEN from CICS transactions
D. MQCLOSE from CICS transactions

Answer: C

QUESTION 94:

The following program segment processes non-persistent messages only 1.


MQOPEN q1 2. do (100 times)3. MQGET q1 4. SQL query 5. MQPUT1q2 6.
MQCMIT 7. end 8. MQCLOSEq1. Which of the following changes should be made
to provide the greatest performance improvement in the program segmanet without
affecting the logic of the program?

A. Move MQOPEN for q1 inside the loop


B. Modify line 5 to be an MQPUT to q2.
C. Remove MQCMIT call.
D. Move MQPUT1 after MQCMIT
E. Add MQOPEN and MQCLOSE for q2 outside the loop.

Answer: B,E

QUESTION 95:

Which of the following types of queues can be opened for input?

Actualtests.com - The Power of Knowing


000-297

A. Alias queue
B. Local queue
C. Model queue
D. Process queue
E. Remote queue
F. Server queue

Answer: D,E,F

QUESTION 96:

A WebSphere MQ queue was defined with the following MQSC statement.


DEFINE QLOCAL (TRIGGEREDQUEUE) + TRIGGER TRIGTYPE(DEPTH)
TRIGDPTH(10) + PROCESS(MYPROCESS)
INITQ(SYSTEM.DEFAULT.INITIATION.QUEUE) What happens when the tenth
message arrives in the queue?

A. The queue manager puts a trigger message in the


SYSTEM.DEFAULT.INITIATION.QUEUE
B. The queue manager puts a trigger message in the initiation queue ssociated with the
process definition MYPROCESS.
C. The queue manager disables triggering on that queue
D. The queue manager starts the application that is defined in the process definition
MYPROCESS.
E. The queue manger changes the queue to put disabled.

Answer: A,C

QUESTION 97:

The workload for a WebSphere MQ server application should be balanced between


application instances on two servers. Which of the following WebSphere MQ
features should be used?

A. Shared input
B. Workload exit
C. Distribution list
D. Multiple instances of a cluster queue.

Answer: D

QUESTION 98:

A client application sends request messages to a server application. When the


server is not available for more than 10 seconds, the server should not process older

Actualtests.com - The Power of Knowing


000-297

requests, but the data in the request should not get lost. What is the MOST
appropriate way to implement this design using WebSphere MQ facilities?

A. The client should use expiration of 10 seconds for the request message and has to
store the data for the case, that no reply is sent from the server within the time period, and
resend the request.
B. The server should check the Put Time attribute of the request and process all messages
younger than 10 seconds and resend older messages to the client.
C. The client should send the request under syncpoint and resend it, if no reply has been
sent within 10 seconds.
D. The client should use expiration of 10 seconds and ask for an expiration report with
full data in the request message.

Answer: D

QUESTION 99:

An application design requires confirmation of message delivery as well as


exception reports. In the event that the destination queue is full on the receiving
queue manager, what value is set by WebSphere MQ in the message descriptor's
Feedback filed of the report message?

A. MQFB_Q_FULL
B. MQRC_Q_FULL
C. MQFB_NAN
D. MQFB_COD

Answer: B

QUESTION 100:

A WebSPhere MQ end user application sends requests to a backend application.


The end user has to be informed when the request has been processed . Which of the
following mechanisms can be used here?

A. Reply message sent from the backend application


B. Positive action notification report message sent from the backend application
C. Confirmation of delivery report message generated by the queue manger
D. Confirmation of processing report message generated by the queue manager
E. Confirmation of arrival report message generated by the queue manager

Answer: A,B

QUESTION 101:

Several instance of a server application read request messages from a single server

Actualtests.com - The Power of Knowing


000-297

queue. Which WebSphere MQ mechanism can be used to ensure that related


requests from a client are processed by the same server application instance?

A. Message groups
B. Message segmentation
C. Distribution list
D. Bind on open

Answer: A

QUESTION 102:

A broker application must put messages to multiple queues using a distribution list.
Which of the following implementations provides the MOST efficient error
handling following the MQPUT or MQPUT1 call?

A. Evaluate the MQRR structure contents if the reason code is set to


MQRC_MULTIPLE_REASONS
B. Evaluate the MQRR structure contents if the completion code is set to
MQRC_WARNING
C. Evaluate the MQOR structure contents if completion code is set to MQRC_FAILED
D. Evaluate the MQOR structure contents if the reason code is set to
MQRC_DIST_PUT_FAILED

Answer: A

QUESTION 103:

A cluster queue is defined three times in a queue manager cluster. One queue
instance is local to the application. How can the application that it opens the local
instance

A. Use the open option MQOO_BIND_ON_OPEN on the MQOPEN call.


B. Use the open option MQOO_BIND_AS_Q_DEF on the MQOPEN call.
C. Specify the local queue manager name on the MQOPEN call.
D. If the local instance is available, it will be opened by default

Answer: D

QUESTION 104:

A teller application running on the ATMs of a bank sends request messages


containing the account number of the customer and receives replies containing the
current account balance. Which message persistent should be used here?

A. Persistent requests and persistent replies

Actualtests.com - The Power of Knowing


000-297

B. Persistent requests and non-persistent replies


C. Non-persistent requests and persistent replies
D. Non-persistent requests and non-persistent replies

Answer: D

QUESTION 105:

A WebSphere MQ server application receives requests from several clients. For


each requests, the application reads a record out of a database, sends it back to the
requesting client, and informs a monitoring application. Which of the following
message types should be sent to the monitoring application?

A. Request
B. Reply
C. Report
D. Datagram

Answer: D

QUESTION 106:

Exhibit:

During a system test, it is detected that some persistent request messages with the
default MQMD expiration time are not getting replies. It also appears that they
have not been processed by the Server Application. The messages are not waiting on
any transmission queue. What is the MOST likely cause of this problem?

A. WebSphere MQ loses messages under some circumstances.


B. The dead letter queues are not properly defined to the respective queue managers
C. Messages have been diverted to a dead letter queue and there is no process to recover

Actualtests.com - The Power of Knowing


000-297

the messages.
D. Messages have expired and they have been removed from the queues.

Answer: C

QUESTION 107:

A WebSphere MQ application program has been written and the application


design requires that the program handles error conditions that happen to the
request message until it is successfully delivered on the destination remote queue.
Which of the following, if any, can BEST satisfy this request?

A. Report messages can be requested in the MQPUT call when the request message is put
on queue.
B. Event messages can be requested in the MQPUT call when the request message is put
on queue.
C. The destination applications can send back special status messages to report how the
request message was received and processed
D. It is not possible to satisfy this requirement

Answer: A

QUESTION 108:

Which of the following is true about the two codes returned after an MQ1 call?

A. The return code gives an indication of success and failure and the completion code
gives a more precise description of the error in case of failure
B. The completion code gives an indication of success and failure and the reason code
gives a more precise description of the error in case of failure.
C. The reason code gives an indication of success and failure and the completion code
gives a more precise description of the error.
D. The completion ode gives an indication of success and failure and the return code
gives a more precise description of the error in case of failure.

Answer: B

QUESTION 109:

Exhibit

Actualtests.com - The Power of Knowing


000-297

During System Test, a loop is detected in the Server Application because it prints
the same error continuously reporting that the input message is invalid and that the
transaction is backed out. Which of the following explains the cause of the loop?

A. The Server program has been linked with the wrong WebSphere MQ libraries.
B. The backout count is not increased by the queue manager
C. There is not a backout queue defined in the input queue
D. The Server APLLICATION does not check the backout count of the input message.

Answer: D

QUESTION 110:

An application running on Sun Solaris issues an MQPUT with a PCF command to


retrieve a list of queues on the local queue manager. The MQGET returns with
reason code 2033(MQRC_NO_MSG_AVAILABLE). Which of the following
commands may help to diagnose this problem?

A. dsmmqcsv
B. dspmq
C. dsppcfst
D. mqrc

Answer: A

QUESTION 111:

When attempting to start a WebSphere MQ queue manager on Windows 2000, the


message'AMQ7047 An unexpected error was encountered by a command' is
received. Where can the MOST detailed diagnostic information be found

A. WebSphere MQ system error logs


B. Windows 2000 event viewer

Actualtests.com - The Power of Knowing


000-297

C. WebSphere MQ queue manager error logs


D. WebSphere MQ FFST (FDC) logs

Answer: D

QUESTION 112:

Exhibit

The illustrated application message flow Must be system tested. Which of the
following actions are relevant?

A. Create the appropriate SVRCONN channel definitions on queue manager QMGRB.


B. Create error conditions to check how all the components react to them.
C. Monitor WebSphere MQ error logs to check the error messages generated by the
components react to them.
D. Check that the queue manager log files are defined in mirrored disks.
E. Check that messages are processed across the application message flow according to
the application detailed design.

Answer: B,E

QUESTION 113:

Certkiller .com requires replication of updates to a master database to synchronize


several database copies over network of queue managers. Which of the following
issues should be considered by the Application Architect?

A. Message size limitations and messages cannot be fragmented


B. Messages must be persistent
C. Messages must be transported and received in sequence
D. Messages require an RFH2 header

Actualtests.com - The Power of Knowing


000-297

E. Messages cannot be put on the dead letter queue


F. Messages must be processed by multiple instances of the server application

Answer: C,D,F

QUESTION 114:

A WebSphere MQ client application, running on Windows NT, sends a request


message to a server application running on HP-UX. The request result in the server
application updating a local Oracle database, and also writing a record to a
sequential file in the HP-UX file system. In addition the server application sends a
message to an z/OS system where it is processed by the WebSphere MQ-IMS
bridge. The resulting IMS transaction updates an IMS hierarchical database and a
DB2 relational database. Which of the following recoverable resources can be
protected by a WebSphere MQ-: managed unit of work on the HP-UX server
system?

A. The IMS database


B. The DB2 database
C. The Oracle database
D. The sequential file
E. The WebSphere MQ message from the client
F. The WebSphere MQ message to the z/OS system

Answer: B,C,D

QUESTION 115:

A WebSphere MQ application provides information to an end user. It does this by


sending a message to a server to request the desired information. Typically, replies
are received within about 2 seconds of a request being submitted. Which of the
following techniques is appropriate in this kind of application, for handling the
situation in which a reply is not received?

A. If a reply has not arrived within 1- seconds, automatically send the request again.
B. If a reply has not arrived within 10 seconds, report the fact to the end user.
C. If a reply is not received, send a message to the system operator and terminate the
application immediately.
D. Specify MQGMO_WAIT and a wait interval of MQWI_UNLIMITED when reading
replies.

Answer: B

QUESTION 116:

A java servlet, running on a Sun Solaris WebSphere Application Server, sends

Actualtests.com - The Power of Knowing


000-297

WebSphere MQ messages to a CICS transaction on z/OS. The reply is returned as a


WebSphere MQ message the java servlet to send a response message to the
WebServer. The Java servlet performs an MQPUT to a pre-defined queue on z/OS
and then performs an MQGET on a pre-defined reply queue. The Java servlet
forwards the reply to the Web Browser. Which of the following statements is correct
if the servlet is using the WebSphere MQ base classes for Java?

A. The Java servlet should use MQOO_INPUT_EXCLUSIVE when opening the reply
queue.
B. The Java servlet must connect to a queue manager on Sun Solaris to access both the
request and reply queues.
C. The Java servlet can connect to the queue manager on z/os TO ACCESS BOTH THE
REQUEST ND REPLY QUEUES.
D. The Java servlet must use non-persistent messages.

Answer: C

QUESTION 117:

A WebSphere MQ application is being designed to run on Windows XP. The


application will act as a server and will update an Oracle database in response to
requests being made by other applications. On successful completion of the update,
a reply is sent to the originator of the request. Which of the following design aspects
are critical?

A. Application error messages are logged centrally.


B. Persistent messages are used for requests and replies.
C. Each new requests is handled in a separte unit of work.
D. If the application fails to PUT the reply because of a transient error, the operation is
automatically retried by the application
E. The design is object-oriented and implemented in C++.
F. Database and message updates must be coordinated in the same unit of work.

Answer: A,C,D

QUESTION 118:

Which of the following actions is required in order to use the Extended


Transactional Client?

A. Write the required WebSphere MQ Extended Transactional client code in COBOL or


in Java using WebSphere MQ classes for Java.
B. Connect to a local queue manager as transaction manager
C. Use the MQI calls MQBEGIN, MQCMIT and MQBACK to control the 2-Phase
commit unit of work
D. Use a local XA complaint transaction manager.

Actualtests.com - The Power of Knowing


000-297

E. Install the Web Sphere MQ base client code on the local system.
F. Install the WebSphere MQ extended transactional client code on the local system.

Answer: B,E,F

QUESTION 119:

A WebSphere MQ Client Application needs to send/receive data to/from a CICS


server application over WebSphere MQ. The WebSphere MQ CICS Bridge has
been selected to interface between the two applications. Which of the following is the
BEST reason for choosing the CICS Bridge?

A. The WebSpher MQ Client application does not need to know bout the COMMAREA
(CICS communications area) structure or the contects of the 3270 BMS maps used by the
CICS server application.
B. The WebSphere MQ CICS brifge uses triggering to receive the requests from the
client.
C. It is not necessary to modify the existing CICS server applications to interface with
the WebSphere MQ CICS brifge.
D. The CICS Bridge will allow WebSphere MQ to act as the transaction manager for a
CICS transaction.

Answer: C

QUESTION 120:

The Application Architecture has decided to use Application Level Security (also
known as end-to-end or message level security) in the design. Which of the following
are the reasons for this decision/

A. Some queue managers are connected using the internet


B. Proof of origin and proof of delivery (non-repudiation) are required.
C. Destination queues are in queue manger running on non-trusted environment.
D. Mutual authentication of the two MCA's in channel is required.
E. It costs less to use Application Level Security than Link Level Security.

Answer: B,C

QUESTION 121:

Which one of the following is NOT a valid WebSphere MQ JMS object type?

A. MQQueueConnectionFactory
B. JMSWrapXAQueueConnectionFactory
C. MQTopic
D. MQChannelConnactionFactory

Actualtests.com - The Power of Knowing


000-297

Answer: D

QUESTION 122:

Which of the following data types is NOT recognized by the CRTMQCVX utility?

A. Char
B. Short
C. Long
D. Double

Answer: D

QUESTION 123:

Which of the following statements is NOT true regarding WebSphere MQ Clister


Workload exits?

A. The workload exit may make MQI calls.


B. The name of the cluster workloadexit is defined by the ClusterWorkloadExit
queue-manager attribute.
C. The MQWXP structure describes the information that is passed to the cluster
workload exit.
D. A workload exit may override the destination determined by an application's setting
MQOO_BIND_ON_OPEN on MQOPEN

Answer: A

QUESTION 124:

Which of the following statements about WebSphere MQ event messages are valid
for WebSphere MQ for Windows 2000?

A. The DSPMQEVT command can be used to format WebSphere MQ event messages.


B. The generation of WebSphere MQ CHANNEL EVENT MESSAGES DEPENDS
ONLY ON THE CHANNEL DEFINITIONS.
C. Only WebSphereMQ event messages may be placed on the event queue.
D. WebSphere MQ event messages may be directed toward a central queue manager
using remote queue definitions
E. WebSphere MQ event message data is based on the programmable command format.

Answer: D,E

QUESTION 125:

Actualtests.com - The Power of Knowing


000-297

Which of the following conditions will NOT cause a WebSphere MQ event message
to be generated on HP-UX, even if events are properly enabled?

A. MQGET cause the queue to reach a specified depth.


B. MQGET fails because there is no message available
C. MQOPEN fails because the useride does not have the required authority to open a
queue
D. MQOPEN fails because the object being opened does not exist.

Answer: B

QUESTION 126:

Which of the following should be used to specify the name of the queue to be
created when opening a model queue?

A. DynamicQName field of the object descriptor


B. DynamicQName field of the open options
C. QName filed of the open options
D. QName filed of the object descriptor

Answer: A

QUESTION 127:

An application can benefit from workload balancing, but the system within the
cluster are of very different capacities. Which of the following techniques will favor
the more powerful system?

A. Defining the cluster receiver channel on the smaller system with a higher NETPRTY
B. Defining the cluster receiver channel on the larger system with a higher NETPRTY
C. Defining the cluster sender channel on the larger system with a higher NETPRTY
D. Defining the cluster sender channel on the smaller system with a higher NETPRTY

Answer: B

QUESTION 128:

WebSphere MQ messages contain a CCSID and an encoding value that travels in


the message header. Which of the following statements are true?

A. The CCSID is the Compatoble Computer System identifier. It defines the kind of
systems that are compatible with the message.
B. The CCSID is the Coded Character Set identifier. It defines the way that characters are
represented in the message
C. The encoding specifies the particular kind of compression that was used to reduce the

Actualtests.com - The Power of Knowing


000-297

size of the data portion of the message for transmission


D. The encoding specifies the way that decimal, integer and floating point data is
represented in the message
E. The encoding represents the particular kind of encryption that was used to protect the
content of the message from being viewed.

Answer: B,D

QUESTION 129:

Definitions of all the WebSphere MQ constants and return codes are found in
which of the following include files?

A. cmqi for PL/1


B. cmqc.h for C
C. cmqd.h for C
D. CMQP for COBOL

Answer: B

QUESTION 130:

Which of the following coding techniques are applicable to triggered application


programs that uses TRIGTYPE(FIRST)?

A. Always check for a valid queue manager name in trigger data field
B. Always use MQGMO_SYNCPOINT when getting application messages
C. Always handle MQRC_NO_MSG_AVAILABLE to allow for false triggering
D. Always use MQGMO_WAIT to accont for more messages arriving
E. Always verify the name of the process in the trigger message

Answer: C,D

QUESTION 131:

Which of the following are NOT components of the triggering process?

A. Application queue
B. Initiation queue
C. Trigger queue
D. Process definition
E. Trigger server

Answer: C,E

Actualtests.com - The Power of Knowing

You might also like