(Choose 2 answers)
The two correct answers are C and D.
C. An object can have 25 roll-up summaries.
This is a key Salesforce platform limit. An object, such as the Account object in this scenario, can have a maximum of 25 roll-up summary fields. The proposal mentions summarizing 15 fields from three separate objects. While the total number of fields to summarize (15 x 3 = 45) might seem to exceed this limit, the question is about summarizing "15 fields... on the Account object" from each of the three objects. The more critical point is that even if the sales reps only need a few key metrics, the total number of roll-up summary fields on the parent object (Account) cannot exceed 25. This is a hard limit and a critical consideration for the proposal.
D. Roll-up summaries are limited to master-detail relationships.
This is a fundamental rule of Salesforce. A roll-up summary field can only be created on the master object in a master-detail relationship. In the proposal, one of the three custom objects has a master-detail relationship with the Account. This means you can create roll-up summary fields for that single object. However, the other two objects have relationships that are not master-detail (likely lookups), which means you cannot create roll-up summary fields for them directly. This is a significant consideration that invalidates a large part of the proposal's original design, as it stands. To achieve the summary for the other two objects, alternative solutions would be needed, such as Apex triggers, flows, or third-party apps.
Why the Other Options Are Incorrect?
A. Roll-up summaries allow MAX, MIN, SUM, COUNT, and AVG.
This option is incorrect because roll-up summaries do not support the AVG (average) function out-of-the-box. The supported functions are COUNT, SUM, MIN, and MAX. While you can achieve an average by creating two roll-up summary fields (one for SUM and one for COUNT) and then a formula field to divide them, AVG is not a direct, single function available for roll-up summary fields.
B. An object can have 20 object references.
This statement is not a standard Salesforce platform limit in the context of this question. The number of roll-up summary fields is limited to 25. The number of relationships (lookups, master-detail) a single object can be on the detail side of is a different topic and generally not a primary consideration for the number of roll-up summaries you can create. There are various limits related to relationships and fields on an object, but "20 object references" is not an accurate, standard limit relevant to this scenario.
References:
Salesforce Help Documentation: "Roll-Up Summary Field Overview" - This documentation clearly states that roll-up summary fields are available only for master-detail relationships and lists the supported functions (SUM, COUNT, MIN, MAX).
Salesforce Limits: You can find the specific limits for various Salesforce features by searching for "Salesforce Limits" or "Roll-Up Summary Field Limits." This will confirm the limit of 25 roll-up summary fields per object.
