How are query parameters dynamically passed to an outbound REST request using an HTTP Request operation?
A. As query parameters in the HTTP Request operation
B. As URI parameters in the HTTP Request operation
C. In the Mule event's payload
D. As flow variables
Explanation:
In General > Request > Query Parameters, click the plus icon (+) to add a parameter to a
request. Type a name and value for the parameter or use a DataWeave expression to
define the name and value.
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
Refer to exhibits.
What message should be added to Logger component so that logger prints "The city is
Pune" (Double quote should not be part of logged message)?
A. #["The city is" ++ payload.City]
B. The city is + #[payload.City]
C. The city is #[payload.City]
D. #[The city is ${payload.City}
Explanation:
Correct answer is The city is #[payload.City]
Answer can get confused with the option #["The city is" ++ payload.City] But note that this
option will not print the space between is and city name. This will print The city isPune.
An organization's Center for enablement (C4E)has built foundational assets (API
specifications and implementation templates, common frameworks, and best practices
guides) and published them to Anypoint Exchange.
What is a metric related to these foundational assets that helps the organization measure
the success of it's C4E efforts?
A. Utilization counts of foundational assets in production applications
B. Correlation of each foundational asset with the counts of developers that download such asset
C. Correlation of key performance indicators (KPI) of production applications with foundational assets
D. Count how many Lines Of Business (LoBs) onsumed each foundational asset
Explanation:
Below are the Key performance indicators (KPIs), to measure and track the and success of
the C4E and its activities, as well as the growth and health of the application network. Most
of the metrics can be extracted automatically, through REST APIs, from Anypoint Platform.
• # of assets published to Anypoint Exchange
• # of interactions with Anypoint Exchange assets
• # of APIs managed by Anypoint Platform
• # of System APIs managed by Anypoint Platform
• # of API clients registered for access to APIs
• # of API implementations deployed to Anypoint Platform
• # of API invocations
• # or fraction of lines of code covered by automated tests in CI/CD pipeline
• Ratio of info/warning/critical alerts to number of API invocations
A Mule application contains an ActiveMQ JMS dependency. The Mule application was
developed in Anypoint Studio and runs successfully in Anypoint Studio.
The Mule application must now be exported from Anypoint Studio and shared withanother
developer. What export options create the smallest JAR file that can be imported into the other
developer's Anypoint Studio and run successfully
A.
Option A
B.
Option B
C.
Option C
D.
Option D
Option B
What is output of Dataweave flatten function?
A. Object
B. Map
C. Array
D. LInkedHashMap
Explanation:
Correct answer is Array.
Flatten turns a set of subarrays (such as [ [1,2,3], [4,5,[6]], [], [null] ]) into a single, flattened
array (such as [ 1, 2, 3, 4, 5, [6], null ]).
This example defines three arrays of numbers, creates another array containing those
three arrays, and then uses the flatten function to convert the array of arrays into a single
array with all values.
Source
%dw 2.0
output application/json
var array1 = [1,2,3]
var array2 = [4,5,6]
var array3 = [7,8,9]
var arrayOfArrays = [array1, array2, array3]
---
flatten(arrayOfArrays)
Output
[ 1,2,3,4,5,6,7,8,9 ]
Refer to the exhibits. A company has defined this Book data typeand Book example to be
used in APIs. What is valid RAML for an API that uses this Book data type and Book
A.
Option A
B.
Option B
C.
Option C
D.
Option D
Option D
Refer to the exhibits.
A.
Option A
B.
Option B
C.
Option C
D.
Option D
Option A
| Page 1 out of 29 Pages |