C2180-376 - IBM WebSphere MQ V7.0, Solution Design
Go back to IBM
A weather bureau plans to offer a service to its customers whereby they can receive weather station information (e.g. temperature, humidity) up to one year old. Customer applications should be able to select from which region they want to get datA. What is the best way of implementing such a solution?
Store information in a database and access it using a request-reply pattern
In designing a solution with availability in mind, the designer is considering the following two alternatives, one using a cluster queue and the other using a shared queue. In each scenario, Queue Managers QMA and QMB will both be capable of running Application A. In the first scenario, Application A will run on QMA and QMB on Windows accessing cluster queue QA. In the second scenario, Application A will run on QMA and QMB on z/OS accessing shared queue QA. Which of the following describes the availability scenarios in the situation where QMA fails?
For z/OS, the delivered messages on QA that Application A on QMA did not get to process are available for processing by Application A on QMB
Which of the following should generally be avoided if an application is being designed for optimal efficiency?
Bundle the data to be transmitted into as few messages as possible (e.g., rather than sendinga hundred 1MB messages, send one 100MB message).
A bus company is implementing a solution which will display in real-time the arrival information of the next bus on the bus stop sign. Each bus is sending information about its position at regular intervals. What is the best way of implementing this solution given that there is limited bandwidth for communication? The bus stop sign:
subscribes to messages published by the bus
The business wants to alert administrators and business owners to any service disruptions as soon as possible. This is to include any applications that receive request messages on input queues and have to respond to them as quickly as possible. The ideal solution will not introduce significant overhead to the environment. The WebSphere MQ solution designer is asked to evaluate the available features in WebSphere MQ that can be used to address this requirement. Which of the following is the most responsive mechanism to address outages as soon as they develop?
Queue service interval events
An organization has a widely distributed online environment, where applications are connected via WebSphere MQ messaging. A business requirement is brought forward that the delivery of certain persistent mission critical datagram messages needs to be recorded in a central location. The delivery information must not be lost. The mechanism used must not be dependent on cooperation of the receiving applications. Which of the following designs will meet these requirements?
In the MQMD of the messages in question, COD and EXCEPTION reports will be requested;the Reply-to queue fields point at a queue on a central queue manager reserved for thispurpose.
A WebSphere MQ application needs to connect to multiple Queue Managers at the same time. In which environment(s) is this an option?
(A) and (C)
A solution developer needs to promote newly developed applications from the development environment through the user acceptance test environment and into the production environment. Which of the following will best avoid issues with naming conventions for application-owned permanent queues?
The names should be identical across the various environments, so that no changes to applications or object definitions between queue managers are required during promotion.
A bus company is implementing a solution which will display in real-time all bus positions on a central dashboard. Each bus is transmitting position information at regular intervals. What is the best way of implementing this solution given that there is limited bandwidth for communication?
Each bus sends a message to a central queue which is read by the dashboard application
A company needs to send state information to many recipients. The recipients will change over time, and they only want to receive the latest data if and when they need it. Which of the following most closely satisfies the requirements and is most efficient for the subscriber?
Retained publications and use of MQSUBRQ
The current depth of the SYSTEM.CLUSTER.TRANSMIT.QUEUE has not dropped below a certain number for several hours. Which of the following can be used to determine the channel(s) for which these messages are destined?
A DISPLAY CHSTATUS command where XQMSGSA is greater than zero.
A publish/subscribe application is being designed. The requirements are that the published information should not be lost or expire. The subscriber application will connect periodically during the day to process the publications. Which publish/subscribe feature(s) are most appropriate for this type of application?
Business owners want to allow an existing application to be easily portable to any of four Linux servers in their data center. For this they want the four queue managers on these servers to be changed to have the same name. What must be the response of the WebSphere MQ Solution Designer?
It is possible to define queue managers with identical names in a network, but it is not recommended.
Which one of the following statements is true about the use of message properties and message selectors?
Message selectors are specified in MQOPEN and MQSUB calls to filter out unwantedmessages.
In a distributed environment, an application that periodically loads large numbers of persistent messages on to a queue is doing so under syncpoint control and issues a commit only after a number of messages have been put. While this application worked perfectly in test environments, there are frequently problems in the production environment. In addition to this new application, several previously unproblematic applications also experience failures such as reason codes MQRC_RESOURCE_PROBLEM or MQRC_BACKED_OUT. Which of the following is the best recommendation to remedy this problem?
Increase the log space allocation of the affected queue manager.
In a centralized queuing environment, a batch program is processing a file, and putting the transactions onto a queue for processing within syncpoint control. The batch program is experiencing issues, and a support resource is contacted to investigate. Which of the following is NOT a likely cause of the issues?
Because the real-time non-persistent messages are mixed in with the batch transactions onthe queue, the circular logs are filling up and writing over each other.
While trying to get messages from its input queue a program is receiving notification that no messages are available. However, the queue depth indicates that there are messages on the queue. Which of the following are possible explanations for this?
Messages have been put to the queue by another program, but have not been committed yet.
The program is specifying a particular MsgId or CorrelId that does not match any messagescurrently on the queue.
Which of the following best explains under which circumstances synchronous put can be useful for a client application?Which of the following best explains under which circumstances ?synchronous put? can be useful for a client application?
The designer wants to improve the performance of puts, and the application does not needimmediate confirmation that the put was successful.
An application queue is triggered for trigger type of DEPTH. Following this, what action should the job or program that was started as a result of the trigger take before it ends, so that the queue will be triggered again the next time that trigger depth (TRIGDPTH) is reached?
It needs to use MQSET or an ALTER QLOCAL command to reset triggering (TRIGGER) for the queue.
An application is being designed which will send updates about customers to different applications. Given the sensitive nature of the data, the sending application needs to manage which applications receive the datA. Which of the following is the best solution to ensure this?
Each application should have its own queue on which it will listen for updates
A client application is subscribing to as many as five different topics (no wildcards are possible). Given that the number of client applications may vary and subscriptions are not durable, what is the best option for creating a subscription?
Create a temporary dynamic queue and call MQSUB for each topic.
An application receives messages created on Windows workstations and, after doing transformations, forwards them to a target system running on z/OS. There is a requirement for passing the original username, but information about the date and time associated with the message should be set by the forwarding application. What is the best way of doing this?
Use MQPMO_DEFAULT_CONTEXT on Windows andMQPMO_PASS_IDENTITY_CONTEXT in forwarding application
A manufacturing company is looking to provide its customers an online version of its order maintenance application. Customers will be able to check status, update the order, or delete the order. The existing solution is currently WebSphere MQ based, and the online interface will have strict performance requirements. If the customer updates or deletes an order, the message cannot be lost. Which one of the following solutions will BEST meet the requirements stated?
Design the query and modify operations to use nonpersistent and persistent messages respectively, and utilize two phase commit only where Necessary
Which of the following is NOT a generally recommended best practice for naming conventions?
Queue and channel names should be limited to less than 24 characters because of platformportability concerns.
A company utilizes virtualization technologies and frequently moves workloads between servers and data centers. A WebSphere MQ solution designer is attempting to plan the MQ naming standards, and wants to provide for the greatest level of architectural flexibility and portability. Which of the following is NOT a recommended best practice to meet these goals?
Use a configuration file for the application which contains the environment specific queuenames.
A company is embracing SOA and wants to catalog their WebSphere MQ applications as services in a Web Services registry. They are planning to use the WebSphere MQ Service Definition specification (SupportPac MA93) with WebSphere MQ V188.8.131.52. Which of the following are true about the specification and its use?
Message persistence is appropriate information in the service definition
The WebSphere MQ Explorer supports the creation of service definition WSDLs
A company has an existing point to point application written in C that distributes delivery status to queue Q1. They want to change the distribution to publish/subscribe so that other applications can subscribe to the delivery status information. Which of the following ways of changing to WebSphere MQ publish/subscribe will work with the least recoding?
Set up a queue alias for Q1 that is an alias for a subscription topic
Which one of the following WebSphere MQ Bridge for HTTP verbs is most similar to the MQI MQGET call with default MQGMO options?
Which of the following contains the best mix of items to utilize in a queue name?
Application Identifier, Function
A solution designer is considering writing a base WebSphere MQ client application, and needs to ensure that after the message is taken off the queue, the message is not lost if the transaction fails. Which one of the following should be used?
Utilize the MQGMO_SYNCPOINT option to process within syncpoint
A company is in the midst of a large SOA transformation initiative, and is looking to utilize Web Services protocols wherever possible. A solution designer would like to leverage the existing WebSphere MQ infrastructure and skills. The solution designer is instructed to provide guidance regarding platform coverage. Which of the following best meets both requirements and will allow the company to utilize a SOAP stack to process SOAP/MQ messages?
z/OS supported UNIX and Windows systems
An organization uses WebSphere MQ V6 client interfaces extensively for non-critical processing. The line of business announces that an increase in transaction rates will be required soon, when a new set of clients will need to be serviced. The application suite has been performing up to expectations so far, but the new requirements will be problematic in the current environment. Which of the following new features of WebSphere MQ V7.0 can potentially be used to improve throughput for the above scenario?
WebSphere MQ V7.0 Clients can be configured to pool connections, to send messages without waiting for acknowledgement from the queue manager, and to asynchronously receive and cache incoming messages, before they have been requested by the receiving applications.
An application creates documents in PDF format, which are subsequently transmitted via WebSphere MQ to a number of other servers in the network. Each server runs its own queue manager. The documents received by some servers are consistently corrupted, whereas on other servers the documents are intact. Other message traffic seems unaffected. What is the most likely source of this problem?
The affected servers run different CCSIDs from the servers creating the documents and the message descriptor specifies MQMD.Format as QSTR? causing message conversion.?QSTR? causing message conversion.
An application is replying to a request message, which has properties associated with it. What is the preferred way of creating a reply message?
Use action indicator in MQPMO and MQPMO_MD_FOR_OUTPUT_ONLY in the MQPUT options.
An organization has a widely distributed online environment, where applications are connected via WebSphere MQ messaging. A business requirement is brought forward that certain mission critical applications record audit trail data which is to be collected in a central location. No information can be lost. A central data warehouse must be loaded daily with this information as soon as possible after end of business. Which of the following proposed solutions is best in terms of the requirement, reliability and overall performance? The audit trail data is:
sent as a persistent WebSphere MQ message and forwarded to the queue manager of the central server asynchronously.
Which one of the following is NOT a valid verb for the WebSphere MQ Bridge for HTTP?
Which new feature in WebSphere MQ V7.0 needs to be taken into account when WebSphere MQ solutions are deployed into mixed z/OS and distributed environments?
The use of WebSphere MQ Explorer for the administration of z/OS based queue managers no longer requires a license for the Client Attachment Feature (CAF) for a limited number of users.
There is a requirement for a failover mechanism as part of an application to be deployed on Sun servers. The organization has standardized on Veritas Cluster Server to manage failover on the machines. What should be considered when designing the solution?
State data needed by the application for recovery after a failure needs to be on shared disks.
A suite of server applications is to be designed to support the graceful shutdown capabilities of WebSphere MQ implemented via the ail ifA suite of server applications is to be designed to support the graceful shutdown capabilities of WebSphere MQ implemented via the mail if quiescing feature. Which of the following best describes the use of this feature?
Using FAIL_IF_QUIESCING options where valid with MQI calls, an application can finalize MQ processing, avoiding loss of data, before the queue manager is shut down.
A designer is asked to explain the scope of message encryption provided by the SSL support in WebSphere MQ. Which of the following is the most accurate?
Messages are encrypted by the sending channel agent and decrypted by the receiving channelagent
WebSphere MQ clusters are sometimes positioned to provide high availability for backend services. For many use cases this works well; but which concern may make this solution unacceptable in some cases?
In the event of a server outage messages already queued will be delayed until the server canbe restarted.
A solution designer is looking to implement a robust failover mechanism as part of a solution, and has decided on utilizing HACMP on AIX. What must be considered when designing the application?
Application log and state information should be stored on shared disk.
While planning for a new application, the performance of nonpersistent messages sent through message channels is being discussed. If the messages will be sent through channels with NPMSPEED(FAST), which of the following BEST describes the effect this will have?
Nonpersistent messages can be made available by the receiver channel more quickly, but theycan be discarded if they cannot be delivered.
An application is required to retrieve rows from a relational database table and send them across WebSphere MQ to a remote queue manager, where a receiving application consumes them. After a successful MQPUT of a message, the corresponding row is to be deleted from the database. It is intended to run this application using the free WebSphere MQ Client. The delivery of each message is to be guaranteed. Which of the following is true about this implementation?
This solution can be implemented using the free WebSphere MQ Client, provided that the receiving application can recognize and handle repeated delivery of the same message.
A solution designer is using the DEFPSIST attribute on the queue definition to determine message persistence. Queue Manager QMA has a QREMOTE queue defined that points to a QALIAS definition on Queue Manager QMB, which in turn names a QLOCAL queue as its TARGET. If an application puts a message to the QREMOTE on Queue Manager QMA, which of the queue definitions will control the persistence of the message?
The QREMOTE on QMA
A company needs to improve availability of client connections for its distributed applications. Which one of the following is a true statement about a new option or capability of WebSphere MQ V7.0 that could improve availability?
There is a new maximum instance channel limit that can catch a client application instancethat is attempting to use an excessive number of channel connections
A company has a large network of WebSphere MQ clustered queue managers that span multiple applications. When migrating such a cluster to a new version, which one of the following is a good practice?
Perform a staged migration, in which queue managers are migrated one at a time.
What is a particular advantage of designing a publish/subscribe application to use a managed subscription, when the subscription type is non-durable?
The temporary dynamic queue used for the subscription will be deleted, along with anymessages on it, when the subscribing applicationThe temporary dynamic queue used for thesubscription will be deleted, along with any messages on it, when the subscribing application'connection is closed. The temporary dynamic queue used for the subscription will not bedeleted by the queue manager until the current depth of the queue is zero.
A solution designer is considering different API options for a new WebSphere MQ application. Only IBM supported WebSphere MQ programming options should be considered. Which one of the following is not supported by IBM?
A company is implementing a new solution on HP-UX that will send orders to the Order Processing system, which is a WebSphere MQ application on the mainframe. Which of the following configurations for the new solution on HP-UX provides the function needed for this scenario? The solution on HP-UX would run:
as a client or full server, using either the WebSphere MQ client or a full WebSphere MQ serveron HP-UX to access the Order Processing system.