Summer Sale - Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: dpt65

Sharing-and-Visibility-Designer Questions and Answers

Note! Following Sharing-and-Visibility-Designer Exam is Retired now. Please select the alternative replacement for your Exam Certification. The new exam code is Sharing-and-Visibility-Architect

Sharing-and-Visibility-Designer Questions and Answers

Question # 6

Universal Containers has implemented a strict software architecture for their custom Apex code. One of the requirements is that all SOQL queries are contained within reusable classes. Depending on the context of the Apex transaction, the queries should be able to run either "With Sharing" or "Without Sharing". Which two ways allow the Architect to meet these requirements?

Choose 2 answers.

A.

Create a reusable SOQLQueries class; do not specify "With" or "Without Sharing" on the SOQLQueries class.

B.

Create a reusable SOQLQueries class; do not specify "With" or "Without Sharing" on the SOQLQueries class and use the runAs() method to dynamically set the context.

C.

Create​ ​a​ ​reusable​ ​SOQLQueries​ ​class;​ ​specify​ ​ ​"With​ ​Sharing"​ ​on​ ​the​ ​methods​ ​that​ ​require​ ​user​ ​context and​ ​"Without​ ​Sharing"​ ​on​ ​the​ ​methods​ ​requiring​ ​system​ ​context.

D.

Create​ ​a​ ​SystemSOQLQueries​ ​class​ ​and​ ​a​ ​UserSOQLQueries​ ​class;​ ​set​ ​the​ ​ ​"With​ ​Sharing"​ ​keyword​ ​on​ ​the User​ ​SOQLQueries​ ​class​ ​and​ ​"Without​ ​Sharing"​ ​on​ ​the SystemSOQLQueries​ ​class​.

Full Access
Question # 7

Universal​ ​Health​ ​is​ ​planning​ ​to​ ​store​ ​patient​ ​notes​ ​in​ ​Salesforce.​ ​ ​Patient​ ​notes​ ​consist​ ​of​ ​long​ ​text​ ​notes​ ​taken by​ ​a​ ​use​ ​to​ ​document​ ​phone​ ​calls​ ​with​ ​a​ ​patient.

A​ ​date​ ​audit​ ​has​ ​identified​ ​that​ ​these​ ​notes​ ​can​ ​contain​ ​Personally​ ​Identifiable​ ​Information​ ​(PII)​ ​and​ ​Personal

Health​ ​Information​ ​(PHI).​ ​ ​The​​regulatory​ ​requirements​ ​state​ ​that​ ​this​ ​data​ ​must​ ​be​ ​encrypted​ ​at​ ​rest​ ​as​ ​well​ ​as in​ ​transit.

What​ ​should​ ​the​ ​Architect​ ​do​ ​in​ ​order​ ​to​ ​make​ ​sure​ ​Universal​ ​Health​ ​stays​ ​compliant?

A.

No action is required; all Salesforce data is encrypted at rest as part of Salesforce's standard trust measures.

B.

Enable Salesforce Shield Platform Data Encryption and mark the patient notes field as encrypted.

C.

Create​ ​a​ ​new​ ​Custom​ ​Field​ ​of​ ​type​ ​"Text​ ​(Encrypted)"​ ​and​ ​move​ ​the​ ​patient​ ​notes​ ​data​ ​into​ ​the​ ​new field.

D.

Use an Apex trigger and the Apex Crypto class to encrypt patient notes as soon as they are saved to Salesforce.

Full Access
Question # 8

What advanced tool can Salesforce enable for Large-scale role hierarchy realignments?

A.

Set external organization-wide default to public read only

B.

Skinny Table Indexing

C.

Granular locking

D.

Partitioning by Divisions

Full Access
Question # 9

Bob uploads a PDF to his Files Home private library.

Who can view this file?

A.

Bob and users above Bob in the role hierarchy

B.

Bob and users with View All Data permission

C.

Bob and users with Modify All Data permission

D.

Only Bob

Full Access
Question # 10

What feature in Salesforce is needed to restrict access to a custom objectthat has Public Read/Write access?

A.

