MQ Questions and Answers ?

Test your mq knowledge with below sample questions .

Note: Answers hilighted below are revised from MQ Experts majority should be correct .Again check your self .

1) Queue Manager QM1 is configured as a multi-instance queue manager . What command is used to start the Queue manager 

A)strmqm –f QM1 

B)strmqm –d QM1 

C)strmqm –x QM1 

D)strmqm –a QM1 

2) What is an IBM MQ instrumentation event ? 

A)A logical combination of operating system events 

B)an event that occurs when an instrument detects a queue manager or channel instance configuration error 

C)A notification that a local application fails to put a message  

D)A logical combination of conditions that a queue manager or channel instance detect and puts an event message on an event 

3)In s multi-instance queue manager setup . What is the maximum number of standby instance that can be running elsewhere for …. 

A)3 

B)2 

C)1 

D)Unlimited.  –> 1 Active 1 standby and rest will be running elsewhere  state . 

4)what is one use of message activity report information ? 

A)Determine the configuration of the message reporter 

B)Determines the throughput of a queue manager 

C)Determine the last known location of a message 

D)Determine the configuration issues of a message  

5) A SVRCONN channel is going to be tuned for performance and SHARECNV will be changed from 10 to 1 . What should be reviewed …. 

A) Set MQIBindType=FASTPATH in channle stanza of qm.ini 

B) Set KeepAlive=TRUE in tcp stanza of mqclient.ini 

C)MaxChannels and MaxActiveChannels in qm.ini 

D)Set maxPoolDepth=1 in connection stanza of mqclient.ini 

6)What is the result of issuing Refresh MQ cluster (RFRMQMCL)  command ? 

A) Deletes all the cluster queues 

B)Restarts all cluster channels 

C)Clears all message on the cluster queues 

D)Forces the cluster to be rebuilt 

7)Which out of commands would configure CONNECTION AUTHENTICATION so that an LDAP server with redundant backup is used over a TLS…. 

A) DEFINE AUTHINFO(USE.AUTH) AUTHTYPE(OCSP) CONNAME(‘ldap1(389),ldap2(389)’) LDAPUSER(‘CN=QMGR1’) LDAPPW(‘PASSW0RD’) SECCOMM(YES) 

B) DEFINE AUTHINFO(USE.AUTH) AUTHTYPE(IDPWLDAP) CONNAME(‘ldap1(389),ldap2(389)’) LDAPUSER(‘CN=QMGR1’) LDAPPW(‘PASSW0RD’) SECCOMM(YES) 

C) DEFINE AUTHINFO(USE.AUTH) AUTHTYPE(CRLLDAP) CONNAME(‘ldap1(389),ldap2(389)’) LDAPUSER(‘CN=QMGR1’) LDAPPW(‘PASSW0RD’) SECCOMM(ANON) 

D) DEFINE AUTHINFO(USE.AUTH) AUTHTYPE(IDPWOS) ADOPTCTX(NO) CHECKCLNT(REQUIRED) CHECKLOCAL(OPTIONAL) FAILDLAY(10) 

8)What is one benefit of having an application use asynchronous MQ message running on same server as the application ….. 

A)The application can benefit from the workload balance feature with no network connection latency  

B)the interaction between the application and the queue manager over the network connection is synchronous 

C)the queue manager will not require high availability  since it is running locally to the applications  

D)the communication between the applications can continue even if one of the application is offline 

9)which two statements regarding the MQ Appliance are true ? 

A)Intrusion detection is flagged by the LCD display 

B)intrusion detection affects MQ appliance shutdown 

C)intrusion detection signals  can be configured to ignored 

D)intrusion detection is flagged by the LCD display 

E)intrusion detection is enabled by default  

10)An MQ cluster selects an QMGR to route a message via the cluster workload management algorithm . THis is based on the ……..cluster workload-specific attributes associated with which MQ objects ? 

A) Publishers and Subscribers 

B) Queue managers and protocols 

C) Consumers and Producers  

D) Queues and channels 

11) What is the maximum latency that the IBM MQ supports for HA Replicated Data Queue Manager (HA RDQM) ? 

A) 10 ms 

B) 5 Seconds 

C) 5 Ms –> sync and 50 ms for Async 

D) 3 Sec 

