nerdexam
SalesforceSalesforce

PDI · Question #83

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

The correct answer is B: Formula field. To calculate a ratio between rejected and approved timesheets using existing rollup summary fields on Project__c, a formula field is the most efficient choice to minimize maintenance overhead.

Submitted by takeshi77· Apr 18, 2026Logic and Process Automation

Question

A developer created these three Rollup Summary fields in the custom object, Project__c: The developer is asked to create a new field that shows the ratio between rejected and approved timesheets for a given project. Which should the developer use to implement the business requirement in order to minimize maintenance overhead?

Options

  • ARecord-triggered flow
  • BFormula field
  • CApex trigger
  • DField Update actions

Explanation

To calculate a ratio between rejected and approved timesheets using existing rollup summary fields on Project__c, a formula field is the most efficient choice to minimize maintenance overhead.

Common mistakes.

  • A. A record-triggered flow could perform this calculation and update a field, but it requires more configuration and introduces an automation layer that is unnecessary when a simple declarative formula can achieve the same result.
  • C. An Apex trigger would involve writing, testing, and maintaining code, which is a higher maintenance overhead than a declarative formula field for a straightforward calculation based on existing fields.
  • D. Field Update actions are typically used within workflow rules or flows to update fields based on specific criteria, and are not a standalone mechanism for calculating a ratio based on other fields.

Concept tested. Formula Fields for calculations

Reference. https://help.salesforce.com/s/articleView?id=sf.formula_fields.htm&type=5

Topics

#Formula fields#Declarative logic#Maintenance optimization#Rollup summary fields

Community Discussion

No community discussion yet for this question.

Full PDI PracticeBrowse All PDI Questions