Module 12 -Trigger Flows - Quiz

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

A Flow Reference component sends a non-empty JSON object payload to another flow named childFlow, which then returns an XML body. A Flow Reference component saves the payload returned from childFlow to its target attribute named payload. Refer to the exhibit. What is true about the Mule event's payload at the next event processor after the Flow Reference component? A. The payload is the XML response body B. The payload is a non-empty Java object C. The payload is the original JSON object D. The payload is null

Answer : c Concept : Target Variable --------------------------------- It is important to understand that setting a target variable changes the typical course of the message through the flow. Normally, an operation outputs a different message than it receives as input. However, when you set a variable from an operation, the operation outputs to the next component in the flow the same message that it received as input. For example, assume you have a flow consisting of component A, followed by component B with a target value of myMessage, and then component C. In this case, component C will receive the same message that B received from A.

2 Refer to the exhibit. What is the object type returned by the File List operation? A. Array of Mule event objects B. Object of Mule event objects C. Array of String file names D. Object of String file names

a

4. Assume that a database table contains a recordID column that always increases as new records get added to the table. In a Mule application, what is the key process to enable manual watermarking for requests to a database using the Scheduler endpoint and the Database SELECT operation? A. Save the max recordID from the set of recordIDs in an ObjectStore and reference this recordID in subsequent database requests B. Enable automatic watermarking in the Database Select operation C. Set the Watermark column in the Scheduler endpoint to the recordID D. Save the max recordID from the set of recordIDs in a variable and reference this variable in subsequent database requests

a

3. In the Database On Table Row operation, what does the Watermark column enable the On Table Row operation to do? A. To save the most recent records retrieved from a database to enable database caching B. To avoid duplicate processing of records in a database C. To enable multithreaded event processing for each record retrieved from a database D. To save the payload into the ObjectStore for future reference

b

5 A flow has a JMS Publish consume operation followed by a JMS Publish operation. Both of these operations have the default configurations. Which operation is asynchronous (does not wait for a response before continuing to the next event processor) and which operation is synchronous (blocks and waits for a response or timeout before continuing to the next event processor)? A. Publish consume: Asynchronous. Publish: Synchronous B. Publish consume: Asynchronous. Publish: Asynchronous C. Publish consume: Synchronous. Publish: Asynchronous D.Publish consume: Synchronous. Publish: Synchronous

c


Set pelajaran terkait

PreAP Psychology- States of Consciousness

View Set

RPH (Spanish Settlement - Under Spanish Rule)

View Set

Vocabulary Workshop Level D Unit 9 & 10

View Set

CompTIA A+ Cert Master 1.3 Mobile Devices Study

View Set

Protestant Reformation & Religious Wars

View Set

Psychology Module 2, Independent Variable

View Set