12) Which MQPUT option allows messages to be put without waiting for a response ? 

A)MQPMO_SYNCPOINT 

B)MQPMO_ASYNC_RESPONSE 

C)MQPMO_NO_SYNCPOINT 

D)MQPMO_SUPRESS_CONFIRMATION 

13)Which sample program supplied by IBM MQ can process messages from the accounting and statistics queue and display the ….. 

A)sammq 

B)mqsammon 

C)mqsam 

D)amqsmon 

14)What is the purpose of the IBM MQ Extended Reach (MQXR) service ? 

A)It makes it quick and easy for developers to make their application more responsive and scalable 

B)it extends the reach of an MQ network to the IBM cloud 

C)it is an TCP/IP Listener used by application using IBM MQ telemetry feature 

D)it sets the maximum number of client connections that can be displayed in the channel status content 

15)What is the required pre-requisite for deleting a multi-instance queue manager ? 

A)The queue manager has been failed over to the standby instance  

B)Access to the network share containing the QM data and logs  

C)The output of dspmqinf to paste into delete command 

D)the queue manager is running on the server it is being deleted from  

16)Which client type supports automatic reconnection? 

A)IBM MQ Classes for java 

B)IBM MQ classes for jms 

C)Asix One 

D)Managed windows communication foundation  

17)What does  ‘read Ahead’ while consuming non persistent message from a client application improve ? 

A) security  

B) performance  

C)Availability  

D)Maintainability  

18)What 2 types of JMS connection factory can be used if only point-to-point messaging is being used ? 

A)JMS P2P factory  

B)Queue Connection factory  

C)Topic Connection factory  

D)Server Connection Factory  

E) Connection factory  

19) On IBM MQ 9.1 what GUI Tool can be used to manage the IBM MQ client certificates ? 

A) MQ Explorer 

B)Windows SSL  Security manager  

C)IBM GSKCapiCMD tool 

D)IBM Key Management (ikeyman) GUI 

20)What does a trigger monitor application do ? 

A) Process the initiation queue  

B)Monitors the statistics of trigger events 

C)Monitors the objects that have the trigger defined  

D)Process the transmission queue  

21)What statement about the command server is true ? 

A)it is the internal execution engine for PROCESS and SERVICE objects 

B)it issues the related application commands that are specified by a trigger message 

C)it processes PCF commands for remote administration 

D)it interprets incoming messages and routes them to correct target queue  

22)Which MQSC command will define the alias queue AAA to point to XXX queue ? 

A)DEFINE QALIAS(AAA) TARGET(XXX) 

B)DEFINE QALIAS(AAA) QNAME(XXX) 

C)DEFINE QLOCAL(XXX) ALIAS(AAA) 

D)DEFINE QUEUE(AAA) QUEUEGTYPE(ALIAS) BASE(XXX) 

23)Which queue managers in a MQ appliance HA group will fail over when the application is suspended ? 

A)all the queue managers in the stand alone mode 

B)all queue managers in the HA group  

C)all queue managers remotely connected to the appliance 

D)all queue managers in primary node 

24)Which type of queue manager shutdown can be used to allow any current MQI calls to complete but any new call fail ….. 

A)Immediate shutdown 

B)Preemptive shutdown 

C)Graceful shutdown 

D)Quiesced shutdown 

25)When is a message retry channel exit called? 

A)when a message channel exit fails 

B)when an attempt to put to the target queue is unsuccessful 

C)When an attempt to open the target queue Is unsuccessful 

D)When the channel is in retrying state 

26)What is the result of issuing crtmqenv command ? 

A)Set the environment variables to the appropriate values for an installation of IBM MQ  

B)Creates a list of environment variables with appropriate values for an installation of IBM MQ  

C)Saves current qmgr setting to properties file  

D)Defines the MQSERVER environment variable for client installation  

27)What is one way to display no of topics in a topic tree ? 

A)Use the runmqsc command DISPLY PUBSUB ALL periodically to display the TPCOUNT property  

B)Use the runmqsc command  MANAGE PUBSUB QMGR ALL periodically to display the number of topics  

C)use the runmqsc command DISPLAY QMGR ALL periodically to display the TPCOUNT property  

D)Use the runmqsc command MANAGE DISPLAY PUBSUB ALL periodically to display the TPCOUNT property  

