Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam MCIA - Level 1 topic 1 question 24 discussion

Actual exam question from Mulesoft's MCIA - Level 1
Question #: 24
Topic #: 1
[All MCIA - Level 1 Questions]

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?

  • A. Each Batch Job uses SEVERAL THREADS for the Batch Steps Each Batch Step instance receives ONE record at a time as the payload, and BATCH STEP INSTANCES execute IN PARALLEL to process records and Batch Steps in ANY order as fast as possible
  • 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
  • C. Each Batch Job uses a SINGLE THREAD for all Batch Steps Each Batch Step instance receives ONE record at a time as the payload, and RECORDS are processed IN ORDER, first through Batch_Step_1 and then through Batch_Step_2
  • D. Each Batch Job uses a SINGLE THREAD to process a configured block size of record Each Batch Step instance receives A BLOCK OF records as the payload, and BLOCKS of records are processed IN ORDER
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
Reference:
https://docs.mulesoft.com/mule-runtime/3.8/batch-processing

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
vikas_mule
2 months, 1 week ago
Selected Answer: B
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
upvoted 1 times
...
gilofernandes
5 months, 2 weeks ago
Selected Answer: A
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.
upvoted 1 times
...
_d4d_
1 year, 4 months ago
Selected Answer: B
https://docs.mulesoft.com/mule-runtime/4.3/batch-processing-concept
upvoted 1 times
...
Viv2005
1 year, 5 months ago
Selected Answer: B
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.
upvoted 2 times
...
majda091983
1 year, 6 months ago
Selected Answer: B
correct answer should be B. Batch step are sequential. records are processed in parallel in each batch step
upvoted 2 times
...
madgeezer
1 year, 8 months ago
Selected Answer: B
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
upvoted 2 times
...
rodriguescont
1 year, 10 months ago
Selected Answer: B
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.
upvoted 3 times
...
sanni27
2 years, 3 months ago
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.
upvoted 1 times
...
Grump
2 years, 4 months ago
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.
upvoted 2 times
...
Pavan_Nagineni
2 years, 8 months ago
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
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...