Sharing and Visibility Designer Demo
Sharing and Visibility Designer Demo
Designer (SP19)
Salesforce Sharing-and-Visibility-Designer
Version Demo
https://dumpsarena.com
[email protected]
QUESTION NO: 1
- Depending on the context of the Apex transaction, the queries should be able to run either “WithSharing” or “Without
Sharing”.
What are two methods for meeting these requirements? (Choose two.)
ANSWER: A B
QUESTION NO: 2
Universal Containers has developed a custom Visualforce page that will accept user input and must perform a dynamic
SOQL query, returning the results to the users.
Which two techniques should be used to ensure the users cannot perform a SOQL injection attack? (Choose two.)
ANSWER: B C
Universal Containers (UC) delivers training in 500 different regions. The UC Operations Users team manage course setup,
scheduling, and trainer setup. The Operations Users team members work at a regional level and report to an Operations
manager. The Operations manager requested access to edit ALL scheduled courses owned by the Operation Users team.
A. The Operations manager will get access to the scheduled courses by granting the Operations manager modify ALL on
scheduled courses.
B. The Operations manager will get access to the scheduled courses by creating an ownershipbased sharing rule and share
the scheduled courses with the Operations manager.
C. The Operations manager will get access to the scheduled courses by creating a public group and add the Operations
manager and the Operations Users team to the public group.
D. The Operations manager will get access to the scheduled courses owned by the Operations Users team defined in the
role hierarchy.
ANSWER: C
QUESTION NO: 4
Universal Containers has a custom Visualforce application that uses a custom Apex controller.
Within this Visualforce application, what should the Architect do to ensure that object-level security is enforced?
A. Use the “Without Sharing” keyword when defining the Apex controller class
B. Utilize the “With Sharing” keyword when defining the Apex controller class
D. Utilize the “With Sharing” keyword when defining the Visualforce page
ANSWER: C
QUESTION NO: 5
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.
Which two lines of code will cause a DMLA exception on insert to the database? (Choose two.)
A. objectname.AccessLevel=’None’
B. objectname.AccessLevel=’All’
D. objectname.AccessLevel=’Edit’
ANSWER: A B
QUESTION NO: 6
Ursa Major Solar needs to prevent Users in a Custom Sales Department Profile from deleting Opportunities.
A. In the Object Permissions, remove the “Opportunity Delete” Permission from the User’s Profile
B. Ensure a Validation Rule is created that checks the User’s Profile before allowing the
IsDeleted flag to be set to True
C. Override the Standard button with a Visualforce Page that warns them that they do NOT have permission to delete
D. Ensure that the Delete button from the Opportunity Page Layout and Record Type settings is removed
ANSWER: A
QUESTION NO: 7
A Cloud Kicks IT team member is building an integration within a managed package for their internal org that requires login
to an external system. The end point requires basic authentication.
Which three methods should an Architect recommend to secure the credentials, such as username and password, in this
scenario? (Choose three.)
A. Store the credentials in protected custom settings that are used in the Apex Callout
B. Store the credentials in Named Credentials that are used in the Apex Callout
C. Store the credentials in the Apex code, which will NOT be available to non-admins
E. Store the credentials in protected custom metadata that are used in the Apex Callout
ANSWER: B D E
QUESTION NO: 8
ANSWER: B D E
QUESTION NO: 9
Get Cloudy Consulting has an Opportunity object with Public Read Only sharing settings on it.
B. Private
D. Read Only
ANSWER: C
QUESTION NO: 10
DreamHouse Realty has a custom object named Employee Review that has an OrganizationWide Default security setting of
Private. When a reviewer is assigned to perform a review, a user lookup on the Employee Review object is populated.
This user needs to be granted edit access to the record, but they are NOT the owner.
A. The user will be granted access to the record automatically when the user lookup is populated
B. Create a criteria-based sharing rule to share the record with the user in the lookup field
C. Create an Apex trigger to insert an Employee Review Share record with an access level of Edit
D. Create a workflow rule to share the Employee Review record with the user in the lookup field