Refer to the exhibits.
The Batch Job scope contains two Batch Steps scopes with different accept expression. The input payload is passed to the Batch Job scope.
After the entire payload is processed by the batch job scope , what messages have been
logged by the Logger component?
A. 1.{amount=140}
2.{amount=102}
3.{step2amount=100}
B. 1.{amount=140}
2.{amount=102}
3.{step2amount=100}
4.{step2amount=40}
C. 1.{amount=140}
2.{amount=102}
3.{step2amount=100}
4.{step2amount=140}
D. 1.{amount=140}
2.{amount=102}
3.{step2amount=100}
4.{step2amount=140}
5.{step2amount=102}
Explanation:
Lets understand this solution step by step.
1) Batch Step (Less than 50)
Accept expression for this batch step is less than 50. Hence elements which will go in this
batch step are amount value 40 and 2. Hence output of logger in first batch step is
{amount=140}
{amount=102}
2) Batch Step (Greater than 20)
Accept condition for this batch step is greater than 20. Note that input amount values for
this batch step are 100 , 140 and 102 (last two values have been updated in batch step
less than 50)
As all values satisfy this condition out put of second logger is
{step2amount=100}
{step2amount=140}
{step2amount=102}
Hence correct answer to this question is
{amount=140}
{amount=102}
{step2amount=100}
{step2amount=140}
{step2amount=102}
Refer to the exhibits.
As a mulesoft developer, what you would change in Database connector configuration to
resolve this error?
A. Configure the correct host URL
B. Configure the correct database name
C. Configure the correct table name
D. Configure the correct JDBC driver
Explanation:
Correct answer is Configure the correct JDBC driver as error message suggests the same
Caused by: java.sql.SQLException: Error trying to load driver: com.mysql.jdbc.Driver :
Cannot load class 'com.mysql.jdbc.Driver': [
Class 'com.mysql.jdbc.Driver' has no package mapping for region
'domain/default/app/mule_app'.,
Cannot load class 'com.mysql.jdbc.Driver': [
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.
What is the output type of the DataWeave map operator?
A.
String
B.
Array
C.
Map
D.
Object
Array
A function named newProdCode needs to be defined thataccepts two input parameters, an
integer value for itemID and a string value for productCategory, and returns a new product
code. What is the correct DataWeave code to define the newProdCode function?
A.
fun newProdCode{itemID: Number, productCategory: String) —> "PC-" ++
productCategory ++ (itemID as String)
B.
fun newProdCode(itemID: Number, productCategory: String) = "PC-" ++
productCategory ++ (itemID as String)
C.
function newProdCode(itemID: Number, productCategory: String) =
"PC-" ++ productCategory++ (itemID as String)
D.
var newProdCode(itemID: Number, productCategory: String) ->
"PC-" ++ productCategory ++ (itemID as String)
fun newProdCode(itemID: Number, productCategory: String) = "PC-" ++
productCategory ++ (itemID as String)
Refer to the exhibit.
In the execution of the Scatter-Gather, the "steep 1 sec" Flow Reference takes about 1
second to complete, and the "sleep 5 sees" Row Reference takes about 5 secondsto
complete.
About how many seconds does it take from the time the Scatter-Gather is called until the
Set Payload transformer is called?
A.
0
B.
1
C.
5
D.
6
5
A REST connect module is generated for a RAML specification. and then the rest connect module is imported in mule application in Anypoint Studio. For each method of the RAML specification , what does the REST connect module provide?
A. A scope
B. A flow
C. An operation
D. An event source
Explanation:
Correct answer is an operation. For each method of the RAML specification , REST
connect module provide an operation.
Please refer to the below screenshot.
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 |