Salesforce
PDI · Question #103
A developer created this Apex trigger that calls MyClass,myStartmethod: The developer creates a test method that calls MyClase,myStartmethod directly, resulting in 81% overall code coverage. What happ
Sign in or unlock PDI to reveal the answer and full explanation for question #103. The question stem and answer options stay visible for context.
Submitted by mike_84· Apr 18, 2026Testing, Debugging, and Deployment
Question
A developer created this Apex trigger that calls MyClass,myStartmethod:
The developer creates a test method that calls MyClase,myStartmethod directly, resulting in 81% overall code coverage. What happens wtier the developer tries to deploy the ... and two classes to production, assuming no other code exists?
Options
- AThe deployment fails because the Apr-MgQM has no code coverage.
- BThe deployment tails because no assertions mett made in the lest method.
- CThe deployment passes became the Apex code has the requited 75% code coverage.
- DThe deployment passes because both classes and the trigger were included ki the deployment.
Unlock PDI to see the answer
You've previewed enough free PDI questions. Unlock PDI for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#Apex Testing#Code Coverage#Deployment#Apex Triggers