mcd-level-1 question 86 discussion

View all MuleSoft Certified Developer - Level 1 (Mule 4) Exam here
back to mulesoft forum

Question 86

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"] ]
  • B. [''E'']
  • C. [''D", "E"]
  • D. [ "A", "C, "D", "E" ]
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 ]

User Votes:
A 1 votes
50%
B 2 votes
50%
C
50%
D
50%
Discussions
0 / 1000
leoneldornelesporto
1 year, 2 months ago

Answer correct is .A