IBM Certification IBM MQ Messaging 2 — Questions and Answers
Question 1: What is the IBM MQ 'Transmission Queue' used for?
- Storing messages locally for immediate consumption
- Temporarily holding messages before they are forwarded to a remote queue manager via a channel (Correct answer)
- Logging all MQ administrative commands
- Storing messages for scheduled delivery
Correct answer: Temporarily holding messages before they are forwarded to a remote queue manager via a channel
A transmission queue temporarily stores messages destined for a remote queue manager, holding them until the sender channel forwards them.
Question 2: What command-line tool is used to administer IBM MQ queue managers interactively?
- mqadmin
- runmqsc (Correct answer)
- mqconfig
- ibmmqctl
Correct answer: runmqsc
The `runmqsc` command starts the IBM MQ interactive shell, allowing administrators to create, modify, and query MQ objects using MQSC commands.
Question 3: In IBM MQ, what is 'publish/subscribe' messaging?
- A billing model for MQ licenses
- A messaging pattern where publishers send messages to topics and subscribers receive messages from those topics (Correct answer)
- A method to subscribe to IBM support alerts
- A pattern where each message goes to exactly one receiver
Correct answer: A messaging pattern where publishers send messages to topics and subscribers receive messages from those topics
In IBM MQ publish/subscribe, producers publish messages to topic strings, and multiple subscriber applications can receive those messages based on their topic subscriptions.
Question 4: What is the significance of IBM MQ's 'exactly-once delivery' guarantee in financial transactions?
- It guarantees a message arrives in under one second
- It ensures each message is processed exactly one time, preventing duplicate or lost transactions (Correct answer)
- It limits each queue to one message at a time
- It means only one application can connect per queue
Correct answer: It ensures each message is processed exactly one time, preventing duplicate or lost transactions
Exactly-once delivery ensures that critical messages (like financial transactions) are neither lost nor processed more than once, preserving data integrity.
Question 5: Which IBM MQ feature enables message delivery across unreliable or occasionally connected networks?
- IBM MQ Telemetry (MQTT support) (Correct answer)
- IBM MQ Channels only
- IBM MQ Clustering
- IBM MQ Command Server
Correct answer: IBM MQ Telemetry (MQTT support)
IBM MQ Telemetry provides MQTT protocol support, enabling lightweight, reliable message delivery to IoT devices and clients on unreliable networks.
Question 6: What is the purpose of IBM MQ clustering?
- To organize queue managers into a group for load balancing and automatic message routing between members (Correct answer)
- To create database clusters for MQ metadata
- To cluster virtual machines for MQ installation
- To group user accounts into permission clusters
Correct answer: To organize queue managers into a group for load balancing and automatic message routing between members
IBM MQ clustering groups multiple queue managers so they can share queue information and automatically route messages to available cluster members for load balancing.
What is the IBM MQ 'Transmission Queue' used for?