Salesforce Certified Integration Architect — Question 69
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.
Which two options should be considered when using a smaller batch size? (Choose two.)
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.
- D. Smaller batch size may cause record-locking errors.
Correct answer: C, D
Explanation
Choosing a smaller batch size may indeed take more time to complete the bulk jobs because more batches will need to be processed. Additionally, reducing the batch size can lead to record-locking errors due to the increased number of transactions competing for the same records. The other options, while relevant, do not directly address the implications of reducing batch size in the context of the mentioned error.