nerdexam
SalesforceSalesforce

PDI · Question #52

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

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

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

Question

An Opportunity needs to have an amount rolled up from a custom object that is not in a master- detail relationship. How can this be achieved?

Options

  • AWrite a trigger on the child object and use a red-black tree sorting to sum the amount for all
  • BWrite a Process Builder that links the custom object to the Opportunity.
  • CWrite a trigger on the child object and use an aggregate function to sum the amount for all related
  • DUse the Streaming API to create real-time roll-up summaries.

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 Triggers#Roll-up Summaries#SOQL Aggregate Functions#Custom Development
Full PDI PracticeBrowse All PDI Questions