nerdexam
Salesforce

CRT-101 · Question #54

Cloud Kicks has a custom object named shoe. The administrator has been asked to ensure that when a relationship is created between Account and shoe to prevent orphaned shoe records. What should the…

The correct answer is D. Create a master-detail lookup. A Master-Detail relationship makes the Shoe record a 'detail' child of the Account 'master.' This means a Shoe record cannot exist without a parent Account-it is required at creation. If the parent Account is deleted, all related Shoe (detail) records are automatically deleted…

Object Manager and Lightning App Builder

Question

Cloud Kicks has a custom object named shoe. The administrator has been asked to ensure that when a relationship is created between Account and shoe to prevent orphaned shoe records. What should the administrator do to complete this requirement?

Options

  • ACreate an indirect lookup
  • BCreate an encrypted lookup
  • CCreate a hierarchical lookup
  • DCreate a master-detail lookup.

How the community answered

(41 responses)
  • A
    2% (1)
  • B
    5% (2)
  • C
    2% (1)
  • D
    90% (37)

Explanation

A Master-Detail relationship makes the Shoe record a 'detail' child of the Account 'master.' This means a Shoe record cannot exist without a parent Account-it is required at creation. If the parent Account is deleted, all related Shoe (detail) records are automatically deleted as well, preventing orphaned records entirely. A Lookup relationship (the alternative) allows the parent field to be blank, which means Shoe records can exist without an Account, creating exactly the orphaned record scenario the requirement wants to prevent. Indirect, encrypted, and hierarchical lookups are either non-standard or not applicable here.

Topics

#Custom Objects#Object Relationships#Master-Detail Relationship#Data Integrity

Community Discussion

No community discussion yet for this question.

Full CRT-101 Practice