MCIA - Level 1 Exam QuestionsBrowse all questions from this exam

MCIA - Level 1 Exam - Question 24


A Mule application contains a Batch Job with two Batch Steps (Batch_Step_1 and Batch_Step_2). A payload with 1000 records is received by the Batch Job.

How many threads are used by the Batch Job to process records, and how does each Batch Step process records within the Batch Job?

Show Answer
Correct Answer: B

Each Batch Job uses several threads for the Batch Steps. Each Batch Step instance receives one record at a time as the payload, and records are processed in parallel within and between the two Batch Steps. This ensures that all records are processed efficiently and concurrently, while maintaining the necessary sequence between steps, where records processed by Batch_Step_1 are subsequently processed by Batch_Step_2.

Discussion

10 comments
Sign in to comment
Pavan_NagineniOption: B
Aug 27, 2021

B. Each Batch Job uses SEVERAL THREADS for the Batch Steps Each Batch Step instance receives ONE record at a time as the payload, and RECORDS are processed IN PARALLEL within and between the two Batch Steps

rodriguescontOption: B
Jun 28, 2022

The tricky point in “A” is the statement “process records AND BATCH STEPS in ANY order” Batch Step 2 does not process a particular record before Batch Step 1.

GrumpOption: B
Dec 26, 2021

B is correct. A is not correct because for each record Batch job will end payload to step 1 before step 2. records will be processed in any order over all, however, there is a sequence maintained between batch steps.

madgeezerOption: B
Aug 4, 2022

B. Each Batch Job uses SEVERAL THREADS for the Batch Steps Each Batch Step instance receives ONE record at a time as the payload, and RECORDS are processed IN PARALLEL within and between the two Batch Steps

majda091983Option: B
Oct 25, 2022

correct answer should be B. Batch step are sequential. records are processed in parallel in each batch step

Viv2005Option: B
Nov 27, 2022

Batch job uses parallel threads so options C & D are incorrect. In batch processing step 1 is always executed first and before step 2 for a particular record. So option A is also not correct.

sanni27Option: A
Jan 12, 2022

It should be A. Because record should process sequential in batch steps. but batch steps instances will be process in parallel in several batch job thread.

_d4d_Option: B
Dec 27, 2022

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

gilofernandesOption: A
Nov 9, 2023

Each batch step instance within a batch job is typically processed in separate threads by default. This means that multiple batch step instances can be executed concurrently, each in its own thread, as long as there are enough available threads and resources.

vikas_muleOption: B
Feb 14, 2024

B, batch steps are in parallel but in order, recored processed by step1 goes to step2 and this will be in parraled with other recored of step2