nerdexam
MuleSoft

MCD-LEVEL-1 · Question #42

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

The correct answer is D. [20. 40] [60]. Batch scope has filter criteria which says paylod mod 2 = 0 whch means only 2, 4 and 6 will be in 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…

Batch Processing

Question

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

Exhibit

MCD-LEVEL-1 question #42 exhibit

Options

  • A[10. 20, 30. 40, 50, 60]
  • B[10. 20] [30, 40] [50, 60]
  • C[20, 40, 60]
  • D[20. 40] [60]

How the community answered

(29 responses)
  • A
    3% (1)
  • B
    7% (2)
  • C
    14% (4)
  • D
    76% (22)

Explanation

  • Batch scope has filter criteria which says paylod mod 2 = 0 whch means only 2, 4 and 6 will be in * 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. 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 aggregated records reaches the configured aggregator's size. https://docs.mulesoft.com/mule-runtime/4.3/batch-processing-concept

Topics

#Batch Job#Batch Step#filtering#record aggregation

Community Discussion

No community discussion yet for this question.

Full MCD-LEVEL-1 Practice