nerdexam
SalesforceSalesforce

PDI · Question #55

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

The correct answer is B: Formula field. Since existing rollup summary fields already provide the counts for approved and rejected timesheets on the Project_c object, a simple formula field is the most efficient and lowest maintenance solution to calculate their ratio.

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

Question

A developer created these three Rollup Summary fields in the custom object, Project_ct, 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
  • DProcess Builder

Explanation

Since existing rollup summary fields already provide the counts for approved and rejected timesheets on the Project_c object, a simple formula field is the most efficient and lowest maintenance solution to calculate their ratio.

Common mistakes.

  • A. A Record-triggered Flow would add more complexity and maintenance compared to a declarative formula field, especially since the source data (rollup summaries) is already available.
  • C. An Apex Trigger would be an overkill and higher maintenance for a simple calculation that can be done declaratively with a formula field based on existing data.
  • D. Process Builder, like Flow, could potentially update a field, but it's less direct and efficient for a simple ratio calculation from existing fields than a formula field and would involve more steps and maintenance.

Concept tested. Formula fields with rollup summaries

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

Topics

#Formula Fields#Declarative Automation#Rollup Summary Fields#Field Type Selection

Community Discussion

No community discussion yet for this question.

Full PDI PracticeBrowse All PDI Questions