nerdexam
IBM

C2180-374 · Question #5

A legacy application uses MQPUT to send messages to a queue INV. Which set of MQSC commands below will successfully configure the queue manager so that a number of JMS applications can receive these…

The correct answer is A. DEFINE TOPIC(INV_TOPIC) + TOPICSTR(Inventory/CurrentItems) DEFINE QALIAS(INV). See the full explanation below for the reasoning.

Question

A legacy application uses MQPUT to send messages to a queue INV. Which set of MQSC commands below will successfully configure the queue manager so that a number of JMS applications can receive these messages by subscribing to topic Inventory/CurrentItems?

Options

  • ADEFINE TOPIC(INV_TOPIC) + TOPICSTR(Inventory/CurrentItems) DEFINE QALIAS(INV)
  • BDEFINE TOPIC(INV_TOPIC) + TOPICSTR(Inventory/CurrentItems) DEFINE TALIAS(INV)
  • CDEFINE TOPIC (INV_TOPIC) + TOPICSTR(Inventory/CurrentItems) QALIAS(INV)
  • DDEFINE QALIAS(INV) TARGET(Inventory/CurrentItems) + TARGTYPE(TOPIC)

How the community answered

(42 responses)
  • A
    74% (31)
  • B
    5% (2)
  • C
    5% (2)
  • D
    17% (7)

Community Discussion

No community discussion yet for this question.

Full C2180-374 Practice