Role Hierarchy

B.

Record Type

C.

Page Layout 

D.

Profile

Full Access
Question # 11

For the Universal Containers Commercial and Consumer support departments, having access to Activities for Contacts with which they interact is important. Commercial support users should not see Consumer Accounts/Contacts and Consumer support users should not see Commercial Accounts/Contacts. Assuming the Organization-Wide Default for Activities is set to "Controlled by Parent" what is the minimum level of Sharing access a support user would need to Accounts/Contacts to view associated Activities?

A.

Private Account/Contact Sharing Default with a Sharing Rule for each department set to Public Read/Write access to Accounts/Contacts.

B.

Private Account/Contact Sharing Default with a Sharing Rule for each department set to Privateaccess to Accounts/Contacts.

C.

The users need no access to Accounts/Contacts with the proper Activity Sharing Rules and Profile Permissions for the Accounts Tab.

D.

Private​ ​Account/Contact​ ​Sharing​ ​Default​ ​with​ ​a​ ​Sharing​ ​Rule​ ​for​ ​each​ ​department​ ​set​ ​to​ ​Public​ ​Read​ ​only access​ ​to​ ​Accounts/Contacts.

Full Access
Question # 12

Universal Containers (UC) sales managers are complaining that they cannot access their teams' Shipment records (a custom object). Initially, the admin suggested that this it happening due tomisconfigured role hierarchy (Shipment OWD is Private). Alter investigation, they determined the. role hierarchy for these users is correct.

What can be the reason why Universal Containers sales managers are not able to see Shipment records?

A.

The GrantAccess Using hierarchies option on Shipment Sharing Settings was incorrectly disabled by the Salesforce admin.

B.

Role hierarchy Implicit sharing was Incorrectly disabled by the Salesforce adman.

C.

Ownership-based sharing rule for Shipment was Incorrectly disabled by the Salesforce admin.

D.

Sales managers have only the Read permission on the 5hipment object and should not be able to edit their team records.

Full Access
Question # 13

Universal Containers uses 75,000 distributors that have close to 1 million total users. Distributors need opportunities assigned to their distributor for delivery.

What license recommendation will meet distributor needs?

A.

SalesCloud

B.

Customer Community Plus

C.

Partner Community

D.

Custom Community

Full Access
Question # 14

At Universal Containers, Accounts and Contacts are normally visible to all employees, and Proposals (custom object) are visible to the Account owner and managers. However, some Proposals are considered confidential and are managed by a Strategic Proposals team. These Proposals should not be visible to anyone in the Sales group other than the owner and the strategic team.

How should the architect design for this requirement?

A.

Proposal Owner set to the Strategic Deals TeamQueue and set the Account relationship to Master-Detail.

B.

Disable Grant Access Using Hierarchies and set an Owner-Based Sharing rule for Strategic Deals team.

C.

Proposal Owner set to the Strategic Deals Team Queue and create an owner-based sharing ruleto grant visibility to the Account owner

D.

Disable Grant Access Using Hierarchies and set a Criteria-Based Sharing rule for Strategic Deals team.

Full Access
Question # 15

Universal Containers (UC) uses a custom Visualforce page to displayshipment tracking information (custom object, private OWD) to field manager and agents. The IT team wants to make sure that users have access to only the information that is allowed.

Which Apex method must be used to make sure only allowed fields are shownto the users?

A.

isReadable()

B.

isShowable()

C.

isAccessible()

D.

isViewable()

Full Access
Question # 16

Susan posts a file to the chatter fees for a record of an object which OWD is private. Which

twostatements accurately describe who can view the file by default?

Choose 2 answers.

A.

Susan and users with the View All Data permission.

B.

Susan and users with access to the record.

C.

Susan and users with a shared chatter post link to the file.

D.

Susanonly.

Full Access
Question # 17

Universal Containers (UC) has acustom object to track the internal net promoter score (NPS) for all ..

How can UC ensure that NPS records cannot be accessed by an individual employee's manager?

A.

Create a criteria-based sharing rule to remove access to Manager role and above in the Role ..

B.

