ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 78 - MCD - Level 1 discussion

Report
Export

Refer to the exhibits.

The input array of strings is processed by the batch job that processes, filters, and aggregates the values. What is the last message logged by the Logger component after the batch job completes processing?

A.
[ ['A', 'C', 'D' ], ['E'] ]
Answers
A.
[ ['A', 'C', 'D' ], ['E'] ]
B.
[''E'']
Answers
B.
[''E'']
C.
[''D', 'E']
Answers
C.
[''D', 'E']
D.
[ 'A', 'C, 'D', 'E' ]
Answers
D.
[ 'A', 'C, 'D', 'E' ]
Suggested answer: B

Explanation:

Logs would look like:

INFO 2021-06-09 19:14:56,039 [[MuleRuntime].uber.06: [validationtest].batch-job-validationtestBatch_Job-work-manager @6de10f3e] [processor: validationtestFlow/processors/1/route/0/route/0/aggregator/processors/0; event: bfb751e1-9939-11eb-9f69-02053763653a] org.mule.runtime.core.internal.processor.LoggerMessageProcessor:

[

''\''A\'''',

''\''C\'''',

''\''D\''''

]

----

INFO 2021-06-09 19:15:02,486 [[MuleRuntime].uber.06: [validationtest].batch-job-validationtestBatch_Job-work-manager @6de10f3e] [processor: validationtestFlow/processors/1/route/0/route/0/aggregator/processors/0; event: bfb751e1-9939-11eb-9f69-02053763653a] org.mule.runtime.core.internal.processor.LoggerMessageProcessor: [

''\''E\''''

]

Batch aggregator value is 3. Hence in first time it will print[''A'', ''C'', ''D'']and in next iteration it will print[ ''E'' ]

--------------------------------------------------------------------------------------------------------------------------------------------------

Correct answer is[ ''E'' ]

asked 18/09/2024
Michel van Klaveren
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first