You are on page 1of 6

WMB, WMQ, WAS: MQ Interview questions

http://gundluru.blogspot.in/2010/04/mq-interview...

More

Next Blog

Create Blog

Sign In

W M B , W M Q, WA S
Home

WebSphere Message Broker

Databases

WebSphere MQ

WebSphere Application Server

Operating Systems

T U E S D A Y, A P R I L 2 7 , 2 0 1 0

BLOG ARCHIVE

MQ Interview questions

2014 (1)

What is MQ?

2011 (1)
2010 (20)

MQ stands for Message queuing. MQ allows application


programs to use the message queuing to participate in
message-driven processing.

May (5)
April (9)
MQ Interview questions

what are the advantages of MQ?

Integration
Asynchrony

Infocenter ->IBM
Websphere MQ
Top 15 - Websphere MQ
best practices

Assured delivery

Triggering in MQ v6

Scalability

Record(rcdmimg) &
Recreate(rcrmqobj)
objects in MQ...

What is the format of the command "dspmqver"?


Version.release.modication.xpack.
6.0.2.7
What is a user exit in terms of MQ?
Using these user exits, we can insert our code into the queue
manager function.
What are the logging conguration les?
mqs.ini - cong le for mq level settings

Linear Logs Vs Circular


Logs in MQ V6
What is a prole in WAS
terms?
WAS Admin interview
questions
WebSphere Application
Server Library
March (5)
January (1)

qm.ini - cong le for queue manager level settings

ABOUT ME

1 of 6

05/18/2014 11:27 AM

WMB, WMQ, WAS: MQ Interview questions

http://gundluru.blogspot.in/2010/04/mq-interview...

What is the algorithm used in MQ for ensuring integrity?

R O H IN I
VI EW MY C O MPLET E

Log write integrity is the algorithm used to ensure integrity.

PR O F ILE

This can be changed in QM cong le

When a queue manager starts, what are the default


components that start with the Queue manager?
The Queue Manager task:

LOGGER-IO
ERROR-LOG
CHECKPOINT
ASYNCQ
EXPIRER
STATISTICS
What is the communication protocol used by MQ Explorer to
connect to the remote QMs?
TCP/IP Protocol

What is a Channel?
Channel can be depicted as a pipe/connection for
communication between queue managers to exchange
messages.
What are various types of channels in MQ v6?

Sender(SDR)
Receiver(RCVR)
Cluster Receiver(CLUSRCVR)
Cluster Sender(CLUSSDR)
Server(SVR)
Requester(RQSTR)
Client Connection(CLNTCONN)
Server connection(SVRCONN)

2 of 6

05/18/2014 11:27 AM

WMB, WMQ, WAS: MQ Interview questions

http://gundluru.blogspot.in/2010/04/mq-interview...

What is the purpose of Channel Initiator in MQ?


monitor the system-defined initiation queue SYSTEM.CHANNEL.INITQ

Channel Listener - listens for any incoming network requests and starts the
appropriate receiver channel.

What are the types of Queues available in MQ V6?

Local
Alias
Remote
Model - dynamic queues that are created on the y by
the applications
Cluster queue

What are the types of logging in MQ?

Circular -lc
Linear - ll

Inorder to instruct Websphere MQ to advance/write to a new


linear log, "RESET QMGR TYPE(ADVANCELOG)"
In order to recover a queue from a media failure, what type
of logging combined with messaging should be?
ans. Linear logging with persistent messaging
Name the log control le in MQ v6?
Log control le is amqhlctl.lfh
Default location of logs
UNIX: /var/mqm/log/
Windows: C:\Program Files\IBM\WebSphere MQ\log\

3 of 6

05/18/2014 11:27 AM

WMB, WMQ, WAS: MQ Interview questions

http://gundluru.blogspot.in/2010/04/mq-interview...

Log Defaults in UNIX:


LogPrimaryFiles=3
LogSecondaryFiles=2
LogFilePages=1024
LogType=CIRCULAR
LogBuerPages=0
LogDefaultPath=/var/mqm/log
What is a dead-letter queue handler? How do you invoke it?
runmqdlq - command to start the DLQ handler(monitor &
handle messages in DLQ)

dead letter queue handler can be used to both select a message and
perform various actions on that message. The runmqdlq command
takes its input from stdin. When the command is processed, the results
and a summary are put into a report that is sent to stdout. By taking
stdin from the keyboard, you can enter runmqdlq rules interactively.

What is a MCA?
A Message Channel Agent(MCA) - sits at each end of the
channel controlling the sending and receiving messages.
MCA takes the messages from the transmission queue and
puts them on the communication link(channel) between the
queue managers.
What is an Initiation queue?
Queues that are used in triggering. A message is put by the
queue manager on the initiation queue when the trigger
event occurs

4 of 6

05/18/2014 11:27 AM

WMB, WMQ, WAS: MQ Interview questions

http://gundluru.blogspot.in/2010/04/mq-interview...

What is a Command Server in Websphere MQ z/OS?


Command Server is a component of Websphere MQ that
works with command processor component.
Reads messages from system-command input queue, veries
them, passes the valid ones as commands to the command
processor
command processor processes the message and replies back
to the reply-to queue that is specied.
System command input queue ->
SYSTEM.COMMAND.INPUT
SYSTEM.ADMIN.COMMAND.QUEUE
reply-to queue -> SYSTEM.COMMAND.REPLY.MODEL

Security/Authorization
Authorization for using MQI calls, commands and access to objects is
provided by the Object Authority Manager (OAM). The setmqaut
command is used to grant or revoke authorizations as required.
A security refresh is required after setmqaut commands are issued.
This can be done by recycle of QMGR to refresh the security cache or
by runmqsc command refresh security(*) all
dspmqaut and dmpmqaut can be used to view authorities.
PO ST ED BY R O H IN I AT 11 :53 AM

NO COMMENTS:
POST A COMMENT

5 of 6

05/18/2014 11:27 AM

WMB, WMQ, WAS: MQ Interview questions

http://gundluru.blogspot.in/2010/04/mq-interview...

Comment as:

Publish

Newer Post

Home

Older Post

Subscribe to: Post Comments (Atom)

6 of 6

05/18/2014 11:27 AM

You might also like