Exam MCD - Level 1 All QuestionsBrowse all questions from this exam
Question 83

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?

    Correct Answer: B

    The batch job first filters out 'b' from the array ['a', 'b', 'c', 'd', 'e'], leaving ['a', 'c', 'd', 'e']. Then, it transforms the remaining elements to uppercase, resulting in ['A', 'C', 'D', 'E']. The batch aggregator processes the records in groups of three. The first aggregation will be ['A', 'C', 'D'], and the second aggregation will be ['E']. Since the question asks for the last message logged by the Logger component, the correct answer is ['E']. Therefore, the last message logged by the Logger component is 'E'.

Discussion
almoraimaOption: B

Option B is correct

ZumoOption: B

I've written the exact Code. Following are the the two Outputs Payload:[A, C, D] Payload:[E] Question asks "What is the last message logged by the Logger component after the batch job completes processing". So it print 'E'. Correct answer would be Option B.

jpbatis

This question was confused.

AaishOption: A

A is correct

AnsealOption: A

It should be [ [A, C, D] [E] ], so option A is correct

mubashirhassan2030

A. [ ['A', 'C', 'D'], ['E'] ] B. [ 'E' ] C. [ 'D', 'E' ] D. [ 'A', 'C', 'D', 'E' ]

Ella_ZOption: D

I dont understand where is the ""b", why the answer only have a.c.d, without b ?

HonestSeeker

That is because the accept expression is written such that it will accept all values except 'b'

DineshsinghalOption: A

A is correct

ExamDevOption: B

B is correct. First will process A, B, C, and then second process C (look at the aggregator) batch step by 3 elements

ExamDev

Also we got expression not contains "B" so it skip the "B"

rduarte22Option: B

It's B

HonestSeekerOption: B

agree with B

HonestSeekerOption: A

@Moderator, please set the correct answer to this question. It is definitely not D.

miguel_romeroOption: B

Option B is correct