Sharing-and-Visibility-Designer Salesforce Certified Sharing and Visibility Designer (SP19)

Loading demo links...

Showing 1–3 of 10 questions

Question 1

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.)

Select all that apply, then click Submit answer.

  • objectname.AccessLevel=’None’

  • objectname.AccessLevel=’All’

  • objectname.AccessLevel=’Read’

  • objectname.AccessLevel=’Edit’

Question 2

Which two options can be selected to share data with when creating a sharing rule? (Choose two.)

Select all that apply, then click Submit answer.

  • Roles

  • Profiles

  • Public Groups

  • Users

Question 3

Get Cloudy Consulting uses a strict security model. They enforce this model through object, field, and row-based security mechanisms. The Chief Technology Officer (CTO) at Get Cloudy Consulting wants to thoroughly test the security model, and an Architect decides to use Apex automated tests to fulfill the CTO’s request.

What are three considerations for the Architect when using the runAs() method to design Apex unit tests? (Choose three.)

Select all that apply, then click Submit answer.

  • runAs() can be used inside of test classes to validate field-level permissions

  • runAs() can be used inside of test classes to validate record-level security

  • runAs() does NOT enforce user permissions or field-level permissions in test classes

  • runAs() counts towards total DML statements issued within the transaction

  • runAs() can be used outside of test classes to bypass record-level security