Refer to the exhibits.

The Mule application does NOT define any global error handlers. The Validation component in the private flow throws an error. What response message is returned to a web client request to the main flow's HTTP Listener?
A. Child error
B. Parent error
C. Validation Error
D. Parent completed
Which of the below is not a valid category for connector type?
A. Gold
B. Select
C. Premium
D. Community
Gold is not valid category for connector types.

Refer to theexhibits.
A Mule application has an HTTP Request that is configured with hardcoded values. To
change this, the Mule application is configured to use a properties file named config.yaml.
what valid expression can the HTTP Request host value be set to so that it is no longer
hardcoded?
A.
${training.host}
B.
${training:host}
C.
#[training:host]
D.
#[training.host]
${training.host}
Refer to the exhibits.
In the choice router, the When expression for the domestic shipping
route is set to "#[payload= "FR"]".
What is the output of logger after the execution of choice router is completed?
A. "Domestic"
B. "International"
C. "US"
D. A dataweave syntax error
To compare, DataWeave syntax is #[payload == "FR"]. In this case only one = is used so it will give syntax error.
Which keyword do you use to create a new function in DataWeave?
A. function
B. fun
C. func
D. map
Explanation:
You can define your own DataWeave functions using the fun declaration in the header of a
DataWeave script. Sample is as below. ----------------------------------------
%dw 2.0
output application/json
fun toUpper(aString) = upper(aString)
---
toUpper("hello")
MuleSoft Doc Ref : https://docs.mulesoft.com/mule-runtime/4.1/dataweave-functions
What DataWeave expression transforms the array a to the XML output?

A. 1.1. trains:
2.2. {(
3.3. a map ((engId, index) ->
4.4. train: {
5.5. TrainNumber: engId
6.6.
7.7. }
8.8. )
9.9. )}
B. 1.1. trains:
2.2. a map ((engId, index) ->
3.3. train: {
4.4. TrainNumber: engId
5.5.
6.6. }
7.7. )
C. 1.1. {(
2.2. trains:
3.3. a map ((engId, index) ->
4.4. train: {
5.5. TrainNumber: engId
6.6.
7.7. }
8.8. )
9.)}
D. 1.1. {
2.2. trains:
3.3. a map ((engId, index) ->
4.4. train: {
5.5. TrainNumber: engId
6.6.
7.7. }
8.8. )
9.}
Explanation:
For such questions always look for Syntax:
I call it "Wrap the Map" trains:
{(
When mapping array elements (JSON or JAVA) to XML, wrap the map operations in {(..)}
-{ } are defining the object
-( ) are transforming each element in the array as a key/value pair
A Mule project contains a DataWeave module called MyModule.dwl that defines a function named formatString. The module is located in the project's src/main/resources/modules folder. What is the correct way in DataWeave code to import MyModule using a wildcard and then call the module's formatString function?

A. Option A
B. Option B
C. Option C
D. Option D
What is the correct syntax todefine and call a function in Database? 
A.
Option A
B.
Option B
C.
Option C
D.
Option D
Option A
| Page 1 out of 29 Pages |