28)Which bidirectional MQ channel is used to connect an IBM MQ client to an IBM server ? 

A) Client connection  

B) Cluster-sender 

C) Cluster-receiver 

D) Server connection  

29) The following command has been issued  

       runmqsc –v QM1 < someQueueDefinitions.mqsc > result.out 

       What is the –v flag in runmqsc is doing  

A)Checking version syntax differences between MQSC commands in MQ version 7,8,9 

B)Command syntax is checked , no queues are defined  

C)Queues are defined with verbose/detailed output information  

D)Remote connection to queue manager QM is established  

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 

2.What are the two options for routing the publications across a publish\subscribe cluster using the ….. 

       A. Direct  

          b. Consumer 

          c. MQSO_Managed  

          e. RCDMMQIMG 

          f.TOPICHOST 

3. MQ Advanced message security, Which two statements regarding production  of remote queues … 

         A. The toleration flag should be set on once advanced message security rool-out is complete. 

         b. When the toleration flag is used  policies on remote queues can be set after the local queue has been…. 

         c. When a GET operation is performed on the local queue, Advanced message security tries to decode ….. 

         e. When a message is put in to a  remote queue, Advanced message security intercepts the operation and… 

         F. To fully protect remote queues, The same police must be set on the remote queue and local queue to which.. 

  

4. Channel initiator is an example a special type of trigger monitor for …… 

      A. EVERY 

      B. FIRST  

      C. NONE 

      E. DEPTH 

     F. EACH 

  

5. Which pair of MQ channel statistics can be used to verify that the BATCHSZ parameter set has been… 

     A. Average batch size and message count  

     B. Incomplbatch count and Average batch count 

     c. Full Batch count and PutRetryCount 

     e. Full Batch count and Purge count 

6. Which two statements are true about Administrative REST API ? 

    A. When you use the REST API to perform an action on an action object , You first need to construct URL. To 

    B. The resource URL must always include query parameters. 

    C. REST API is not case sensitive  

    E. You must authentication with the mqweb server to be able use the administrative RESTAPI 

   F. All the character that can be used in IBM MQ object names can be used without encoding the URL. 

7. What is the primary  purpose Event monitoring ? 

A. detecting occurrence of instrumentation events in…. 

B. detecting operating system  level resource issues      

C. Recording the play load of failed MQ message  

E. detecting the failure of RDQM queue manager 

 8. Which statement is true long term support (LTS) and continue delivery (CD)… 

A) Queue manager can not be migrated from a CD release to later to LTS release  

B) Backward migration capability will be provided after migrating from LTS to a CD release ….. 

C) Queue manager can be migrated from an LTS release to the same or higher version or release.. 

D) No migration work required when any new CD feature is enabled from one CD release to another… 

9.Q) What is the amqmfsck used for? 

A) verify whether a shared file system meets the requirements for storing and…  

B) Check the data integrity during failure  

C) Copy queue manager data and logs shared file system 

D) Configure Microsoft cluster server for MQ 

10.Q)  Details about the amount of the memory and number of processors available on the system where the iBM…. 

A) Runtime properties  

B) Work Queue Manager Contents 

C) All thread information  

D) Header 

11.Q)  What type of channel exit can modify the contents of a message ? 

A) An auto-definition exit 

B) A Message exit 

C) A security exit 

E) A Message -retry exit 

12.Q) Which is an important consolidation when using dead letter queue ? 

A) A dead letter queue only can store 1000 messages  

B) if sequence in which messages are delivered are important. 

C) If the size of the message longer than 4MB 

E) Dead letter queues are not suported on AIX 

13.Q)  What command can be run restore a Linux queue manager configuration that is stored in file … 

A) runmqsc MQMGR < /mq/backups/MQMGR.mqsc 

B) ratrmqsc MQMGR < /mq/backups/MQMGR.mqsc 

C) dmpmqcfg MQMGR < /mq/backups/MQMGR.mqsc 

E) backpcfg MQMGR < /mq/backups/MQMGR.mqsc 

14.Q) What type of transport would a JMG application using connection factory. That runs the same computer.. 

A) JMS Local 

B) JMS PUB\SUB 

C) Direct  

E) Bindings 

15.Q)  The queue manager inter connected by a pair of sender\receiver channels. The IBM MQ display route …. What ca  the administrator do to investigate the issues.? 

