Universal containers has built an integration module to pull customer support tickets out of various systems and push them to salesforce as cases. The integration was implemented using Salesforce SOAP API with batch size 200, and the jobs are scheduled to run every 30 minutes to make sure a job completes before the next job starts.
After going Live, they found that jobs are failing occasionally due to a "Max CPU time exceeded" error thrown from a trigger on the case. Reducing the batch size to 100 would resolve the issue, but the jobs would then take an average of 35 minutes to run. Which two options should be considered to resolve the issue and make sure a job completes before the next one starts?
Choose 2 answers
A. No change to API options, and move the trigger code into a future method.
B. No change to API options, and move the trigger code into a Queuetable apex
C. Bulk API with serial option and batch size 100, and no code changes
D. Bulk API with parallel option and batch size 100, and no code changes.