次のコード スニペットは、2,000 件を超えるリード レコードがある環境で Lightning Web コンポーネントによって実行されます。 Apex トランザクション内でどのガバナー制限を超える可能性がありますか?
正解:C
The provided code attempts to update allLeadrecords in an environment with more than 2,000 records. This will likely exceed the governor limit for the total number of records processed in DML statements, which is 10,000 per transaction. To avoid this, the developer can useDatabase.updatewith batching logic. Reference:Governor Limits for DML Rows