InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
What Is Difference Between Local Queue And Remote Queue In Wmq? |
|
Answer» In WEBSPHERE MQ, LOCAL QUEUES are queue on same QueueManager while remote queue refers to queue on different QueueManager. In WebSphere MQ, local queues are queue on same QueueManager while remote queue refers to queue on different QueueManager. |
|
| 2. |
What Is Difference Between Binding Connection And Client Connection? |
|
Answer» If MQ clients sits on same PHYSICAL SERVER where QueueManager 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. If MQ clients sits on same physical server where QueueManager 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. |
|
| 3. |
What Is Difference Between Dead Letter Queue And Backout Queue In Websphere Mq? |
|
Answer» 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 deliveryCountcrossed 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. 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 deliveryCountcrossed 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. |
|
| 4. |
What Is Sslpeer In Ibm Websphere Mq? |
|
Answer» 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. 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. |
|
| 5. |
What Is Ccdt File On Websphere Mq Or Wmq? |
|
Answer» CCDT file or Client Channel Definition table is a binary file which contains connection details required by MQ clients e.g. Java application USING JMS to connect to MQ Server. In order to connect to MQ Server, MQ clients needs MQ Server HOST name, MQ Server port name and server channel name. All these details are encapsulated in CCDT file named as AMQCLCHL.TAB. In order to create MQ Connection, MQ clients needs LOCATION of this file, which is provided as CONFIGURATION. most of MQ ERRORS comes either with incorrect CCDT files. CCDT file or Client Channel Definition table is a binary file which contains connection details required by MQ clients e.g. Java application using JMS to connect to MQ Server. In order to connect to MQ Server, MQ clients needs MQ Server host name, MQ Server port name and server channel name. All these details are encapsulated in CCDT file named as AMQCLCHL.TAB. In order to create MQ Connection, MQ clients needs location of this file, which is provided as configuration. most of MQ errors comes either with incorrect CCDT files. |
|
| 6. |
What Is Dead Letter Queue In Ibm Mq Series? |
|
Answer» DEAD letter Queue in WebSphere MQ is a queue which is USED by QueueManager to ARCHIVE messages for a NON EXISTENT queue. For example of QueueManagerQMGR, receives a messages for queue ABC and if it didn’t exist on that QueueMangaer then message will be routed to dead letter queue. Dead letter Queue in WebSphere MQ is a queue which is used by QueueManager to archive messages for a non existent queue. For example of QueueManagerQMGR, receives a messages for queue ABC and if it didn’t exist on that QueueMangaer then message will be routed to dead letter queue. |
|
| 7. |
What Is Channel In Ibm Websphere Mq? |
|
Answer» 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. 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. |
|
| 8. |
What Is Queuemanager In Ibm Websphere Mq ? What Does Queuemanager Do? |
|
Answer» QueueManageris PRIMARY component of WebSphere MQ or WMQ. QueueManager is responsible for STORING and routing messages to other Queue Manager WITHIN MQ and it also communicate with outside world e.g. Java PROGRAM or any other MQ client. QueueManageris primary component of WebSphere MQ or WMQ. QueueManager is responsible for storing and routing messages to other Queue Manager within MQ and it also communicate with outside world e.g. Java program or any other MQ client. |
|
| 9. |
Mention Some Rules For Using Mqsc Commands? |
|
Answer» Each command of MQSC starts with a primary parameter, followed by a secondary parameter
Each command of MQSC starts with a primary parameter, followed by a secondary parameter |
|
| 10. |
What Are The Integration And Supported Environments In Ibm Mq? |
Answer»
|
|
| 11. |
What Are The Telemetry Capabilities? |
Answer»
|
|
| 12. |
How To Define A Buffer Pool For Holding Messages In Main Storage? Explain? |
Answer»
Example: DEFINE BUFFPOOL Parameter descriptions
BUFFERS(integer)
Example: DEFINE BUFFPOOL Parameter descriptions BUFFERS(integer) |
|
| 13. |
What Is Ibm Mq Series? What Is The Significance Of Mq Series? |
|
Answer» A middle ware from IBM
Significance of Websphere MQ Series:
A middle ware from IBM Significance of Websphere MQ Series: |
|
| 14. |
What Is Programmable Command Format (pcf) Commands? |
|
Answer» These COMMANDS are issued from a programme for local or REMOTE ADMINISTRATION done by programmers. These commands are issued from a programme for local or remote administration done by programmers. |
|
| 15. |
Display The Attributes Of The Queue Manager Qm1? |
|
Answer» runmqsc QM1 Display qmgr |
|
| 16. |
What Is The Command Used To Delete The Queue Manager? |
|
Answer» dltmqm QMName dltmqm QMName |
|
| 17. |
What’s The Message Code For Stopping A Queue Manager? |
|
Answer» AMQ4044 QUEUE MANAGER STOPPING AMQ4044 Queue manager stopping |
|
| 18. |
What Is The Command Used For Stopping The Queue Manager? |
| Answer» | |
| 19. |
What Is The Command Used For Starting The Queue Manager? |
|
Answer» strmqm QMName strmqm QMName |
|
| 20. |
Where Are The Backup Files Are Present After Creating The Queue Manager? |
|
Answer» Windows SYSTEMS: If you use Web Sphere MQ for Windows NT and Windows 2000, configuration information is STORED in the Windows Registry. UNIX Systems: When you install the product, the Web Sphere MQ configuration FILE (mqs.ini) is created. It contains a list of queue managers that is updated each TIME you create or delete a queue manager. There is ONE mqs.ini file per node. When you create a new queue manager, a new queue manager configuration file (qm.ini) is automatically created. This contains configuration parameters for the queue manager. Windows systems: If you use Web Sphere MQ for Windows NT and Windows 2000, configuration information is stored in the Windows Registry. UNIX Systems: When you install the product, the Web Sphere MQ configuration file (mqs.ini) is created. It contains a list of queue managers that is updated each time you create or delete a queue manager. There is one mqs.ini file per node. When you create a new queue manager, a new queue manager configuration file (qm.ini) is automatically created. This contains configuration parameters for the queue manager. |
|
| 21. |
How Can U Make The Existing Queue Manager As An Default Queue Manager? |
|
Answer» On Windows systems, use the Web SPHERE MQ SERVICES snap-in to display the properties of the queue manager, and check the Make queue manager the default box. You need to stop and RESTART the queue manager for the change to TAKE effect. On Windows systems, use the Web Sphere MQ Services snap-in to display the properties of the queue manager, and check the Make queue manager the default box. You need to stop and restart the queue manager for the change to take effect. |
|
| 22. |
How Can We Write The Mqsc Commands That Have Too Many Parameters? |
|
Answer» For commands that have too many parameters to fit on one LINE, use CONTINUATION CHARACTERS to INDICATE that a command is continued on the following line:
For commands that have too many parameters to fit on one line, use continuation characters to indicate that a command is continued on the following line:
|
|
| 23. |
Is The Mqsc Attributes Are Case Sensitive? |
|
Answer» 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. SCRIPT COMMANDS : After entering in to queue manager we can find script commands. Script commands are same for every queue manager.(These Commands should be used in CAPITAL LETTERS)
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. SCRIPT COMMANDS : After entering in to queue manager we can find script commands. Script commands are same for every queue manager.(These Commands should be used in CAPITAL LETTERS) |
|
| 24. |
Difference Between Mqsc Commands And Control Commands? |
|
Answer» 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… 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… |
|
| 25. |
What About Is The Default Port Number For Mq Queue Manager? |
|
Answer» 1414 1414 |
|
| 26. |
Mention The No Of Characters Required For Creating Names Of The Mq Objects? |
Answer»
|
|
| 27. |
What Are The Objects Used In Web Sphere Mq? |
| Answer» | |
| 28. |
What Is Mq Client? |
|
Answer» 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. 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. |
|
| 29. |
What Is The Attribute Used To See The Message Length? |
|
Answer» MaxMsgLength MaxMsgLength |
|
| 30. |
What Is The Sizes Of Messages? |
Answer»
|
|
| 31. |
What Is The Effect Of Using Persistent Messages? |
|
Answer» 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. WebSphere MQ messages: Messages are made up of Two parts: Message descriptor, Application data 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. WebSphere MQ messages: Messages are made up of Two parts: Message descriptor, Application data |
|
| 32. |
What Is The Difference Between Persistent And Non Persistent Messages? |
|
Answer» In Web Sphere 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 once and only once. Nonpersistent messages are not logged. Web Sphere still GUARANTEES to deliver them not more than once, but it does not promise to deliver them once. In Web Sphere 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 once and only once. Nonpersistent messages are not logged. Web Sphere still guarantees to deliver them not more than once, but it does not promise to deliver them once. |
|
| 33. |
What Is The Max Length Of The Message Does Mq Support? |
|
Answer» 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). 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). |
|
| 34. |
What Is A Message And What Does It Contain? |
|
Answer» A message is a STRING of BYTES that is meaningful to the applications that use 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. WebSphere MQ messages have two parts:
A message is a string of bytes that is meaningful to the applications that use 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. WebSphere MQ messages have two parts: |
|
| 35. |
What Are The Software And Hardware Requirements For Installing Mq On Windows? |
|
Answer» MQ v 5.3 supports Windows 2000, Windows 2000XP,Windows 2000NT, Windows 2003 SE, Windows 2003EE. Disk Storage: Typical storage REQUIREMENTS are as follows:
Connectivity The network protocols supported by WebSphere MQ for AIX, V5.3 are:
Databases: DB2 7.1, 7.2 Oracle 8i and 9I Sybase v12 or v 12.5 MQ v 5.3 supports Windows 2000, Windows 2000XP,Windows 2000NT, Windows 2003 SE, Windows 2003EE. Disk Storage: Typical storage requirements are as follows: Connectivity The network protocols supported by WebSphere MQ for AIX, V5.3 are: Databases: DB2 7.1, 7.2 Oracle 8i and 9i Sybase v12 or v 12.5 |
|
| 36. |
What Are The Hardware And Software Requirements For Mq Installation In Aix? |
|
Answer» WebSphere MQ for AIX, V5.3 runs on any machine that supports the AIX V4.3.3 PowerPC® 32.bit, or AIX® V5.1 POWER 32 bit only operating system. Disk Storage: Typical storage requirements are as follows:
Software Requirements: Operating system: The operating systems supported by WebSphere MQ for AIX, V5.3 are:
Databases: DB2 7.1, 7.2 Oracle 8i and 9i SYBASE v12 or v 12.5 WebSphere MQ for AIX, V5.3 runs on any machine that supports the AIX V4.3.3 PowerPC® 32.bit, or AIX® V5.1 Power 32 bit only operating system. Disk Storage: Typical storage requirements are as follows: Software Requirements: Operating system: The operating systems supported by WebSphere MQ for AIX, V5.3 are: Databases: DB2 7.1, 7.2 Oracle 8i and 9i Sybase v12 or v 12.5 |
|
| 37. |
What Is Asynchrony? |
|
Answer» With MESSAGE queuing, the EXCHANGE of messages between the sending and receiving programs is independent of time. This means that the sending and receiving application programs are decoupled; 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. It can retrieve the message after it is has been started. With message queuing, the exchange of messages between the sending and receiving programs is independent of time. This means that the sending and receiving application programs are decoupled; 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. It can retrieve the message after it is has been started. |
|
| 38. |
How Does It Support The Integration? |
|
Answer» Because the MQ is INDEPENDENT of the OPERATING System you use i.e. it may be Windows, Solaris,AIX.It is 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 Because the MQ is independent of the Operating System you use i.e. it may be Windows, Solaris,AIX.It is 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 |
|
| 39. |
What Are Advantages Of The Mq? |
| Answer» | |
| 40. |
What Is Message Driven Process? |
|
Answer» When MESSAGES ARRIVE 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. When messages arrive 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. |
|
| 41. |
What Is Mq And What Does It Do? |
|
Answer» MQ stands for MESSAGE QUEUEING. WebSphere MQ allows application PROGRAMS to USE message queuing to PARTICIPATE in message-driven PROCESSING. Application programs can communicate across different platforms by USING the appropriate message queuing software products. MQ stands for MESSAGE QUEUEING. WebSphere MQ allows application programs to use message queuing to participate in message-driven processing. Application programs can communicate across different platforms by using the appropriate message queuing software products. |
|