Salesforce Platform Developer I (legacy) — Question 154

A developer completed modifications to a customized feature that is comprised of two elements:

• Apex trigger
• Trigger handler Apex class

What are two factors that the developer must take into account to properly deploy the modification to the production environment? (Choose two.)

Answer options

Correct answer: A, B

Explanation

The correct answer is A and B because Apex classes indeed require a minimum of 75% code coverage for deployment, and at least one line of code must execute in the trigger for it to be considered valid. Options C and D are incorrect because while they relate to test methods, they do not directly impact the deployment of the Apex trigger and handler class.