Salesforce Platform Developer I (legacy) — Question 125
If Apex code executes inside the execute() method of an Apex class when implementing the Batchable interface, which two statements are true regarding governor limits? (Choose two.)
Answer options
- A. The Apex governor limits are reset for each iteration of the execute() method.
- B. The Apex governor limits cannot be exceeded due to the asynchronous nature of the transaction.
- C. The Apex governor limits might be higher due to the asynchronous nature of the transaction.
- D. The Apex governor limits are relaxed while calling the constructor of the Apex class.
Correct answer: A, C
Explanation
Option A is correct because the governor limits are indeed reset for each execution of the execute() method in a batch process. Option C is also correct as the asynchronous nature can result in increased limits. Options B and D are incorrect; governor limits can still be exceeded and are not relaxed when calling the class constructor.