Remove Create, Read, Edit and Delete from Manager Profiles and Permission sets.

C.

Use Apex Sharing to remove NPS object share records for Manager profiles.

D.

Set organization wide default to Private and uncheck the Access Using Hierarchies optionfor the NPS object

Full Access
Question # 18

A custom invoice object has been created with a master-detail relationship to account. The

Account receivable (AR) team needs access to Invoices AR users do not own nor have access

to Account records. Account OWD is set to Private. The AR team is unable to find Invoices in

Listviews, Reports, nor in Global Search. The Architect has been asked to help troubleshoot.

What could be the issue preventing AR team members from seeing invoices?

A.

A sharing rule is missing to share Invoices to the AR team.

B.

The AR team profile needs to be assigned an Invoice Page layout.

C.

A sharing rule is missing to share Accounts to the AR team.

D.

The Accounts receivable profile does not have read Permission to the Invoice Object.

Full Access
Question # 19

The architect hasa requirement to create a criteria-based sharing rule based on the customer Social.. up the rule in Contact Sharing, the field is not shown on the list of available field.

What might cause this?

A.

The field has been configured for encryption.

B.

The architect does not have permission to Compliance fields.

C.

The architect's profile does not have field level Security (FLS) for this field.

D.

fields with validation rules are not available for sharing rules.

Full Access
Question # 20

Universal Containers (UC) has a requirement to expose a web service to their business partners. The web service will be used to allow each business partner to query UC's Salesforce instance to retrieve the status of orders. The business partner shouldonly be allowed access to orders for which the business partner is the fulfillment vendor. The Architect does not want the business partners to utilize the standard APIs and would prefer a custom API be developed. Which three design elements should the Architect consider in order to ensure the data security of the solution? 

Choose 3 answers

A.

Query the Orders object with Dynamic SOQL based upon the fulfillment ID.

B.

Set the Orders object's sharing settings to Private in the Org-Wide Defaults

C.

Provideeach partner with their own Salesforce login set to API Enabled on the profile. 

D.

Develop a custom Apex web service with a fulfillment ID input attribute

E.

Develop a custom Apex web service using the "With Sharing" keyword.

Full Access
Question # 21

A developer at Universal Container 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.The Architect would like to ensure that the username and password are managed securely. Which three options should the Architect recommend to secure the credentials?

A.

Store the credentials in a custom object using encrypted fields

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 protected custom metadata that are used in the apex callout

E.

Store the credentials in protected custom settings that are used in the apex callout

Full Access
Question # 22

Which are two valid use cases for programmatic sharing?

Choose 2 answers.

A.

An​ ​external​ ​system​​manages​ ​user​ ​record​ ​access.

B.

Frequent user ownership changes based on re-alignments.

C.

Native​ ​sharing​ ​functionality​ ​does​ ​not​ ​meet​ ​requirements.

D.

Setting user ownership for standard and custom objects.

Full Access
Question # 23

Universal​ ​Containers​ ​has​ ​developed​ ​an​ ​AppExchange​ ​managed​ ​package​ ​for​ ​their​ ​distribution​ ​partners,​ ​which required​ ​a​ ​private​ ​key​ ​to​ ​be​ ​generated​ ​for​ ​each​ ​partner​ ​and​ ​used​ ​by​ ​the​ ​code.​ ​ ​Universal​ ​Containers​ ​support representatives​ ​must​ ​be​ ​able​ ​to​ ​access​ ​the​ ​private​ ​key​ ​value​ ​to​ ​debug​ ​connection​ ​issues,​ ​but​ ​it​ ​must​ ​not​ ​be possible​ ​for​ ​the​ ​partner​ ​to​ ​access​ ​the​ ​value.

How​ ​can​ ​the​ ​Architect​ ​best​ ​support​ ​this​ ​requirement?

A.

Store the value in a text field on a protected custom setting in the package.

B.

Store the value in a static variable in a class included in the managed package.

C.

Store​ ​the​ ​value​ ​in​ ​the​ ​text​ ​field​ ​on​ ​a​ ​list​ ​custom​ ​setting​ ​in​ ​the​ ​managed​ ​package.

