MQSeries

  Home  Middleware  MQSeries


“MQSeries job interview preparation guide. Number of MQSeries frequently asked questions(FAQs) asked in many MQSeries interviews”



42 MQSeries Questions And Answers

21⟩ What is SSLPEER in IBM Websphere MQ?

Another interesting and frequently asked WebSphere MQ Interview Question. You can easily answer this MQ question if you connected MQ via SSL. SSLPEER is a String usually DN (Distinguished name) of MQ Client which connect to QueueManager securely using QueueManager. This is a mechanism WMQ uses to identify client. In case of Java or JMS client, SSLPEER is DN of client certificate stored in its keyStore and sent to server during SSL handshake.

 186 views

23⟩ Which WebSphere MQ version have you worked?

This MQ interview question is more to know that which version of MQ have you worked upon, do you familiar with any issue with that particular version or many major changes to previous or next version etc. Based upon your answer, you may expect some follow-up questions. By the way current version of WMQ is WebSphere MQ 7.5 but it always good to check IBM's MQ website for latest version.

 182 views

24⟩ Tell me apart from WebSphere MQ, have you used any other Message Oriented Middleware (MOM) or any other MQ Series provider?

I like this MQ Interview question to ask because many times having experience of one or more Messaging technology or Messaging Middle-ware is good. As I said earlier Tibco RV, Tibco EMS and MQ Series are some of the popular messaging technology used in Java applications. On MQ front there are couple of more MQ providers e.g. Sonic MQ and Active MQ. Active MQ is free and from Apache software foundation, which is easy to install and use. You can use Active MQ for your development and test environment. it also provide a useful Queue browser to keep track of Queues and number of message on it.

 201 views

26⟩ Define process definition and it's containing attributes?

☆ An application which starts in response to an event that is triggered in MQ Queue Manager is defined as a process definition.

☆ The application ID, application type and data specific to the application are the attributes for defining process definition.

 171 views

27⟩ Explain the difference between binding connection and client Connection?

This MQ Interview question is not common or frequently asked, but good to know. If MQ clients sits on same physical server where Queue Manager is located than it can create binding connection which is relatively faster than client connection, which is usually created by MQ clients residing on same network but not same host. Most of application uses MQ client connection to connect QueueMangaer, which is easy and flexible.

 195 views

28⟩ Described about the message sizes?

☆ For Queue manager, the limit is 4 MB

☆ For a Queue the limit is 4 MB

☆ The default memory size for Q Capture program is 64 KB

☆ The default memory size for Q Apply program is 2 MB

☆ What is the attribute used to see the Message length?

☆ The attribute used to see the message length is MaxMsgLength

 204 views

29⟩ What is Message Server in MQSeries?

☆ A Web Sphere MQ Server is an application's component that provides queuing services to several clients.

☆ All the MQ objects of an application, like the queues, exist only in the queue manager machine.

☆ Web Sphere MQ server can also support the Web Sphere MQ Applications that are running locally.

 198 views

30⟩ What is Message Client in MQSeries?

☆ A Web Sphere MQ Client is an application's component that is running on a system for sending MQI calls to a queue manager which is running on another system

☆ The response is sent back to the client, which passes back to the application

 235 views

31⟩ Explain the difference between dead letter queue and backout queue in Websphere MQ?

This is a follow question of previous MQ interview question "What is dead letter queue in MQ Series". As we have seen that dead letter queue is used to store messages which is receives for non existent queue. On the other hand backout queue are application specific queue.If MQ client is not able to process message and ask for redelivery, message is redelivered to client with incremented delivery count. Once this deliveryCount crossed a configured threshold message is moved to back-out queue for later processing or error handling. In short if MQ Series not able to deliver message to client after a preconfigured attempt, WMQ moves message to backout queue.

 222 views

32⟩ Define Transmission Queue in MQSeries?

☆ Transmission queues store messages which are destined for a specific remote queue manager

☆ At least one transmission queue must be defined for each remote queue manger

☆ The messages are directly be sent to the remote queue manager

 188 views

33⟩ Define Initiation Queues?

☆ Initiation queues are used for triggering

☆ A trigger message is put by a queue manager on an initiation queue when a trigger is occurred

☆ Logical combinations are part of a trigger event which is detected by the queue manager

 231 views

34⟩ Define Dead Letter Queue?

