What is the difference between a subflow and a sync flow?
A. No difference
B. Subflow has no error handling of its own and sync flow does
C. Sync flow has no error handling of its own and subflow does
D. Subflow is synchronous and sync flow is asynchronous
Explanation:
Correct answer is Subflow has no error handling implementation where as sync flow has Subflow:
A subflow processes messages synchronously (relative to the flow that triggered its
execution) and always inherits both the processing strategy and exception strategy
employed by the triggering flow. While a subflow is running, processing on the triggering
flow pauses, then resumes only after the subflow completes its processing and hands the
message back to the triggering flow.
Synchronous Flow:
A synchronous flow, like a subflow, processes messages synchronously (relative to the
flow that triggered its execution). While a synchronous flow is running, processing on the
triggering flow pauses, then resumes only after the synchronous flow completes its
processing and hands the message back to the triggering flow. However, unlike a subflow,
this type of flow does not inherit processing or exception strategies from the triggering flow.
This type of flow processes messages along a single thread, which is ideally suited to
transactional processing.
A Mule flow has three Set Variable transformers. What global data structure can be used to
access the variables?
A.
Mule event attributes
B.
Mule event message
C.
Mule application properties
D.
Mule event
Mule event
In an application network. If the implementation but not the interface of a product API
changes, what needs to be done to the other APIs that consume the product API?
A.
The applicationsassociated with the other APIs must be restarted
B.
The applications associated with the other APIs must be recoded
C.
The other APIs must be updated to consume the updated product API
D.
Nothing needs to be changed in the other APIs or their associated applications
Nothing needs to be changed in the other APIs or their associated applications
Which of the below activity doesn't support parallel execution?
A. Scatter-Gather Router
B. First Successful Router
C. Parallel For Each
D. Batch job
Refer to the exhibits.
Client sends the request to ClientRequestFlow which calls
ShippingFlow using HTTP Request activity.
During E2E testing it is found that that HTTP:METHOD_NOT_ALLOWED error is thrown
whenever client sends request to this flow.
What attribute you would change in ClientRequestFlow to make this implementation work
successfully?
A. Change the method attribute value to "*’’
B. Change the path attribute value to "/api/ship"
C. Change the allowed method attributes value to "POST"
D. Change the protocol attribute value to "HTTPS"
Explanation:
Correct answer is Change the method attributes value to "POST".
It can be fixed in either of the two ways as below.
1) Changing method attribute to POST in ClientRequestFlow
2) Setting allowedMethods as PUT in ShippingFlow (but doesn't fit as question mentions
about changing ClientRequestFlow)
How are multiple conditions used in a Choice router to route events?
A. To route the same event to the matched route of EVERY true condition
B. To find the FIRST true condition, then distribute the event to the ONE matched route.
C. None of these
D. To find the FIRST true condition, then route the same event to the matched route and ALL FOLLOWING routes
Explanation:
Choice router finds the FIRST true condition, then distribute the event to the ONE matched
route.
MuleSoft Doc Ref : https://docs.mulesoft.com/mule-runtime/4.1/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.
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 DataWeavecode 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
Option D
Refer tothe exhibit.The Mule application Is debugged in Any point Studio and stops at the breakpoint What is
the value of the payload displayed In the debugger at this breakpoint?
A.
0
B.
"Processing"
C.
"Start"
D.
Complete"
"Start"
Page 1 out of 29 Pages |