CRT-403 practice question 5 of 35

Ursa Major Solar wants to convert the relationship between Galaxy and Star from a lookup relationship to a master-detail relationship so each Galaxy record can be equipped with a roll-up summary count of Star records. Which two considerations should be made? Choose 2 answers

Full set: 291 questions
Answer options
A: The Star records are all required to have an existing value in their Galaxy field. Correct answer
B: The Galaxy object has fewer than two existing master-detail relationships.
C: The Galaxy object is required to contain existing roll-up summary fields.
D: The Star object has fewer than two existing master-detail relationships. Correct answer
Correct Answer:
A. The Star records are all required to have an existing value in their Galaxy field.; D. The Star object has fewer than two existing master-detail relationships.
Explanation

To convert a lookup relationship to a master-detail relationship, two primary conditions must be met. First, the lookup field on the child object (Star) must contain a value for every record. Master-detail relationships do not allow "orphan" detail records, so every Star must be linked to a Galaxy before the conversion. Second, a custom object can be on the detail side of a maximum of two master-detail relationships. Therefore, the Star object must have fewer than two existing master-detail relationships to accommodate the new one being created with the Galaxy object.

Why Incorrect

B. The Galaxy object has fewer than two existing master-detail relationships. This is incorrect. The limit of two master-detail relationships applies to the object on the detail (child) side, not the master (parent) side.
C. The Galaxy object is required to contain existing roll-up summary fields. This is incorrect. The ability to create roll-up summary fields is a result of having a master-detail relationship, not a prerequisite for creating one.

References

1. Salesforce Help Documentation, "Convert a Lookup Relationship to a Master-Detail Relationship": This document explicitly states a key prerequisite for conversion: "If the lookup field in the records on the detail side is not populated, the conversion fails. To proceed, populate the lookup field in all records." This directly supports answer A.

2. Salesforce Help Documentation, "Object Relationships Overview": Under the "Relationship Types" section, it is noted that "Each custom object can have up to two master-detail relationships...". This limit applies to the object that will be the detail record (Star), supporting answer D.

3. Salesforce Help Documentation, "Considerations for Relationships": This page reinforces the limits, stating, "Each object can have up to two master-detail relationships." This confirms the constraint on the Star object, further validating answer D.

4. Salesforce Help Documentation, "Roll-Up Summary Field": This document clarifies, "You can create a roll-up summary field only on a master object in a master-detail relationship." This shows that the relationship must exist before the field can be created, invalidating option C.

Scroll to Top