Which statement is considered a best practice for writing bulk safe Apex Triggers?

QuestionsCategory: Certified Platform Developer IIWhich statement is considered a best practice for writing bulk safe Apex Triggers?
Admin Staff asked 4 months ago
Which statement is considered a best practice for writing bulk safe Apex Triggers?

A. Add records to collections and perform DML operations against these collections

B. Instead of DML statements, use the Database methods with allOrNone set to False

C. Add LIMIT 50000 to every SOQL statement

D. Perform all DML operations from within a Future Method








 

Suggested Answer: A





This question is in Certified Platform Developer II Exam
For getting Salesforce Certified Platform Developer II











Disclaimers:
The website is not related to, affiliated with, endorsed or authorized by Salesforce. 
Trademarks, certification & product names are used for reference only and belong to Salesforce.
The website does not contain actual questions and answers from Salesforce's Certification Exams.

Recommended

Welcome Back!

Login to your account below

Create New Account!

Fill the forms below to register

Retrieve your password

Please enter your username or email address to reset your password.