C2180-374 - IBM WebSphere MQ V7.0, System Administration Exam
Go back to IBM
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
Which features of IBM WebSphere MQ specifically provide robust message transport?
Asynchronous delivery, once and once-only delivery, persistent messaging
An administrator wants to use WebSphere MQ Explorer to administer a queue manager which is hosted on a remote Windows server. Which of the following objects on this remote queue manager must be running in order to be connected from WebSphere MQ Explorer?
A bank routing application uses queue PRIMEBANK_Q. The application is being rewritten and deployed to use two additional primary queues exactly like PRIMEBANK_Q to handle a larger message load. The additional queues will be called PRIMEBANK_Q2 and PRIMERANK_Q3. What command(s) will help the operations team quickly set up these additional queues?
DEFINE QLOCAL (PRIMEBANK_Q2, PRIMEBANK_Q3) LIKE (PRIMEBANK_Q)
An application deployed on z/OS was causing frequent abends. Which of thefollowing options from the IPCS Dump Component Panel can an administrator use to analyze the problem?
An administrator needs to configure a queue manager to coordinate an applications DB2 database updates and message handling as global units of work. How does the administrator configure the queue manager to use the switch load file db2swit on AIX?
add SwitchFile=db2swit to the XAResourceManager stanza of the queue managers qm.ini
An administrator has set up sender receiver channels between QMGR1 running on AIX and QMGR2 running on i5/OS. During verification testing, the administrator noticed that messages being sent from one queue manager are not visible on the other queue manager. Which of the following files should the administrator look at to find the cause of the problem?
var/mqm/qmgrs/QMGR1/errors/AMQ*.LOG on AIX
QIBM/UserData/mqm/qmgrs/QMGR2/errors/AMQ*.LOG on i5/OS
A company has decided to add a standalone queue manager APP3_QM back into their existing APP_CLUSTER. Previously APP3_QM was removed from cluster APP_CLUSTER and set back to the default setting a queue manager has when it is created. Which of the following set of commands for APP3_QM will accomplish this task?
DEFINE CHANNEL (FROM.REPOS) CHLTYPE (CLUSRVR) TRPTYPE (TCP) CONNAME (APPSERVER01) CLUSTER (APP_CLUSTER) DEFINE CHANNEL (TO.REPOS) CHLTYPE (CLUSSDR) TRPTYPE (TCP) CONNAME (APPSERVER01) CLUSTER (APP_CLUSTER) RESET CLUSTER (APP_CLUSTER) REPOS (YES)
Which of the following mechanisms can be used to set up message data compression across channels?
Send and receive exits
Channel attribute COMPMSG
What are the steps an administrator needs to take to generate the runtime SSL trace files on HP-UX?
Run the strmqtrc command with -t ssl option
Queue manager DEV_QM1 is no longer able to send and receive messages from queue manager DEV_QM2. Both queue managers reside on the Windows server. The administrator takes a look at the MQ Explorer to see what the problem is and notices the channel initiator for DEV_QM2 has stopped. What options does the administrator have to resolve the problem?
An administrator wants to define a IBM WebSphere MQ object so that the applications can be prevented from sending messages to the processing applications queue APPQ, but continue to allow administrators to send test messages to the processing application. The application will send messages using an object ABC. What MQSC command should be used?
DEFINE QALIAS(ABC) TARGET(APPQ)
Which of the following benefits best describe the flexibility offered by WebSphere MQ for application developers?
once and once only delivery
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 the old IBM WebSphere MQ V6.0 broker relationships?
ALTER QMGR PARENT (' ')
An administrator has discovered that the primary queue manager (PRIME) has been corrupted and is no longer usable. The queue manager was created with the command: crtmqm PRIME. What does the administrator need to do to recover the queue manager?
Restore the last backup of the queue manager data and log, and restart the queue manager.
An IBM WebSphere MQ architect is planning an infrastructure for a banking application which cannot lose any messages. What setup should the architect recommend to achieve this?
persistent messages linear logging
For the Solaris platform, which databases are supported as a resource manager in transactions coordinated by IBM WebSphere MQ V7.0?
DB2, Oracle, Informix, Sybase
What is the best way to create queue manager QM1 on UNIX so all developers can connect to it without any authority checks being performed?
Set environment variable MQSNOAUT=yes, then create a queue manager crtmqm QM1
An administrator needs to start three channels (QM1.TO.QM2, QM1.TO.QM3 and QM1.TO.QM4) simultaneously whenever a message is placed on queue QLOCAL on QM1. QLOCAL has been set for triggering with trigger type as first. Which actions will accomplish this task?
Modify the QLOCAL definition to include the name of the process definition which will execute a script containing MQSC commands to start all channels and initiation queue as INITQ to be monitored by trigger monitor process.
An administrator wants to control access to queue Q1 QMGR1. User ID user1 have MQPUT access only, and group ID grp1 should have MQGET access only. Which of the following commands can achieve this?
Setmqaut m QMGR1 t q n Q1 g grp1 +put Setmqaut m QMGR1 t q n Q1 p user1 +get
The administrator has been asked to install WebSphere MQ V7.0 in a Windows domain environment. What unique step does the administrator need to take to complete this task?
ensure the domain controller is running
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.
A WebSphere MQ server h installed on Windows. The INITIAL_ CONTEXT_FACTORY is set to com.sum.jndi.fscontext.RefFSContextFactory in the JMSAdmin.conf file. After an administrator successfully executes a series of commands using JMSAdmin facility to create JMS objects, which of the following statements is true?
A file named .bindings is created
An application is putting messages on queue TEST.QUEUE. The queue manager is running on mydomain.company.com listening on the default port. The IBM WebSphere MQ Bridge for HTTP was deployed under the context WMQBridge in an IBM WebSphere Application Server listening on port 9082 on the same machine. How can an AJAX application running on a remote machine perform a destructive get of messages from TEST.QUEUE?
Issue an HTTP DELETE from URI http: //mydomain.company.com: 9082/WMQBridge/msg/queue/TEST.QUEUE
MYTOPIC has been defined with the command: DEFINE T(MYTOPIC) TOPICSTR(Sports/Football) Which of the following commands are valid to modify MYTOPIC?
ALTER T(MYTOPIC) PUBSCOPE(QMGR)
ALTER T(MYTOPIC) DURSUB(ASPARENT)
An administrator defines three topics on queue manager on AIX: TAlpha with the topic string P/Q TBeta with the topic string P/Q/R TSigma with the topic string P/Q/R/S The administrator then grants authority to the topics as shown below. User1 - Publish and Subscribe on TAlpha User2 - Publish on TBeta and Subscribe on TSigma. Which of the following options are possible for the users to perform?
User1 can subscribe to TSigma
User1 can publish on topic string P/Q
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 administrator has been asked to create a listener that listens on port 1416 and starts automatically when the queue manager is started. Which of the following MQSC commands will create the listener?
DEFINE LISTENER(LISTENER.TCP) TRPTYPE(TCP) PORT(1416)+ CONTROL(QMGR) REPLACE
An administrator has created the following channel definition on a queue manager running on a Solaris sever. DEFINE CHANNEL(ABC) CRLTYPE (SVRCONN) The queue manager has a listener running on port 1414 on host abc.com. Which definition of the environment variable MQSERVER will allow a WebSphere MQ application running a WebSphere MQ client environment to connect using this channel?
An administrator deployed a new application on queue manager QMGR1 in their AIX server. The administrator notices that the application is crashing frequently and contacts the IBM support team for help. The IBM support team asks the administrator to send any First Failure Support Technology (FFST) files that have been generated. Which of the following files should the administrator send to the IBM support team?
AMQ*.FDC files from /var/mqm/errors directory
An administrator deployed an IBM WebSphere MQ application on an AIX server which is causing a lot of errors to be generated in the WebSphere MQ error logs. Which option should be used by the administrator to increase the size of the IBM WebSphere MQ error logs?
Use the QMErrorLog stanza in qm.ini
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('126.96.36.199(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('188.8.131.52(1415)') QM3 DEFINE CHANNEL(QM2.TO.QM3) CHLTYPE(RCVR) TRPTYPE(TCP)+ REPLACE DESCR('Receiver channel from QM2') DEFINE QL(Q99)
Q99 on QM3
Two queue managers, QMGR1 and QMGR2, are running on Windows connected by sender receiver channels. An application connected to QMGR1 puts persistent messages on a remote queue of QMGR1 destined for a local queue of QMGR2. The administrator is notified that the messages have not reached QMGR2. On investigation the administrator notices that the server on which QMGR2 runs has crashed and rebooted automatically. The administrator also notices that the sender channel on QMGR1 is in an in doubt state. What action can the administrator take to recover the messages?
Run the MQSC command RESOLVE CHANNEL(channel name) ACTION(BACKOUT) on QMGR1
An IBM WebSphere MQ V6.0 broker environment which is shared with an IBM WebSphere Message Broker V6.0 environment is being migrated to an IBM WebSphere MQ V7.0 broker environment. What action will continue to ensure proper coexistence in the overall shared environment?
Set the PSMODE parameter on the IBM WebSphere MQ broker queue managers to COMPAT
A company running IBM WebSphere MQ V5.3 on UNIX upgraded to IBM WebSphere MQ V7.0. Immediately after the migration, what is the administrator expected to do? Start the:
queue manager before starting the listener
An administrator created a queue manager Paint.queue.manager on AIX with circular logging. The administrator then was told that the system will be used for production, so the logging needs to be switched to linear. How can the administrator make this change?
Recreate queue manager with crtmqm -c "Paint shop" -ll -q Paint.queue.manager
A company decides to use the IBM WebSphere MQ transport for SOAP to enable some of its Java applications as WebServices on AIX. The administrator is asked to define and start a listener as a service. Which one of the following methods should be used?
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 messages being 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
A company wants to use SYSTEM.DEAD.LETTER.QUEUE as the dead letter queue name on all queue managers on their Solaris platforms. Which of these actions will implement that policy?
Specify the option "-u SYSTEM.DEAD.LETTER.QUEUE" when running the crtmqm command.
Each of the queue manger QM1, QM2 and QM4 has an instance of cluster queue CLUS_Q Channels TO.QM1,TO.QM2, TO.QM3 and TO.QM4 are defined on each queue manager, respectively. The following MQSC commands are issued. On QM1: ALTER CHL (TO.QM1) CHLTYPE (CLUSRCVR) CLWLRANK (1) ALTER QL(CLUS_Q) CLWRANK (3) ?CHLWLUSEQ (ANY) On QM2: ALTER CHL (TO.QM2) CHLTYPE (CLUSRCVR) CLWLRANK (3) ALTER QL(CLUS_Q) CLWRANK (2) ?CHLWLUSEQ (ANY) On QM3: ALTER CHL (TO.QM3) CHLTYPE (CLUSRCVR) CLWLRANK (3) ALTER QL(CLUS_Q) CLWRANK (1) ?CHLWLUSEQ (ANY) On QM3: ALTER CHL (TO.QM4) CHLTYPE (CLUSRCVR) CLWLRANK (2) ALTER QL(CLUS_Q) CLWRANK (3) ?CHLWLUSEQ (ANY) To which queue manager will the messages be delivered after these changes?
A legacy application uses MQPUT to send messages to a queue INV. Which set of MQSC commands below will successfully configure the queue manager so that a number of JMS applications can receive these messages by subscribing to topic Inventory/CurrentItems?
DEFINE TOPIC(INV_TOPIC) + TOPICSTR(Inventory/CurrentItems) DEFINE QALIAS(INV) TARGET(INV_TOPIC) TARGTYPE(TOPIC)
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 grant authority?
add MQUSER to the Windows Administrators group
An administrator has set up message data compression using the built-in WebSphere MQ compression algorithm. How can the administrator determine the current technique applied?
Use the MQSC command DISPLAY CHSTATUS
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)
As part of the planned migration from IBM WebSphere MQ V6.0 brokers to IBM WebSphere MQ V7.0, the publishing and subscribing applications have moved to IBM WebSphere MQ V7.0 and all that is left are the brokers. After IBM WebSphere MQ V7.0 is installed, what actions do the IBM WebSphere MQ administrators need to take to complete the migration?
Issue the strmqbrk command
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
A company has decided to add all its standalone queue managers into an existing 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
During the load test of a routing application many queue depth high events are generated for the ROUTING_Q which holds the applications input messages. Which of the following is the simplest change that would reduce the number of queue high depth events? Increase the:
MAXDEPTH attribute on the ROUTING_Q queue
The following command is executed using the JMSAdmin facility. InitCtx> define Q(Q_IN) QMGR(QMGR1) QUEUE(Q1) Which one of the following did the command create?
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