IBM WMQ Interview Questions and Answers
IBM WMQ Interview Questions and Answers for beginners and experts. List of frequently asked IBM WMQ Interview Questions with Answers by Besant Technologies. We hope these IBM WMQ Interview Questions and Answers are useful and will help you to get the best job in the Data Science industry. This IBM WMQ interview questions and answers are prepared by IBM WMQ Professionals based on MNC Companies’ expectations. Stay tuned we will update New IBM WMQ Interview questions with Answers Frequently.
Q.1) What is IBM MQ and it’s responsibilities?
- Mq stands for message queueing.
- Ibm mq is based on a message queuing technology and enables application programs to communicate with each other by sending or receiving messages across a network of dissimilar platforms using an application programming interface called mqi.
Q.2) What do you know about the message-driven process?
When a message arrives on a queue, they can automatically start an application using triggering.
If necessary, the applications can be stopped when the message (or messages) have been processed.
Q.3) What are the benefits that corporate can have through ibm websphere mq ?
- Asynchronous
- Platform independent
- Security
- Integration
- Assured delivery
Q.4) How MQ supports integration?
- Mq is independent of the operating system which you use i.e. It may be windows, solaris, aix.
- It is also independent of the protocol (i.e. Tcp/ip, lu6.2, sna, netbios, udp).
- It is not required that both the sender and receiver should be running on the same platform
Q.5) What do you mean by asynchrony in IBM WebSphere MQ?
- With message queuing, the exchange of messages between the sending and receiving programs is independent of time.
- The sender can continue processing without having to wait for the receiver to acknowledge receipt of the message. The target application does not even have to be running when the message is sent from sending end of the application.
- It can retrieve the message after it is has been started.
Q.6) What is a message and what does it contain?
- A message is a string of bytes that is meaningful to the applications that uses it.
- Messages are used to transfer information from one application program to another (or between different parts of the same application).
- The applications can be running on the same platform, or on different platforms.
Q.7) How will be the message structure in ibm mq ?
The application data. The content and structure of the application data is defined by the application programs that use it.
A message descriptor. The message descriptor identifies the message and contains additional control information, such as the type of message and the priority assigned to the message by the sending application. Websphere mq defines the format of the message descriptor. For a complete description of the message descriptor.
Q.8) What is queuing and queue ?
- Queuing is the mechanism by which messages are held until application is ready to process them.
- Queue is a ibm mq object to store messages which need to be exchanged between sending and receiving end of the application.
- Although you can increase this to a maximum length of 100 mb (where 1 mb equals 1 048 576 bytes)
Q.9) What is the max length of the message does mq support?
- The default maximum message length is 4 mb.
- Although you can increase this to a maximum length of 100 mb (where 1 mb equals 1 048 576 bytes).
Q.10) What is the difference between persistent and non-persistent messages?
- In WebSphere MQ, messages can be either persistent or non-persistent.
- Persistent messages are logged and can be recovered in the event of a websphere mq failure. Thus, persistent messages are guaranteed to be delivered.
- Nonpersistent messages are not logged and cannot be recovered in the event of mq failure.
Q.11) What is the effect of using persistent messages?
- Persistent messages are usually logged. Logging messages reduces the performance of your application, so use persistent messages for essential data only.
- If the data in a message can be discarded if the queue manager stops or fails, use a nonpersistent message.
Q.12) What is mq server?
- A web sphere mq server is a queue manager that provides queuing services to one or more clients.
- All the web sphere mq objects, for example queues, exist only on the queue manager machine (the web sphere mq server machine), and not on the client.
- A web sphere mq server can also support local web sphere mq applications.
Q.13) What is MQ client?
A web sphere mq client is a component that allows an application running on a system to issue mqi calls to a queue manager running on another system.
The output from the call is sent back to the client, which passes it back to the application.
Q.14) What are the objects used in web sphere mq?
Queue manager qqueues qchannels qprocesses qname lists
Q.15) Mention the no of characters required for creating names of the mq objects?
For mq channels it is 20 characters qfor remaining objects it is 48 characters.
Q.16) What about is the default port number for mq queue manager?
Default port number is 1414
Q.17) Difference between mqsc commands and control commands?
Mqsc commands: these commands are used to handle the admin related functions for the components that are present in the mq series. In general mqsc commands are used for creating and maintaining message channels, queue managers, clusters etc
Control commands: these commands are used to manage the processes and services that are helpful in the functioning of the mq series. In general these commands are used for channel listener, channel initiator, trigger monitor etc
Q.18) Is the mqsc attributes are case sensitive?
- Mqsc commands, including their attributes, can be written in uppercase or lowercase. Object names in mqsc commands are folded to uppercase (that is, queue and queue are not differentiated), unless the names are enclosed within single quotation marks.
- If quotation marks are not used, the object is processed with a name in uppercase.
Q.19) What is the command used for starting the queue manager?
Strmqm qmname
Q.20) What is the command used for stopping the queue manager?
- Endmqm -w qmname
- The command waits till application to be stopped completely and will stop the qm
- Endmqm –i qmname
- This type of shutdown does not wait for applications to disconnect from the queue manager.
Q.21) What’s the message code for stopping a queue manager?
Amq4044 queue manager stopping
Q.22) What is the command used to delete the queue manager?
Dltmqm qmname
Q.23) Display the attributes of the queue manager qm1?
- Runmqsc qm1 • display qmgr
Q.24) What is a programmable command format (pcf) commands?
These commands are issued from a program for local or remote administration done by programmers.
Q.25) What is queue manager in ibm websphere mq ? What does queue manager do?
Queuemanageris primary component of websphere mq or wmq
The queue manager is responsible for storing and routing messages to other queue manager within mq and it also communicates with outside world e.g. Java program or any other mq client.
Q.26) What is channel in ibm websphere mq?
In websphere mq or wmq, queue manager use channel to transmit messages to other queuemanager.
Channel carries one way traffic in mq series (i.e. Channels are uni directional). You can have either sending channel or receiving channel in mq.
Q.27) What is difference between dead letter queue and backout queue in websphere mq?
- Dead letter queue is used to store messages which is receives for non-existent queue.
- If mq series not able to deliver message to client after a preconfigured attempt, wmq moves message to backout queue.
Q.28) What is triggering in ibm mq?
Websphere mq can start an application automatically when certain conditions on a queue are met.
For example, you might want to start an application when the maximum number of messages on a queue reaches a specified number.
Q.29) What is the difference between a local queue and remote queue in wmq ?
In WebSphere MQ, local queues are queue on the same queue manager.
While remote queue refers to a queue on different queue manager.
Q.30) What are the different logging methods available?
- Circular: the circular logging is used for restart recovery. It is the default logging method. Circular is used in development and testing queues. Circular logging keeps all restart data in a ring of log files.
- Linear: linear logging gives you both restart recovery and media recovery. It is used in production. Linear logging keeps the log data in a continuous sequence of files.