Refer to the payload.
The Set payload transformer sets the payload to an object. The logger component's
message attribute is configured with the string "Result #["INFO"++ payload]"
What is the output of logger when this flow executes?
A. Result INFOpayload
B. Result INFO{"student":{"name":"Anay","age":6}}
C. 1. 1. "You called the function '++' with these arguments:
2. 2. 1: String ("INFO")
3. 3: Object ({student: {name: "Anay" as String {class: "java.lang.String"},age: 6 as
Numbe...)
D. Error : You evaluated inline expression # without ++
Explanation:
Correct answer is as below as concatenation operation works only with string and not with
the objects. In this case payload is object.
"You called the function '++' with these arguments:
1: String ("INFO")
2: Object ({student: {name: "Anay" as String {class: "java.lang.String"},age
There are three routes configured for Scatter-Gather and incoming event has a payload is an Array of three objects. How routing will take place in this scenario?
A. Incoming array objects would be split into three and each part would be sent to one route each in sequential manner
B. Incoming array objects would be split into three and each part would be sent to one route each in parallel
C. Entire event would be sent to each route sequentially
D. Entire event would be sent to each route in parallel
Explanation:
Entire event would be sent to each route in parallel.
Scatter-Gather works as follows :
- The Scatter-Gather component receives a Mule event and sends a reference of this Mule
event to each processing route.
- Each of the processing routes starts executing in parallel. After all processors inside a
route finish processing, the route returns a Mule event, which can be either the same Mule
event without modifications or a new Mule event created by the processors in the route as
a result of the modifications applied.
- After all processing routes have finished execution, the Scatter-Gather component
creates a new Mule event that combines all resulting Mule events from each route, and
then passes the new Mule event to the next component in the flow.
Refer to the exhibits.
All three of the conditions for the Choice router are true. What messages are written in the
application log?
A. Route1
B. Route2
C. Route1,Route2
D. Route1,Route2,Default
Only one of the routes in the Choice router executes, meaning that the first expression that
evaluates to true triggers that route1 execution and the others are not checked. If none of
the expressions are true, then the default route executes. Hence only Route1 will be
executed as it is the first expression. hence output of logger is Route1.
MuleSoft Doc Ref : https://docs.mulesoft.com/mule-runtime/4.3/choice-router-concept
The Choice router dynamically routes messages through a flow according to a set of
DataWeave expressions that evaluate message content. Each expression is associated
with a different routing option. The effect is to add conditional processing to a flow, similar
to an if/then/else code block in most programming languages.
Only one of the routes in the Choice router executes, meaning that the first expression that
evaluates to true triggers that route’s execution and the others are not checked. If none of
the expressions are true, then the default route executes.
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 Utility.dwl file is located in a Mule project at src/main/resources/modules. The Utility.dwl hie defines afunction named pascalize that reformats strings to pascal case. What is the correct DataWeave to call the pascalize function in a Transform Message component?
A.
Option A
B.
Option B
C.
Option C
D.
Option D
Option B
Refer to the exhibit.
What is the correct syntax to add an employee ID as aURI parameter in an HTTP Listener
path?
A.
(employeelD)
B.
${emp!oyeelD}
C.
{employeelD}
D.
# [employeelD]
{employeelD}
Refer to the exhibit. The Batch Job processes, filters and aggregates records, What is the
expected output from the Logger component?
A.
[10. 20, 30. 40, 50, 60]
B.
[10. 20] [30, 40] [50, 60]
C.
[20, 40, 60]
D.
[20. 40] [60]
[20. 40] [60]
A Mule application configured with Autodiscovery implements an API. Where is governance enforced for policies defined for this Mule application?
A. In Runtime Manager
B. Runtime Manager
C. In the Mule application
D. In API manager
| Page 1 out of 29 Pages |