0% found this document useful (0 votes)
45 views

Sharing and Visibility Designer Demo

Uploaded by

ben sampu
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views

Sharing and Visibility Designer Demo

Uploaded by

ben sampu
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Salesforce Certified Sharing and Visibility

Designer (SP19)
Salesforce Sharing-and-Visibility-Designer
Version Demo

Total Demo Questions: 10

Total Premium Questions: 119


Buy Premium PDF

https://dumpsarena.com

[email protected]
QUESTION NO: 1

Cloud Kicks has the following setup and requirements:

- A strict software architecture for their custom Apex code.

- All SOQL queries must be contained within reusable classes.

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

A. 1. Create a SystemSOQLQueries class and a UserSOQLQueries class.


2. Set the “With Sharing” keyword on the UserSOQLQueries class and “Without Sharing” onthe SystemSOQLQueries class.

B. 1. Create a reusable SOQLQueries class.


2. Specify “With Sharing” on the methods that require user context and “Without Sharing” on
the methods requiring system context.

C. 1. Create a reusable SOQLQueries class.


2. Do NOT specify “With” or “Without Sharing” on the SOQLQueries class and use the runAs() method to dynamically set the
context.

D. 1. Create a reusable SOQLQueries class.


2. Do NOT specify “With” or “Without Sharing” on the SOQLQueries class.

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

A. Use the With Sharing keyword on the controller.

B. Use the escapesinglequotes() method to sanitize user input.

C. Use bind variables in the SOQL query.

D. Escape double quotes in the user input.

ANSWER: B C

DumpsArena - Pass Your Next Certification Exam Fast!


dumpsarena.com
QUESTION NO: 3

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.

How can this be achieved?

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

C. Use the Schema.DescribeSObjectResult isAccessible() method in the Apex controller

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.

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

A. objectname.AccessLevel=’None’

B. objectname.AccessLevel=’All’

DumpsArena - Pass Your Next Certification Exam Fast!


dumpsarena.com
C. objectname.AccessLevel=’Read’

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.

What should an Architect do to achieve this goal?

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

D. Store the credentials in a custom object using encrypted fields

E. Store the credentials in protected custom metadata that are used in the Apex Callout

ANSWER: B D E

QUESTION NO: 8

Cloud Kicks is using Enterprise Territory Management.

DumpsArena - Pass Your Next Certification Exam Fast!


dumpsarena.com
What are three settings supported with this configuration? (Choose three.)

A. Metadata API Support

B. Integration with Collaborative Forecasting

C. Share a report or dashboard folder with a Territory

D. Create a public group with Territory

E. Assignment of Territory on Opportunities

ANSWER: B D E

QUESTION NO: 9

Get Cloudy Consulting has an Opportunity object with Public Read Only sharing settings on it.

A user is adding account team members to the Account.

Which Opportunity access options can the user see?

A. Private and Read Only

B. Private

C. Read Only and Read/Write

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.

What should DreamHouse Realty do to achieve this goal?

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

DumpsArena - Pass Your Next Certification Exam Fast!


dumpsarena.com
ANSWER: D

DumpsArena - Pass Your Next Certification Exam Fast!


dumpsarena.com

You might also like