Salesforce Certified Sharing and Visibility Designer — Question 18

Ursa Major Solar needs an Architect to develop Apex Managed Sharing code for the custom Job object. The sharing settings for the Job object are set to Private.
The Architect is assigning level for the record.
Which two lines of code will cause a DMLA exception on insert to the database? (Choose two.)

Answer options

Correct answer: A, B

Explanation

The correct options, A and B, will cause a DMLA exception because setting the access level to 'None' or 'All' is not permitted when the sharing settings are Private. Options C and D are valid access levels that comply with the sharing settings, allowing for either read or edit access.