ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 184 - Certified Platform App Builder discussion

Report
Export

Cloud Kicks (CK) wants to simultaneously delete a Supplier's record and all Supplier ltem__c records if a partnership ends with a supplier.

What solution could an app builder use to meet the requirement?

A.
Many-to-many
Answers
A.
Many-to-many
B.
Indirect lookup
Answers
B.
Indirect lookup
C.
Hierarchical
Answers
C.
Hierarchical
D.
Master-detail
Answers
D.
Master-detail
Suggested answer: D

Explanation:

The solution that an app builder should use to meet this requirement is master-detail relationship. A master-detail relationship is a type of relationship that creates a parent-child relationship between two objects, where the child records inherit the sharing and security settings of their parent record. The app builder can create a master-detail relationship between Supplier__c and SupplierItem__c objects, where Supplier__c is the parent object and SupplierItem__c is the child object. This way, when a Supplier__c record is deleted, all related SupplierItem__c records are also deleted automatically. Option A is incorrect because many-to-many relationship is not suitable for this requirement, as many-to-many relationship allows two objects to be linked in both directions through a junction object, but does not support cascading delete. Option B is incorrect because indirect lookup relationship is not suitable for this requirement, as indirect lookup relationship allows an external object to link with another object using an external ID field, but does not support cascading delete. Option C is incorrect because hierarchical relationship is not suitable for this requirement, as hierarchical relationship allows users to use a lookup field that links an object with itself, but does not support cascading delete.

asked 23/09/2024
Robert Calderon
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first