A) Enable accounting and statistics 

B) Check the current queue depth  

C) use the dspmqttri command to display details of transactions  

E: use dspmqrtte to generate activity report     

    

16.Q) A new application will use IBM light MQ API, What channel type is required for this application to connect to … 

A) CLNTCONN  

B) MQI 

C) CLUSSDR 

D) AMQP 

17.Q) MQ put calls on z/os queue manager fail with MQRC_STROGE__MEDIUM_FULL. The administrator….  

A) Display usage log Pageset 

B) DISPLAY USAGE PSID(*) 

C) DISPLAY PAGESET(*)ALL 

D) There is no MQSC to display page sets, it must be done via ISPF/TSO 

18.Q) A ne queue manager has been set up using crtmqm without -u option . What queue manager attribute…. 

A) After the QMGR attribute dead letter(enable)  

B) After the QMGR  attribute DEADQ(<queuename>) 

C) The queue manager is configured to use the SYSTEM.DEAD.LETTER. By default 

D) Add in qm.ini in stanza service: defaultDeadQ=<queuename> 

19.Q) For IBM MQ version 9.1 Long Term support , Which platform supported? 

A) AIX solaris, Linux , windows, IBM I and z/os 

B) AIX solaris, Linux , windows, z/os IBM I HP–UX 

C) AIX solaris, Linux , windows only  

D) solaris, Linux ,on z  IBM I HP-UX 

20.Q) If the amqsact program is used to read the messages SYSTEM.ADMIN.TRACE ACTIVITY QUEUE, What is,, 

A) it specifies filter on which connection should have trace date displayed. 

B) it specifies channel to collect message for  

C) it specifies filter on which client should have trace data displayed 

D)  it specifies how long the program should remain connected when there are no more messages on queue   

21.Q) which statement is true regarding IBM MQ’s capability for restricting access to message data ?  

A)A MQ data can be easily found through a search query like a database  

B)IBM MQ can use RLS and certificates for securing network connections  

C)Message queues can ne used as a permanent data store in the same way as database , particularly while ha.. 

D)It is impossible to access or modify messages ,including personal data ,using standard IBM MQ messaging featu….. 

22.Q)After a V.R.M multiplatform queue manager upgrade has been completed , what step can be done to revert to …….. 

A) The queue manager date files have to be restored and the installation need to be set previous version… 

B)Uninstall and reinstall the product code then use setmqm to set the associated IBM MQ Installation of a queu…… 

C)Noting .Queue managers are all fully backwards compatible  

D)Use setmqm to associate the queue manager with the other installation  

23.Q) What is the limitation of MQ explorer when dealing with remote queue manager ? 

A) Channel status of channels  on a remote queue manager cannot be displayed  

B)The CMDLEVEL of a remote queue manager cannot be checked  

C)A remote queue manager cannot be started  

D)A new queue on a remote queue manager cannot be created  

24.Q)When creating a QSGData , what rule should be followed when running Qsgname ? 

A)Can be 1 through 4 characters long ,must start with a numeric and must not end in $ 

B)Can be 1 through 8 characters long , must start with a numeric and must not end in $ 

C)Can be 1 through 8 characters long , must not start with a numeric and must not end in @ 

D)Can be 1 through 4 characters long, must not start with a numeric and must not end in @ 

25.Q)What two configurations are recommended if an MQ Administrator must protect distributed channels with SSL/…….. 

A)Implement an explicit certificate revocation server configuration  

B)use a channel authentication SSLPEERMAP record to check issuer and Subject Distinguished Name 

C)Store at least 100 certificate into a singular key repository to isolate keystores 

D)Impalement self-signed certificates into production environments  

E)Set the queue manager CERTLABL to the name of the certificate to be used for the majority of channels  

26.Q)If queue manager QM1 is created on Unix or Linux platform using the default locations where are the MQ log 

A)/var/mqm/qmgrs/QM1/errors 

B)/var/mqm/logs/QM1/active 

C)/var/logs/active/QM1 

D)/var/mqm/qmgrs/QM1/log/active 

27.Q)What 2 MQI calls cause a cluster workload algorithm to be called ? 

A)MQSET 

B)MQDSP 

C)MQPUT 

D)MQCONN 

E)MQOPEN 

