000-374 - IBM WebSphere MQ V7.0 System Administration
Go back to IBM
An administrator is configuring communication between two queue managers, QM1 and QM2, and wants to create a remote queue on QM1 pointing to a local queue Q2 on QM2. Which one of the following MQSC commands will achieve this?
DEFINE QR(Q1) RNAME(Q2) RQMNAME(QM2) XMITQ(QM2)
Topic MYTOPIC has been defined with the command: DEFINE TOPIC(MYTOPIC) TOPICSTR(Sports/Football) Which of the following commands are valid to modify MYTOPIC?
ALTER TOPIC(MYTOPIC) PUBSCOPE(QMGR)
ALTER TOPIC(MYTOPIC) DURSUB(ASPARENT)
An administrator is setting up sender receiver channels between QMGR1 and QMGR2. As part of the verification test, the administrator puts a message on the remote queue RQ of QMGR1 and notices that the message has correctly reached the local queue LQ of QMGR2. An application then starts putting messages on RQ. A few minutes later, the administrator notices that all the messagesbeing put on RQ end up on QMGR2's dead letter queue. What is a probable cause of the problem?
The UserIdentifier set in MQ Header of the messages did not have put authorization on LQ
An application developer needs help understanding why a publishing application is failing when trying to publish on topic RE/Current/Bids. What MQSC command can an administrator use to help diagnose the problem?
An administrator creates the following MQ objects on two queue managers, QM1 and QM2. An application connects to QM1 and puts a message on queue REM.BLUE. Where does the message arrive? On QM1: DEF QL(BLUE) DEF QR(REM.BLUE) RNAME(BLUE) RQMNAME(QM1.ALIAS) XMITQ(QM2) DEF QL(QM2) USAGE(XMITQ) DEF CHL(QM1.TO.QM2) CHLTYPE(SDR) TRPTYPE(TCP)+CONNAME('188.8.131.52(1412)') XMITQ(QM2) DEF CHL(QM2.TO.QM1) CHLTYPE(RCVR) TRPTYPE(TCP) On QM2: DEF QR(QM1.ALIAS) RNAME(' ') RQMNAME(QM1) XMITQ(QM1) DEF QL(QM1) USAGE(XMITQ) DEF CHL(QM2.TO.QM1) CHLTYPE(SDR) TRPTYPE(TCP)+ CON E('184.108.40.206(1413)')XMITQ(QM1) DEF CHL(QM1.TO.QM2) CHLTYPE(RCVR) TRPTYPE(TCP) DEF QL(BLUE)
On BLUE queue on QM1
An IBM WebSphere MQ client application puts messages onto remote queue RQ on queue manager QM1, which resolves to the local queue LQ on queue manager QM2. A new version of the application has been deployed that has the capability to put messages greater than 4MB. The administrator changed the max message length attributes for the queue managers, transmission queue, sender-receiver channels and LQ to handle the larger messages. The administrator was later notified that messages greater than 4MB are still not reaching LQ. The most likely cause of the problem is the max message length attribute:
of the server connection channel was not changed
Which of the following are performance enhancements to the Java Message Service provider implementation in IBM WebSphere MQ V7.0?
Message selection performed by Queue Manager
A stepwise approach to moving the MQ publish/subscribe environment to V7.0 has been taken to minimize the impact to the publish/subscribe applications using the environment. As part of this stepwise approach there will be a mix of V6 and V7 brokers running at any one time. What additional step must be taken to allow for the coexistence of both versions of the brokers?
Leave the broker's queue manager defaults in place
What should a company do to set up its MQ environment for media recovery?
Configure queue managers for linear logging
An administrator wants to prevent the channel initiator process from starting when a queue manager QMA on AIX is started. Which action(s) will accomplish this?
Restart the queue manager using strmqm ns QMA.
An IBM WebSphere MQ architect is planning an infrastructure for a banking application which cannot lose any messages. What setup should the architect recommend toachieve this?.
persistent messages linear logging
Which of the following commands can the administrator use to get a list of all authority records for a queue manager on Windows?
An administrator is setting up a transmit queue so that the channel associated with it is automatically started. However, the channel does not start when messages are placed on the queue. The current attributes of the queue: DISPLAY QL(QM2) USAGE TRIGGER TRIGTYPE TRIGDATA TRIGDPTH TRIGMPRI IPPROCS OPPROCS INITQ 1 : DISPLAY QL(QM2) USAGE TRIGGER TRIGTYPE TRIGDATA TRIGDPTH TRIGMPRI IPPROCS OPPROCS INITQ AMQ8409: Display Queue details. QUEUE(QM2) TYPE(QLOCAL) INITQ(SYSTEM.DEFAULT.INITIATION.QUEUE) IPPROCS(0) TRIGGER OPPROCS(0) TRIGDATA(QM1.2.QM2) TRIGDPTH(1) TRIGMPRI(0) TRIGTYPE(FIRST) USAGE(XMITQ) Which corrective action is required to start the channel automatically?
modify attribute INITQ to specify SYSTEM.CHANNEL.INITQ
An administrator has been asked to create new subscriptions on queue manager QMGR1 in UNIX. The administrator issues the following MQSC commands: DEF TOPIC(TOPICA) TOPICSTR(X/Y) DEF TOPIC(TOPICB) TOPICSTR(X/Y/Z) The administrator then runs the following commands: setmqaut m QMGR1 -t topic -n TOPICA -p User1 +sub setmqaut m QMGR1 -t topic -n TOPICB –p User2 +sub Which of the following statements are true?
User2 can subscribe to topic X/Y/Z/#
User1 and User2 can subscribe to topic X/Y/Z
An administrator is planning a fix pack upgrade on a WebSphere MQ server containing a cluster queue manager. As part of the fix pack upgrade, the administrator needs to minimize the impact to the cluster environment and still allow the queue manager on the upgraded server to continue to be part of the cluster. What command will help the administrator accomplish this task?
A financial company is looking to take advantage of the publish/subscribefeature that IBM WebSphere MQ V7.0 offers. They would like to be able to share stock quotes between their feedhandlerapplications as quickly as possible. They also need to make sure that the publish/subscribe infrastructure is highly scalable as they will be adding additional feedhandler applications. What is the bestpublish/subscribe topology to meet the company's needs?
A company has decided to convert some of their existing queue managers to be full repositories for a new cluster they are creating. Which of the following statements is correct regarding the selection of the company's queue managers to be a full repository?
Queue managers on z/OS are well suited to be full repositories
A company has its retail business applications running on IBM WebSphere MQ infrastructure across heterogeneous platforms. After a recent failure, the company set up a failover mechanism where a centrally located z/OS server hosts the main application and applications on other servers connect to the main application using distributed queuing. What term best describes this topology?
Hub and Spoke
An application is putting persistent messages on queue Q1 inside an activetransaction when an abnormal shutdown of queue manager QM occurred. QM is configured with linearlogging. What action does the administrator need take to recover Q1 and roll back the uncommitted messages?
no action is needed
An application publishes persistent stock quote messages every 5 seconds. The subscribers are only interested in the latest quotes. During the tests, it is found that the message delivery speed is slow. In order to improve the application performance, which of the following actions is appropriate?
Set nonpersistent in MQMD.
QM2 and its objects have been recreated using the save queue manager definitions. The sender channel on queue manager QM1 is in retry status with an error message AMQ9526: Message sequence number error for channel 'QM1.TO.QM2'. Which action will recover the channel?
Reset the channel
A company is running applications on several Windows servers installed with WebSphere MQ Server components. All the applications are sending data to a queue manager running on a Solaris machine. How could the administrator redesign the infrastructure to reduce the overall licensing costs of the infrastructure?
Replace WebSphere MQ Server components with WebSphere MQ Client components on all Windows machines
Which features of IBM WebSphere MQ specifically provide robust message transport?
Asynchronous delivery, once and once-only delivery, persistent messaging
Queue managers QMGR1, QMGR2 and QMGR3 are members of cluster QC. An administrator created the following queues for an application: On QMGR1: DEFINEQALIAS(TEST.ALIAS) + TARGET(TEST.LOCAL) + DEFBIND(OPEN) + DEFPSIST(NO) On QMGR2 and QMGR3: DEFINE QLOCAL(TEST.LOCAL) + CLUSTER(QC) + DEFBIND(OPEN) + CLWLPRTY(0) + CLWLRANK(0) +DEFPSIST(NO) The administrator verifies the setup by putting messages on TEST.ALIAS using the sample amqsput program but notices that all messages end up on the same queue manager (either QMGR2 or QMGR3). What could be the likely cause?
The queue TEST.ALIAS was defined with the wrong DEFBIND option.
Which two user profiles are mandatory to correctly run IBM WebSphere MQ on i5/OS?
An application connected to queue manager QMA needs to put messages on queues defined on queue manager QMB. If this application intends to specify QMB as the queue manager name in the MQMD, which of these sets of commands will set up the communications infrastructure properly?
DEFINE CHANNEL(TO.QMB) CHLTYPE(SDR) XMITQ(QMB) DEFINE QLOCAL(QMB) USAGE(XMITQ)
A system administrator has defined the following MQ objects on three queue managers. An application connects to queue manager QM1 to put a message on ALIAS.Q99. Where does the message get delivered? QM1 DEFINE QALIAS(ALIAS.Q99) TARGET(Q99) DEFINE QREMOTE(Q99) RNAME(Q99) RQMNAME(QM3) ALTER QMGR DEFXMITQ(QM2) DEFINE QL(QM2) USAGE(XMITQ) DEFINE CHANNEL(QM1.TO.QM2) CHLTYPE(SDR) TRPTYPE(TCP) REPLACE + DESCR('Sender channel to QM2') XMITQ(QM2)+ CONNAME('220.127.116.11(1412)') QM2 DEFINE CHANNEL(QM1.TO.QM2) CHLTYPE(RCVR) TRPTYPE(TCP)REPLACE ALTER QMGR DEFXMITQ(QM3) DEFINEQL(QM3) USAGE(XMITQ) DEFINE CHANNEL(QM2.TO.QM3) CHLTYPE(SDR) TRPTYPE(TCP) REPLACE + DESCR('Sender channel to QM3') XMITQ(QM3)+ CONNAME('18.104.22.168(1415)') QM3 DEFINE CHANNEL(QM2.TO.QM3) CHLTYPE(RCVR) TRPTYPE(TCP)+ REPLACE DESCR('Receiver channel from QM2') DEFINE QL(Q99)
Q99 on QM3
The operations team has created a new queue manager infrastructure using default settings to support the deployment of a company's new database warehousing application. This application sends messages to applications running on other queue managers, which process the messages and send replies. After deployment of the application the message throughput is much lower than expected. The operations team doesn't notice any resources issues with disk space, memory usage, or CPU usage, however, they do notice that there are many more messages on the replyto- queues than expected. They also notice that error messages are frequently generated as the application processesreply messages. What is the most probable cause of the performance slowdown?
The warehousing application has unintentionally requested activity reports for each message it creates
An administrator using WebSphere MQ Explorer is unable to connect to queue manager PROD after it has been migrated, and receives error message SYSTEM .MQ EXPLORER. REPLY. MODEL not defined. Which command will refresh the existing system objects to resolve this issue?
strmqm c PROD
Which Eclipse version is a prerequisite to use MQ Explorer to administerIBM WebSphere MQ V7.0 on Windows?
An administrator is using WebSphere MQ Explorer to administer a remote queue manager. On the Add a Remote Queue Manager wizard, which of the following fields can theadministrator specify values for?
SSL key repositories
Which of the following statements are true, regarding applications that communicate via IBM WebSphere MQ? IBM WebSphere MQ applications have to agree upon:
the name(s) of the queue(s) used
the layout of the message data exchanged
An application receives messages from a queue APPQ using MQGET. Which MQSC command will successfully configure the queue manager so that the application can receive messages published to topic Stock/IBM/Price?
DEFINE SUB(TO_APP) TOPICSTR(Stock/IBM/Price) + DEST(APPQ)
An administrator has created a client channel definition table on a IBM WebSphere MQ V7.0 queue manager. Which of the following statements are true? The client channel definition table (CCDT) can be used by a WebSphere MQ Client:
running in a WebSphere MQ V7.0 client environment to connect to a WebSphere MQ V6.0 queue manager
running in a WebSphere MQ V7.0 client environment to connect to a WebSphere MQ V7.0 queue manager
A queue manager QM1 on UNIX has an unrecoverable problem. The IBM Support Center has asked the administrator to send any FFST reports. Which directory can an administrator get these FFST files from?
A financial company has decided that as part of the migration of their existing IBM WebSphere MQ V6.0 broker infrastructure to IBM WebSphere MQ V7.0 they would like to make use of the publish/subscribe clusters topology in IBM WebSphere MQ V7.0. Which MQSC command needs to be issued on all queue managers in the broker infrastructure during the migration to remove theold IBM WebSphere MQ V6.0 broker relationships?
ALTER QMGR PARENT (' ')
An airline reservation system consists of three MQ queue managers. The following MQSC commands have been executed. An application for airline reservation connects to queue manager CANADA and puts a message to queue TORONTO. On which queue does the message end up? QM: CANADA DEFINE QL(INDIA) USAGE(XMITQ) DEFINE QL(RESERVATIONS) DEFINE QL(DLQ) DEFINE CHANNEL(CANADA.INDIA) CHLTYPE(SDR)+ XMITQ(INDIA) CONNAME('22.214.171.124(1415)') DEFINE QR(BOMBAY) RQMNAME(INDIA) RNAME(RESERVATIONS)+ XMITQ(INDIA) DEFINE QALIAS(TORONTO) TARGET(BOMBAY) QM: INDIA DEFINE QL(CHINA) USAGE(XMITQ) DEFINE QL(RESERVATIONS) DEFINE QL(DLQ) DEFINE CHANNEL(CANADA.INDIA) CHLTYPE(RCVR) DEFINE QR(SHANGHAI) RQMNAME(CHINA)+ RNAME(RESERVATIONS) XMITQ(CHINA) DEFINE CHANNEL(INDIA.CHINA) CHLTYPE(SDR)+ XMITQ(CHINA) CONNAME('126.96.36.199(1416)') QM: CHINA DEFINE QL(RESERVATIONS) DEFINE QL(DLQ) DEFINE CHANNEL(INDIA.CHINA) CHLTYPE(RCVR)
RESERVATIONS on queue manager INDIAD.RESERVATIONS on queue manager INDIA
An application wants to put messages onto a queue RQ on queue manager QM2 defined as follows: DEFINE QREMOTE(RQ) XMITQ(XQ) RNAME(Q1) RQMNAME(QM1) Which of the following objects does the authority checking occur on?
A company has decided to add all its standalone queue managers into an xisting cluster environment. Some of the standalone queue managers have been part of the cluster in the ast. What steps need to be completed to accomplish this task?
-Define a cluster receiver channel on the queue manager being added -Define a cluster sender channel on the queue manager being added -Issue the REFRESH CLUSTER command on the queue manager being added
What are the four predefined message types?
Request, reply, report, datagram
An administrator has defined two listeners for queue manager QMA with thefollowing two runmqsc commands: DEFINE LISTENER(ABC) TRPTYPE(TCP) PORT(2414) + CONTROL(QMGR)REPLACE DEFINE LISTENER(DEF) TRPTYPE(TCP) PORT(2415) + CONTROL(QMGR)REPLACE The queue manager was then restarted so that both listeners arerunning. Which commandwill stopthe listener ABC and leave listener DEF running?
issue MQSC command STOP LISTENER(ABC)
What are the advantages of using queue-sharing groups in IBM WebSphere MQ?
scalability, high availability, workload balancing
What object must be running to handle inbound connection requests to start receiver channels?
A bank application sends critical financial messages on a queue so that other applications can process them. In order to recover messages after a system failure, the messages need to be:
set as persistent
An administrator created a queue manager for an application using the command: crtmqm TESTQMGR The application is started by triggering, and puts forty 3.5MB persistent messages onto a remote queue. The administrator is notified that the IBM WebSphere MQ error logs are getting populated with errors whenever the application is started. What could be the likely cause?
The queue manager logs are getting full frequently.
An application using several queue managers is being tested for its end-to-end message throughput rates. The delivery times for the messages are longer than what the developers expect, and somemessages are randomly lost. What can be done to help resolve this problem?
Record and evaluate activity information recorded by a trace-route message
In order to grant authority for user appuser1 to Q1, the following commands were issued in sequence. setmqaut -m qmgr1 -n Q1 -t queue -p appuser1 +put +get setmqaut -m qmgr1 –n Q1 –t queue -p appuser1 +crt setmqaut -m qmgr1 -n Q1 -t queue -p appuser1 -all setmqaut -m qmgr1 -n Q1 –t queue -p appuser1 +browse What access authority does user appuser1 have to the queue Q1?
browse and crt
The administrator is required to give authority for user MQUSER to execute runmqsc control commands on Windows queue manager QM1. Which method can be followed to grantauthority?
add MQUSER to the Windows Administrators group
Which of the following would occur if an administrator ran the MQSC command REFRESH SECURITY TYPE(SSL)?
The cached view of the SSL key repository was updated.
Which command dumps the security authorization of an MQ object in a readable format?