nerdexam
Salesforce

PDII · Question #353

PDII Question #353: Real Exam Question with Answer & Explanation

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

Question

Universal Containers (UC) calculates commissions on their Opportunities in different ways base on complex rules that vary depending on the line of business of the Opportunity. Whenever a new line of business is added to Salesforce at UC, it is likely that a different calculation will need to be added too. When an Opportunity's stage is changed to Closed/Won, its commission should be calculated in real time. What should a developer use so that different implementations of the commission calculation can be invoked on the stage change?

Options

  • AAn Apex class with a custom enum
  • BA final class with multiple methods
  • CAn interface and implementing classes
  • DApex Describe Schema methods

Unlock PDII to see the answer

You've previewed enough free PDII questions. Unlock PDII 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.

Full PDII Practice
Universal Containers (UC) calculates commissions on their... | PDII Q#353 Answer | NerdExam