28.Q)When setting up role based management on an MQ appliance , which step is completed to lookup authorization ..? 

A)Select an SSL clientype 

B)Change the default cache settings 

C)Search LDAP for DN 

D)Search LDAP for CN 

29.Q)What is the function of amqsrua command ? 

A)it is used to query performance data that is related to the system resource usage of a channel  

B)it is used to query performance date that is related to the system resource usage of a queue manager 

C)it is used to check the message status of the systems resource usage of a queue manager  

D)it is used to check the message status of the system resource usage of a channel  

30.Q)An IBM MQ Administrator is planning to migrate from 7.1 to 9.1 which migration path is valid for this scenario ? 

A) Migrate to version 8.0 and then to version 9.1 

B) Migrate to version 7.5 .10 and then to version 9.1 

C)Migrate to version 9.1 ,it is supported from version 7.1 

D)Migrate to version 7.5 and then to version 9.1 

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 

1.On a queue manager. which two authentication object type can be specified for CONNAUTH? 

  1. CRLLADAP 
  2. CHCKLOCL 
  3. IDPWOS 
  4. OCSP 
  5. IDPWLDAP 

DEFINE AUTHINFO(USE.OS) AUTHTYPE(IDPWOS)  

DEFINE AUTHINFO(USE.LDAP) AUTHTYPE(IDPWLDAP) CONNAME(‘ldap1(389),ldap2(389)’) LDAPUSER(‘CN=QMGR1’) LDAPPWD(‘passw0rd’) SECCOMM(YES) 

2.Which command is used to stop an MQ trace? 

A. stopmqtrc 

B. endmqtrc 

C. abortmqtrc 

D. killmqtrc 

3.which statement is true regarding distributed queue management? 

A. you can connect distributed queue managers by creating a queue manager cluster ………. 

B.distributed queue management itself is controlled by message channel Agents(MCA…) 

C. distributed queue managers cannot participate in a cluster 

D. distributed queue management is used to define and control commmunication between queue…. 

  1. What is one aspect of MQI client security when connecting to a queue manager? 

A. Signature 

B. Confidential 

C. Non repudiation 

D. Authentication 

   5. Which command creates a network that the MQ server container demo …… 

         A. docker network create mq-demo-network 

          B. docker network define qm-container-network 

           C. docker network bulid mq-docker-network 

           D. docker network define mq-network 

  1. Which SET CHLAUTH command pair allows access to a particular channel from a spec……….. 

       A. SET CHlAUTH(‘App2.CHAN’) TYPE(ADDRESSMAP) ADDRESS(‘*’) USERSRC(NOACCESS) DESCR(“address_rule”) WARN(NO) ACTION(ADD) 

SET CHLAUTH(‘APP2.CHAN’) TYPE(USEMAP) CLNTUSER(‘johndoe’) USERSRC(CHANNEL) DESCR(‘allow johndoe userid’) ACTION(ADD) 

       B. SET CHlAUTH(‘App2.CHAN’) TYPE(ADDRESSMAP) ADDRESS(‘*’) USERSRC(NOACCESS) WARN(NO) ACTION(ADD) 

SET CHLAUTH(‘APP2.CHAN’) TYPE(ADDRESSMAP) ADDRESS(‘9.95.100.9-9.95.100.20’) USERSRC(MAP) MCAUSER(‘mqapp2’) ACTION(ADD) 

      C. SET CHlAUTH(‘App2.CHAN’) TYPE(ADDRESSMAP) ADDRESS(‘*’) USERSRC(NOACCESS) WARN(NO) ACTION(ADD) 

SET CHLAUTH(‘App2.CHAN’) TYPE(ADDRESSMAP) ADDRESS(‘9.95.100.1-5’) USERSRC(MAP) MCAUSER(‘mqapp2’) ACTION(ADD) 

       D.SET CHlAUTH(‘App2.CHAN’) TYPE(ADDRESSMAP) ADDRESS(‘*’) USERSRC(NOACCESS) DESCR(‘Black-stop rule’) 

SET CHLAUTH(‘App2.CHAN’) type(QMGRMAP) QNAME(‘MYSVR2’) USERSRC(MAP) MCAUSER(‘mqapp’) ADDRESS(‘192.168.1.134’) ACTION(ADD) 

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *