Salesforce Certified Platform App Builder — Question 387
Ursa Major Solar has a lookup relationship between a custom Galaxy_c object and a custom Star_c object. An app builder wants to create a roll-up summary field that counts the total number of Star_c records related to each Galaxy_c record.
How would the current configuration impact the ability to achieve the desired result?
Answer options
- A. The lookup relationship will need to be converted to a master-detail relationship before a roll-up summary field can be created.
- B. A roll-up summary field will need to be created on the Galaxy_ c object with a field filter that selects all related Star_c records.
- C. The roll-up summary can be achieved by creating a formula field on the Galaxy_c object.
- D. The roll-up summary can be achieved by creating a formula field on the Star_c object.
Correct answer: A
Explanation
The correct answer is A because roll-up summary fields can only be created on master-detail relationships, not lookup relationships. Options B, C, and D are incorrect because they suggest methods that do not align with the requirements for creating a roll-up summary field, which necessitates a master-detail relationship.