ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 77 - MCD - Level 1 discussion

Report
Export

Refer to the exhibit. The Batch Job processes, filters and aggregates records, What is the expected output from the Logger component?

A.
[10. 20, 30. 40, 50, 60]
Answers
A.
[10. 20, 30. 40, 50, 60]
B.
[10. 20] [30, 40] [50, 60]
Answers
B.
[10. 20] [30, 40] [50, 60]
C.
[20, 40, 60]
Answers
C.
[20, 40, 60]
D.
[20. 40] [60]
Answers
D.
[20. 40] [60]
Suggested answer: D

Explanation:

* Batch scope has filter criteria which says paylod mod 2 = 0 whch means only 2, 4 and 6 will be in batch scope.

* So payload for each of these will be incremented by 10.

* Aggregator has batch size defined as 2. So it will process in batch of two records.

* Hence option 3 is correct answer.

[20,40]

[60]

Behavior with aggregator configured with fixed size

In this scenario, the batch step sends the processed records to an aggregator, which starts processing the records and buffering them until the configured aggregator's size is reached. After that, the aggregator sends the aggregated records to the stepping queue.

The batch job builds record blocks of the configured block size and sends them to their corresponding batch step for processing. Each batch step receives one or more record blocks and starts processing them in parallel. After the batch step processes a record, the batch step sends the record to the aggregator for further processing. The aggregator continues processing records until the number of aggregated records reaches the configured aggregator's size.

https://docs.mulesoft.com/mule-runtime/4.3/batch-processing-concept

asked 18/09/2024
Mitesh Patel
44 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first