Salesforce Certified Integration Architect — Question 64
A customer imports data from an external system into Salesforce using Bulk API. These jobs have batch sizes of 2000 and are run in parallel mode. The batches fail frequently with the error “Max CPU time exceeded”. A smaller batch size will fix this error.
What should be considered when using a smaller batch size?
Answer options
- A. Smaller batch size may exceed the concurrent API request limits.
- B. Smaller batch size can trigger “Too many concurrent batches” error.
- C. Smaller batch size may increase time required to execute bulk jobs.
Correct answer: C
Explanation
Reducing the batch size may lead to increased total execution time because more batches will need to be processed, which can slow down the overall job completion. The other options are incorrect because lowering the batch size typically does not exceed concurrent API limits or trigger concurrent batch errors.