D.

Store the value in an encrypted field on a custom object in the package.

Full Access
Question # 24

When writing test methods, what functionality is verified by the system method"runAs()"?

A.

Enforcement of a user's record sharing.

B.

Enforcement of user permissions.

C.

Enforcement of a user's field-level security.

D.

Enforcement of user's public group assignments.

Full Access
Question # 25

Which three advanced tools can Salesforce enable for large-scale role hierarchy realignments in organizations with large data volumes?

Choose 3 answers.

A.

Partitioning​ ​by​ ​Divisions

B.

Granular Locking

C.

Parallel Sharing Rule Recalculation

D.

Deferred​ ​Sharing​ ​Calculation

E.

Skinny​ ​Table​ ​Indexing

Full Access
Question # 26

At Universal Containers there is a team of auditors distributed through the organization that all need access to high-value Opportunities.

With a private sharing model, which two option should an architect recommend when designing a solution for this requirement?

Choose 2 answers

A.

Put the auditors as the highest level of the role hierarchy.

B.

Add the auditors to the default Opportunity Team.

C.

Create a criteria-based sharing rule to give access to the public group for high-value Opportunities.

D.

Create a public group and assign the Auditors to the group.

Full Access
Question # 27

Universal Containers (UC) is implementing Sales Cloud. During the final quarter of the financialyear, sales managers help each other close deals. They requested a solution in Salesforce to allow them to share opportunities with other sales managers from different teams as needed. They also requested that sharing deals should expire automatically twoweeks after the new fiscal year starts.

Which two options to propose a solution to meet the requirements? Choose 2 answers

A.

Apex Sharing to share opportunities with sales managers.

B.

Scheduled Apex job to remove access.

C.

Opportunity team to share opportunities with sales managers.

D.

Sharing Rules to share opportunities with sales managers.

Full Access
Question # 28

Universal Containers (UC) has 200 distributors that use Partner Community licenses.

Partners cannot seeeach other's data, but UC is also trying to give more visibility to data for

certain individuals at a distributor.

HOW can an Architect give users in the partner user role access to all Case and Container

records owned by any user, regardless of role, at the same distributor?

A.

Create an ownership-based sharing rule.

B.

Create sharing sets.

C.

Create a Permission Set granting "View All" permission to Case and Container records.

D.

Give super user permission to the individual partner users.

Full Access
Question # 29

Universal Containers (UC) delivers training and courses to students and companies. UC is implementing a Salesforce Customer Community for its students granting them a Customer Community license. As part of the community requirements, UC asked to give students access to cases that are related to their account in the UC community.

What is the optimum sharing technique that can achieve the requirements?

A.

Create a sharing rule to share cases with the students.

B.

Create a share group to share cases with the students.

C.

Create a sharing set to share cases with the students.

D.

Use Apex sharing to share cases with the students.

Full Access
Question # 30

A custom invoice object has been createdwith a master-detail relationship to account. The Accountreceivable (AR)teamneedsaccesstoInvoicesARusersdonotownnorhaveaccess to Accountrecords.AccountOWD is set to Private.The AR team isunable to find Invoices in Listviews,Reports,norinGlobalSearch.The Architecthasbeenasked tohelp troubleshoot. Whatcouldbethe issue preventing ARteam members from seeinginvoices?

A.

A sharing rule is missing to share Invoices to the AR team.

B.

TheARteamprofileneedstobeassignedanInvoicePagelayout.

C.

AsharingruleismissingtoshareAccountstotheARteam.

D.

The Accounts receivable profile doesnothave read Permission to the Invoice Object.

Full Access
Question # 31

Universal Containers (UC) is in legal dispute regarding several orders. UC has found out these records were removed from system. The VP of Sales has asked to ensure this cannot happen in the future. What approach would meet this requirement?

A.

Remove the delete button from the Order page layout.

B.

Change the record type/page layout assignment for orders to be read-only.

C.

Remove order delete permission from profiles and permission sets.

D.

Implement a sharing rule that changes access for the records to read.

Full Access