What should an architect recommend to make sure that users that gained access to a custom object record through Apex managed sharing do not lose access to it when its owner is changed?
Correct Answer: C
When Apex-managed sharing is used to grant access to records, changes to the record owner do not affect the existing shared records if a custom Apex Sharing Reason is created. The sharing reason allows the sharing record to remain independent of the ownership changes, ensuring persistent access for users who were granted visibility through Apex. * Option A: The "With Sharing" keyword only enforces the sharing rules when executing the Apex code but does not ensure persistence of shared access. * Option B: Creating a new manual sharing record directly is not recommended because manual sharing is automatically deleted when ownership changes. * Option C (Correct): A custom Apex Sharing Reason allows the architect to maintain explicit sharing logic, avoiding access loss during ownership changes. References: * Apex Sharing Reasons