☆ When a queue is not delivered to their correct destinations, then it is called as Dead Letter queue.

☆ When the destination queue is full, the dead-letter queue occurs. It is identified by SYSTEM.DEAD.LETTER.QUEUE.

☆ A dead-letter queue is defined for distributed queuing, on each queue manager.

 199 views

35⟩ Define Asynchrony in MQ?

☆ The exchanging of messages among sending and receiving programs is time independent

☆ The sending and receiving application programs are decoupled

☆ Sender's process can continue with out the need of waiting for the receiver's acknowledgement message

☆ The receiver's application need not be running while the message is sent

☆ The receiver can retrieve the messages after it has been started

 201 views

36⟩ What are the effects of using persistent messages?

☆ Persistent messages are usually logged.

☆ The performance of the application is reduced by logged messages.

☆ Persistent messages are utilized only for essential data.

☆ When the queue manager is stopped / failed or the data in the message is discarded, then use a non persistent message.

☆ As the logged data is persisted for long time and need to keep track about the events that are happening in the systems, this data need to be persisted.

☆ Use buffering mechanism to improve the speed of retrieving data from the logged messages.

 186 views

37⟩ List the types of messages in MQSeries?

MQ messages types are:

☆ Data-gram - It is an unsolicited message

☆ Request - A message for which a response is expected

☆ Reply - A message event such as a confirmation on arrival or delivery. It can be an error

☆ MQ messages can be persistent or non-persistent

 201 views

38⟩ What is Intercommunication in MQSeries?

Sending messages from one queue manager to another queue manager is known as inter communication/

☆ The receiving queue manager may by on the same machine or another.

☆ It could be executing on the platform where the local queue manager exists

☆ It could be executing on another platform supported by Web Sphere MQ

☆ The participating entities are:

1) Message channels, message channel agents

2) Transmission queues, channel initiators and listeners

3) Programs those are co-existing

 210 views

39⟩ List some reserved queue names of IBM Websphere MQ?

The following are some of the reserved queue names of IBM Websphere MQ Series:

☆ SYSTEM.ADMIN.CHANNEL.EVENT Queue for events of channel

☆ SYSTEM.CHANNEL.INITQ A distributed queuing queue on z/OS without CICS

☆ SYSTEM.CHANNEL.SEQNO A distributed queuing queue on z/OS using CICS

☆ SYSTEM.CHANNEL.SYNCQ A distributed queuing queue on z/OS without CICS

☆ SYSTEM.ADMIN.COMMAND.QUEUE Queue for PCF command messages to be sent for

☆ non- z/OS

☆ SYSTEM.ADMIN.CONFIG.EVENT Queue for events of configuration

☆ SYSTEM.ADMIN.PERFM.EVENT Queue for events of performance

☆ SYSTEM.ADMIN.QMGR.EVENT Queue for events of queue manager

☆ SYSTEM.CHANNEL.COMMAND A distributed queuing queue on z/OS using CICS

☆ SYSTEM.CICS.INITIATION.QUEUE Queue for utilization of triggering for non- z/OS

☆ SYSTEM.CLUSTER.COMMAND.QUEUE Queue for communication repository changes among queue managers (applicable for AIX, HP-UX, Linux, OS/2 Warp, OS/400, Solaris, Windows, and z/OS only)

☆ SYSTEM.CLUSTER.REPOSITORY.QUEUE Queue for holding information about repository (applicable for AIX, HP-UX, Linux, OS/2 Warp, OS/400, Solaris, Windows, and z/OS only)

 251 views

40⟩ List the different types of Queues?

The following are the types of queues:

1) Model Queue:

A queue definition is called a model queue. It is used when a dynamic queue is created

2) Alias Queue:

Another name for a local queue or a remote queue. It's usage is for security and maintenance

3) Remote Queue:

Remote queue is a queue definition pertaining to another Q Manager

4) Initiation Queue:

It is a local queue. Queue manager writes a trigger message at the time of meeting certain conditions on another local queue

5) Dynamic Queue :

A dynamic queue is created 'on the fly' on demand by the application. The dynamic queues may be retained or automatically deleted when the application program ends. It is used to store any intermediate result

6) Cluster Queue:

A local queue. It is known throughout a cluster of queue managers

7) Reply-to-queue:

A request message must have the queue name, into which the program that is responding must put the reply message

 202 views