nerdexam
SalesforceSalesforce

PDI · Question #79

PDI Question #79: Real Exam Question with Answer & Explanation

Sign in or unlock PDI to reveal the answer and full explanation for question #79. The question stem and answer options stay visible for context.

Submitted by akirajp· Apr 18, 2026Testing, Debugging, and Deployment

Question

A developer creates a new Apex trigger with a helper class, and writes a test class that only exercises 95% coverage of new Apex helper class. Change Set deployment to production fails with the test coverage warning: "Test coverage of selected Apex Trigger is 0%, at least 1% test coverage is required" What should the developer do to successfully deploy the new Apex trigger and helper class?

Options

  • ACreate a test class and methods to cover the Apex trigger
  • BRun the tests using the 'Run All Tests' method.
  • CRemove the falling test methods from the test class.
  • DIncrease the test class coverage on the helper class

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 Trigger Testing#Test Coverage#Deployment Requirements#Apex Testing
Full PDI PracticeBrowse All PDI Questions