Labour Day Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70percent

Salesforce Sharing-and-Visibility-Architect Salesforce Certified Sharing and Visibility Architect (SP23) Exam Practice Test

Salesforce Certified Sharing and Visibility Architect (SP23) Questions and Answers

Question 1

A banking company wants their customers Date of Birth Field searchable by Banking Reps, but only editable by Customer Support Reps.

Which approach is recommended to meet this requirement?

Options:

A.

Create a Validation rule in the Data of Birth field so the rule returns true only when user.profilename matches Customer Support Rep.

B.

Set the Fled Level Security for the Date of Birth field to be Visible to Customer Support Rep Profile, and set the Date of Birth Field Visible and Read-only to Banking Rep profile.

C.

Add Date of Birth field to the Search layout of the Contact Object. Modify the Page layout assigned to Customer Support Rep and add Date of Birth field as Required.

Question 2

Which method should be used to grant access to an unrelated group of users?

Options:

A.

Public Groups

B.

Sharing Sets

C.

Role Hierarchy

Question 3

The Architect at Universal Containers has created a List View to show all open Opportunities that were created in the last month, and would like to make this list view visible to certain groups of users. Which two options are available to the Architect for sharing the List View?

Options:

A.

Public Groups

B.

Profiles

C.

Roles and Subordinates

D.

Manual Sharing

Question 4

A sales rep at Universal Containers was added to an opportunity team with Read/Write permissions.

Which action is she allowed to perform in the opportunity?

Options:

A.

Add/remove members in the opportunity team.

B.

Replace opportunity owner.

C.

Update opportunity stage.

Question 5

Universal Containers is designing a new community using the Customer Community license type. They would like to have the users complete survey questions through the community interface and store the responses in a Custom Object that has a lookup to the account object. Any internal user who has access to the account should be able to see all survey responses. All Customer Community users should be able to see surveys filled in by other users for their company, but not surveys for other companies. What are the correct security settings to achieve this?

Options:

A.

Set all Organization-Wide Default settings to be "Public Read/Write" for both internal and external users.

B.

Set all Organization-Wide Default security to be "Private" for both internal and external users and use Sharing Rules to grant the desired access

C.

Set all Organization-Wide Default security to be "Public Read/Write" for internal users and "Private" for external users.

D.

Set the custom object to be master-detail to the Account and leave the Organization-Wide Default settings as their default values.

Question 6

Universal Containers has set Opportunity Sharing to Private with Opportunity Teams enabled. Which three options can change the Owner of the Opportunity?

Choose 3 answers.

Options:

A.

Any Opportunity Team Member on the current Opportunity.

B.

The current Opportunity Owner can transfer the current ownership. 

C.

The System Administrator or a user with the "Transfer Records" permission. 

D.

The user specified as the Manager on the Owner's User Profile.

E.

Someone above the Opportunity Owner in the Role Hierarchy.

Question 7

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

Choose 3 answers.

Options:

A.

Partitioning​ ​by​ ​Divisions

B.

Granular Locking

C.

Parallel Sharing Rule Recalculation

D.

Deferred​ ​Sharing​ ​Calculation

E.

Skinny​ ​Table​ ​Indexing

Question 8

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?

Options:

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.

Question 9

Universal Containers has the following requirements:

* The Commercial Account and Consumer Account support departments should not collaborate. 

* The Commercial and Consumer sales users roll up to the same VP of Sales, but there should be no collaboration between sales departments.

* The Commercial sales department should share its customers with the Commercial support department.

* The Consumer sales department shares its customers with the Consumer support department. 

* The Commercial and Consumer support departments roll up to the same Support Director. 

* The sales departments will remain the Account Owner for the Accounts that they sell to.

What is the recommended Org-Wide Sharing Default for Accounts, and how would the

Architect enable proper Commercial and Consumer Sales to Support Account Sharing for this scenario?

Options:

A.

Private Account Sharing with Sharing Rules from Commercial Sales Role(s) to Consumer Support Role(s) and Consumer Sales Role(s) to Commercial Support Role(s).

B.

Private Account Sharing with Sharing Rules from Commercial support Role(s) to Commercial Support Role(s) and Consumer Sales Role(s) to Consumer Support Role(s).

C.

Read-Only Account Sharing with Sharing Rules from Commercial Sales Role(s) to Consumer Support Group(s) and Consumer Sales Role(s) to Commercial Support Groups(s).

D.

Private Account Sharing with Sharing Rules from Commercial Sales Group(s) to Commercial Support Groups(s) and Consumer Sales Group(s) to Consumer Support Group(s).

Question 10

Which users have access to Opportunity records owned by an external user, assuming no other changes to the sharing model have been implemented?

Options:

A.

The​ ​record​ ​owner​ ​and​ ​any​ ​user​ ​above​ ​the​ ​external​ ​user​ ​in​ ​the​ ​role​ ​hierarchy.

B.

The record owner only.

C.

The record owner and any user below the external user in the role hierarchy.

D.

The record owner and all internal users.

Question 11

Universal Containers has a private sharing model on Accounts. Apex Managed Sharing is required to share certain account records with all users who are assigned to a specific Role in the Role Hierarchy. What should be the recommended way for the Architect to implement this?

Options:

A.

Create​ ​an​ ​AccountShare​ ​record​ ​associated​ ​to​ ​a​ ​public​ ​group​ ​containing​ ​the​ ​Users​ ​in​ ​the​ ​Role.

B.

Create an AccountShare record associated to each user who is assigned to the Role.

C.

Create an AccountShare record associated to the required Role.

D.

Create an AccountShare record associated to a public group containing the Role.

Question 12

Universal Container has a set of Account management users that should only see accounts once the account becomes a customer. The type field on the Account identifies whether the account is a prospect, customer, partner, or other. Which two methods could an Architect use to enable this sharing requirement, assuming a private sharing model for accounts? Choose two:

Options:

A.

Create a public list view, where accounts of type customer are included and share the list view with account management public group

B.

Institute a business process that calls for the account manager to be added to the account team once the account becomes a customer

C.

Create an account sharing rule that shares all accounts owned by sales to be shared with account management roles and subordinates

D.

Create a criteria-based sharing rule that shares the account to the account management group when the type is customer

Question 13

A banking company uses & VIP Flag in the Contact Object that they want only Private Banking Reps to see. Which approach is recommended to meet this requirement?

Options:

A.

Set the Field Level Security for the VIP Flag field so that it is visible to Private Banking Rep Profile.

B.

Define a page layout for Contact Object and add the VIP Flag field for that layout. Remove the VIP Flag field from other layouts.

C.

Change the type of VIP Flag field to a picklist, define a new record type for the Contact Object and make the picklist field available for Editing.

Question 14

Universal Containers has a custom object to maintain Job information with a private sharing model. The Delivery group is distributed through the Role Hierarchy based on geography. As the Delivery group often collaborates on Jobs, all users in the Delivery profile required View access to all Job records. In special case, the Delivery user who owns a job must be able to grant a Product Development user access to a Job record. Which two platform features can be used to support these requirements?

Choose 2 answers

Options:

A.

Criteria-based Sharing Rules

B.

"View All" Profile settings

C.

Owner-based Sharing Rules

D.

Manual Sharing

Question 15

Universal​ ​Containers​ ​wants​ ​to​ ​store​ ​Payment​ ​Term​ ​Details​ ​on​ ​the​ ​Account​ ​object,​ ​but​ ​the​ ​fields​ ​should​ ​only​ ​be visible​ ​on​ ​certain​ ​record​ ​types​ ​and​ ​for​ ​certain​ ​user​ ​profiles.

How​ ​can​ ​a​ ​System​ ​Administrator​ ​quickly​ ​determine​ ​which​ ​user​ ​profiles,​ ​page​ ​layouts,​ ​and​ ​record​ ​types include​ ​certain​ ​fields?

Options:

A.

Log in as each user profile and view the Account Page Layouts.

B.

Use​ ​the​ ​Field​ ​Accessibility​ ​Viewer​ ​for​ ​the​ ​fields​ ​in​ ​question

C.

Universally require the field at the field level.

D.

Click the Field-Level Security for the field on each Profile.

Question 16

Which two are potential vulnerabilities in the following code snippet? public class SOQLController { public String name { get { return name;} set {name=value;} } public PageReference query() { String qryString='SELECT Id FROM Contact WHERE '+ '(IsDeleted = false and Name like \'%' + name + '%\'}'; queryResult = Database.query(qryString); retunr null; } } Choose 2 answers

Options:

A.

FLS check

B.

SOQL Injection

C.

Data Access Control

D.

Arbitrary Redirects

Question 17

How should the Architect ensure that OBJECT-LEVEL SECURITY is enforce within a custom Visualforce application that was a standard Apex controller on the Lead object?

Options:

A.

Use the runAs() method to enforce user permissions in the Apex controller.

B.

Use the Schema.DescribeSObjectResultisAccessible() method in the Apex controller. 

C.

Use the {!$ObjectType.lead.accessible} expression within the Visualforce page.

D.

Use the "With Sharing" keyword when defining the Visualforce page.

Question 18

Universal Container (UC) is in a legal dispute regarding several orders. UC has found out these records VP of Sales has asked to ensure this cannot happen in the future.

What approach would meet this requirement?

Options:

A.

Remove Order delete Permission from Profiles and Permission Sets

B.

Implement a Sharing Rule that changes access for order to Read.

C.

Remove the Delete button from the Order Page Layout.

D.

Change the Record Type/Page Layout assignment for orders to be Read Only.

Question 19

Universal​ ​Containers​ ​would​ ​like​ ​to​ ​restrict​ ​users'​ ​access​ ​to​ ​export​ ​reports

What​ ​option​ ​supports​ ​this​ ​requirement?

Options:

A.

Remove the "Report Manager" user permission.

B.

Remove the Export button from the report page layout.

C.

Remove "Allow Export" on the report folder settings.

D.

Remove​ ​the​ ​"Export​ ​Reports"​ ​profile​ ​permission.

Question 20

Universal Containers uses the Case object to track service tickets. They have implemented Case teams to allow multiple support representatives to manage the Cases. Which two "Filter by owner" options would the user see while creating a list view on the Case object? Choose 2 answers

Options:

A.

Public Groups

B.

Roles

C.

Queue

D.

My Case Teams

Question 21

The System Administrator at Universal Containers has created two list views called ListV1 and ListV2. One group of users should only see ListV1 and the second group of users should only see ListV2. Two public groups were created to restrict visibility to the respective list views. However, users in both groups are able to see both list views. What system permission in their profile enabled the users to see all list views?

Options:

A.

Manage Custom List Views

B.

Manage Private List Views

C.

Manage​ ​Public​ ​List​ ​Views

D.

Manage Custom Permissions

Question 22

A company intends bring work from anywhere culture in a bid to improve productivity. Their sellers use wide variety of devices with different form factors. The company currently uses one page layout to display opportunity record details to the sellers. The Regional Vice President of Seles is complaining about incorrect alignment of data in opportunity records, making it difficult for some sellers.

Which steps are recommended to rectify this?

Options:

A.

Use a visualforce override for Opportunity view action, identify the form factor onLoad action and display relevant layouts based on form factors,

B.

Use Dynamic Form to define different field sections applicable for different form factors of devices.

C.

Use a custom LWC override for Opportunity view action, identify form factor onLoad action and display relevant layouts based on form factors.

Question 23

Universal Containers has two custom objects: Job and Job Interview. The Job Interview object has a lookup relationship to Job. Both objects are set to Private in sharing settings. The HR team will own all Job and Job Interview records. They have asked their Salesforce Architect to automatically share the Job Interview when the Interviewer (lookup to user record) has been populated. The interviewer can be from any department. What method should the Architect use to achieve this requirement?

Options:

A.

Build apex Managed Sharing code to share Job Interview with the Interviewer user

B.

Build a criteria-based sharing rule between the Job Interview and the Interviewer

C.

Build a standard sharing rule between Job Interview and the Interviewer

D.

Build a workflow email notification to notify the interviewer of the record assignment

Question 24

What​ ​is​ ​required​ ​to​ ​implement​ ​Filter-Based​ ​Opportunity​ ​Territory​ ​Assignment?

Options:

A.

Define an account assignment with a filter criteria rule for Filter-Based Opportunity Territory Assignment.

B.

Define a Territory assignment rule with filter criteria for Filter-Based Opportunity Territory Assignment.

C.

Define​ ​a​ ​custom​ ​Apex​ ​class​ ​for​ ​Filter-Based​ ​Opportunity​ ​Territory​ ​Assignment​ ​in​ ​the​ ​system.

D.

Define an Opportunity assignment rule with filter criteria for Filter-Based Opportunity Territory Assignment.

Question 25

Universal Containers (UC) operates worldwide, with offices in more than 100 regions in 10 different countries, and has established a very complex Role Hierarchy to control data visibility. In the new fiscal year, UC is planning to reorganize the roles and reassign account owners.

Which feature should an architect recommend to avoid problems with this operation?

Options:

A.

Skinny table

B.

Partition data using Divisions

C.

Deferred Sharing Recalculation

Question 26

Universal​ ​Containers​ ​would​ ​like​ ​to​ ​customize​ ​the​ ​security​ ​and​ ​sharing​ ​features​ ​of​ ​Salesforce​ ​Account​ ​Teams. They​ ​have​ ​decided​ ​to​ ​implement​ ​a​ ​Custom​ ​Account​ ​Team​ ​object.​ ​ ​They​ ​would​ ​like​ ​the​ ​new​ ​enhancement​ ​to include​ ​all​ ​of​ ​the​ ​features​ ​of​ ​the​ ​existing​ ​account​ ​team,​ ​but​ ​also​ ​utilize​ ​Apex​ ​and​ ​Visualforce​ ​on​ ​the​ ​custom Account​ ​Team​ ​object​.

Which two different approaches should the Architect consider when designing this enhancement?

Choose 2 answers

Options:

A.

The​ ​need​ ​to​ ​synchronize​ ​the​ ​AccountTeamMember​ ​object​ ​with​ ​the​ ​Custom​ ​Account​ ​Team​ ​object data.

B.

The​ ​need​ ​to​ ​maintain​ ​the​ ​Account_share​ ​object​ ​based​ ​upon​ ​the​ ​Custom​ ​Account​ ​Team​ ​object​ ​data.

C.

The need to dynamically create Criteria-Based Sharing rules with Custom Account Team object data.

D.

The need to customize Account screens in Visualforce, as the Account_share object cannot be maintained programmatically.

Question 27

Universal Containers (UC) wants to reduce the amount of redundant leads entered into the system. UC also only edited/reassigned by the lead owner.

What organization-wide default (OWD) approach should be recommended to help UC implement these requirements?

Options:

A.

Implement a Public Read Only OWD on Lead.

B.

Implement a Public Read Only/Transfer OWD on Lead

C.

Implement a private OWD on Lead.

D.

Implement a Public Read/Write OWD on Lead.

Question 28

Universal Containers has created a custom object to store highly confidential client relationship data with Private sharing settings. Which two options would an Architect choose to ensure access only to the record owner and the administrator?

Choose 2 answers.

Options:

A.

Disable​ ​"Grant​ ​Access​ ​Using​ ​Hierarchies."

B.

Disable the "Create" permission on all other profiles.

C.

Disable the "Read" permission on all other profiles.

D.

Disable​ ​the​ ​"View​ ​All"​ ​permission​ ​on​ ​all​ ​other​ ​profiles.

Question 29

Which two options provide implicit record access to users? Choose 2 answers

Options:

A.

Read-only access to parent account for a user, based on a criteria-based sharing rule

B.

Read-only access to parent account for a user with access to a child case

C.

Access to child opportunities for the owner of the parent account

D.

Access to related leads for the owner of the parent campaign

Question 30

What is the best practice for testing sharing and visibility changes?

Options:

A.

Use Administrative and User reports to view the Active Users.

B.

Use the Login As feature for a sample user in each role and profile.

C.

Use Field Audit Trail to audit the field meta-data and visibility. 

D.

Use the Sharing button to test Profile and Permission set changes.

Question 31

Below are some details regarding the organization at Universal containers:

1. Richard and Kevin are the east sales reps and their manager is Karen the East sales executive. 

2. Sam and Wilder are West sales reps and the manager is Wendy, the West sales executive.

3. Bob is the CEO and managers both Karen and Wendy

Universal containers role hierarchy follows their management structure. Richard owns an account, NewCompany, and Kevin owns an account, OldCompany. Karen manually shared her account NewWorld with Kevin. However, she has moved to a new role to lead all Named Accounts, and Phil, who replaced her, is the new owner of NewWorld. Which employees will have access to the NewWorld account?

Options:

A.

Bob and Phil

B.

Bob, Richard, Phil and Kevin 

C.

Bob, Karen and Kevin

D.

Bob, Phil and Kevin

Question 32

Universal Container is a global Telco that has recently implemented enterprise territory management to better align their sales teams and sales processes. They are in Q4 of the FY and they have completely revamped their territory structure and created a plan for a new structure that would support the new FY. Their current territory model has 8k territories. Their new model would be a new set of 8,5K territories, and their org limit is 10k. What enterprise territory management feature can US take advantage of in order to help them stay within their org limits?

Options:

A.

Territory type priority

B.

Territory Type

C.

Territory Model State

D.

​​​Territory Hierarchy

Question 33

Universal Containers has Controlled by Parent sharing settings on the Contact object and Public Read Only sharing settings on Account, Opportunity, and Case objects. Which two options can the user see while adding Account team members to the Account?

Options:

A.

Case​ ​Access

B.

Opportunity​ ​Access

C.

Contact Access

D.

Activity Access

Question 34

The sales managers at the Universal Containers (UC) requested their teams to define each user’s role

on their accounts in order to provide an easy way to establish accountability and collaboration. Sales

managers also requested that sales associates should only get the following permissions:

● Read access to the accounts.

● Read access to cases related to the accounts

● No access to deals related to the accounts

The sales associates may be granted access to opportunities when needed.

Assuming the overall sharing model of the organization is private and no sharing rules are configured on

the account objects. How can an Architect achieve these requirements?

Options:

A.

Use Account teams and use Sharing rules to share cases with sales associates. No change required to the opportunity object

B.

Use Account teams, Case teams. No configuration required for the opportunity object.

C.

Use Account teams, Opportunity teams, and Case teams.

D.

Use Account Teams to define access to accounts as well as opportunities and cases related to accounts

Question 35

The Finance team at Universal Containers usually does not need access to Account and Contract records A given Opportunity access for a big deal to help with tax calculation. She can now also access Account and C.

Which two reasons could be causing this issue? Choose 2 answers

Options:

A.

Contact records can be accessed due to implicit sharing from Account.

B.

Account records can be accessed due to implicit sharing from Opportunity.

C.

Contact records can be accessed due to implicit sharing from Opportunity.

D.

Account records can be access due to role hierarchy.

Question 36

Bob uploads a PDF to his Files Home private library.

Who can view this file?

Options:

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

Question 37

Universal Containers (UC) has a mostly private organization-wide default (OWD), as it is a core principle of UC to respect client data privacy. UC has implemented complex processes for granting access to Opportunity data. A few key members of the Sales Reporting team need to always be able to see, but not change, Opportunity data for all Opportunities.

What should an architect recommend as an approach to meet these requirements?

Options:

A.

Create a Permission Set that grants "View All Data" Permission.

B.

Make Opportunity OWD read-only.

C.

Give "View All Data" Permission to the Sales Reporting Profile.

D.

Create a Permission Set that grants "View All" permission for Opportunity.

Question 38

Universal Containers (UC) implemented Sales Cloud and requested that sales agents have access to products the company sells and be able to create opportunities for its customers.

What should the Organization-Wide Defaults (OWD) be for pricebook?

Options:

A.

Public Read Only

B.

Pubic Read Write

C.

View

D.

Use

Question 39

Universal Containers (UC) has 600 sales reps. UC has rollout plan to deploy salesforce in 3 weeks. At the end of the second week, they received a “User Role Limit Exceeded” error.

After investigation, they discovered that during the user provisioning process, a new role was generated for every new user.

Which two recommendations could solve this problem?

Choose 2 answers.

Options:

A.

Review the user provisioning process to not automatically create a user role for any new user.

B.

Remove role hierarchy from salesforce org and control the record access using apex managed sharing.

C.

Contact salesforce support and request to increase the number of users’ roles allowed.

D.

Create an Apex class to replace the User Roles by generic one as soon as they are created.

Question 40

Which two objects support creating queues?

Choose 2 answers.

Options:

A.

Account.

B.

Opportunity.

C.

Lead.

D.

Case.

Question 41

Universal Containers (UC) provides shipment tracking for its customers on a custom Shipment object. The .. yearly by the customers should be available on the Account record to the Marketing team, but the Marketing Shipment records.

What recommend should an Architect provide to accomplish this?

Options:

A.

Public organization-wide default on Shipment, process builder, and lookup relationship to Account.

B.

Private organization-Wide default on Shipment, rollup summary, and Master-Detail relationship to Account.

C.

Controlled by Parent (Account) on Shipment, trigger, and trigger, and Master-Detail relationship to Account.

D.

Private organization-wide default on Shipment, trigger, and Lookup relationship to Account,

Question 42

Universal Container has developed a custom Visualforce page that will accept user input and must prefer returning the results to the users.

Which two techniques should be used to ensure the users cannot perform a SOQL injection attack?

Options:

A.

Escape double quotes in the user input.

B.

Use bind variable in the SOQL query.

C.

Use the escapesinglequotes() method to sanitize user input.

D.

Use the with Sharing keyword on the controller.

Question 43

Universal containers has a customer that meets criteria for two Enterprise Territory

Management territories (Portugal and Southern Europe). What is necessary to assign

opportunities to a territory for this account?

Options:

A.

Create a process builder process that updates the territory field on the opportunity.

B.

The territory with the highest territory type priority is automatically assigned to the opportunity.

C.

Create an Apex class that implements Filter-Based Opportunity Territory Assignment.

D.

Create a criteria-based sharing rule on the opportunity to assign it to a territory

Question 44

Mary is Joe's manager in the role hierarchy. The OWD for a custom Invoice object is Public ReadOnly and Mary's profile is not granted the Read permission for the Invoice object.

What action can Mary take on Joe's Invoice records?

Options:

A.

Read/Write

B.

Edit Only

C.

None

D.

View Only

Question 45

Universal Containers (UC) is a fast-growing company that sells containers globally. It has thousands of dealerships throughout the world where local dealers service containers. UCimplemented a new Partner Community for its dealers. Each dealership has a dealer manager who manages the service agents. The community-sharing model is private.

What is the optimal option to give dealer managers visibility to customer cases only raised by their service agents?

Options:

A.

Change external organization-wide default of case object to public read only.

B.

Create a sharing rule to share cases created by service agents with their dealer manager.

C.

Using the role hierarchy, the cases raised by service agents will be visible to their relevant dealer managers.

D.

Create a sharing set to share cases created by service agents with their dealer manager.

Question 46

Universal Containers (UC) has a business unit that uses a custom object to track requests which demands a high level of internal team collaboration. Although all requests must have an owner, all employees are required to collaborate on requests.

Which recommendation should a Salesforce architect provide to optimize the solution and meet these requirements?

Options:

A.

Set the Request object's OWD to Public Read/Write.

B.

Set the Request object's OWD to Private and grant Modify All Data permission on all Profiles for the Request object.

C.

Set the Request object's OWD to Private and criteria-based sharing rule to share all Request records with all internal users.

D.

Set the Request object's OWD to Public Read Only and configure role hierarchy.

Question 47

Universal Computers (UC) is looking to expand its delivery capabilities through a network of

distributors that use a Partner Community license. UC employees currently can view all delivery

records through the organization-wide default (OWD) setting of Public Read Only.

Which approach would an architect recommend to limit the records a distributor can see?

Options:

A.

Create an ownership-based sharing rule to grant access to the distributor.

B.

Remove Read permission from the distributor profile.

C.

Set the External OWD to Private for the Delivery object.

D.

Create a criteria-based sharing rule to grant access to the distributor

Question 48

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 to misconfigured 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?

Options:

A.

The Grant Access 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.

Question 49

Universal Containers (UC) uses a custom lightning component with an Apex class to display

shipment information (custom object, private OWD). UC sales managers are complaining

about two important points:

● Shipment records that belong to their teams can be seen by other users.

● Shipment amount should be visible only by managers, but sales reps are able to view it. Which two features did the development team miss that is causing the problems?

Choose 2 answers.

Options:

A.

Use run as in test class to enforce user permissions and field-level permissions.

B.

Use with Sharing keyword in Apex classes to enforce sharing rules evaluation.

C.

Use is Sharable keyword in Apex classes to assure record visibility.

D.

Use isAccessible() method in Apex classes to check field accessibility

Question 50

Universal Containers (UC) enables customers to manage issues using a customer

Community license. The Case external organization-wide default is set to Private. Currently community users can only see cases they created.

What can be done to allow community users to see all cases for their account?

Options:

A.

Write an Apex class to create manual shares for these users.

B.

Ensure the criteria-based sharing rule applies to all users.

C.

Create a sharing set for these customers.

D.

Upgrade the licenses to Customer Community Plus.

Question 51

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?

Options:

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.

Question 52

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

Options:

A.

Set external organization-wide default to public read only

B.

Skinny Table Indexing

C.

Granular locking

D.

Partitioning by Divisions

Question 53

The sales manager in Japan have asked the sales manager in Australia to assist them with closing their deals.

How are these requirements achieved?

Options:

A.

Use sharing set to give the sales manager access to the deals.

B.

Create ownership-based sharing rule.

C.

Use opportunity teams to automatically add the sales manager as a team member.

D.

Assign the sales manager View All on the opportunity object.

Question 54

Ursa Major Solar is writing test methods.

Which functionality does the system method "runAs()” Verify?

Options:

A.

Enforcement of a user's public group assignments.

B.

Enforcement of a user's field-level security.

C.

Enforcement of user's permissions.

D.

Enforcement of a user's record sharing

Question 55

Universal Container (UC) wants all full-time internal employees to be able to view all leads. A subset of employees should also be able to see leads.

Which organization default (OWD) approach should an architect recommend that will help US implement these requirement?

Options:

A.

Implement a Public Read/write OWD on Lead

B.

Implement a Public Read only OWD on Lead

C.

Implement a Public Read/write/Transfer OWD on Lead.

D.

Implement a Private OWD on Lead.

Question 56

Universal Containers (UC) has a team that analyzes customer orders looking for fraud. This team needs access to Invoice records (Custom object, Private OWD). UC \as complex rules to control users' access. The Salesforce Architect recommended using Apex managed sharing to meet these requirements.

Which two recommendations should a Salesforce Developer consider when implementing the changes7 Choose 2 answers

Options:

A.

Use "With Sharing" keyword to make sure record visibility will always be considered.

B.

Use "Without Sharing" keyword to make sure record visibility will be considered.

C.

Use runAs system method to test different users accessing these records.

D.

Use "With Sharing" keyword to enforce field-level security.

Question 57

Universal containers (UC) has a partner community for its 200 distributors. UC customer accounts are .. organization-wide default setting for the custom Delivery object is private.

How can an architect advise UC to grant all users at a distributor access to delivery records for all customer distributor?

Options:

A.

Create a Sharing set for the Distributor profile to grant access to the Delivery object.

B.

Create a criteria-based sharing rule that shares delivery records matching the Distributor to user distributor.

C.

Give ownership of the delivery record to a distributor user.

D.

Create a criterion- based sharing rule that shares delivery records matching the Distributor to users of a Public Group created for the distributor.

Question 58

What vulnerability can exist when controllers use dynamic rather than static queries and bind variables?

Options:

A.

SOQL Injection.

B.

Buffer Overflow Attacks.

C.

Cross-site scripting.

D.

Record Access Override.

Question 59

A custom ServiceFeedback object is used to collect partner feedback. ServiceFeedback

records should be available to all internal employees. The OWD is set to Private for external

users so partners cannot see feedback from other partner users.

How can the Architect give access to all internal employees?

Options:

A.

Create a trigger on ServiceFeedback to change ownership to an internal employee.

B.

Ensure all the internal users are above the partners in the role hierarchy.

C.

Create an Owner based sharing rule for all ServiceFeedback records owned by Partners.

D.

Set OWD, for Internal Users to Public Read Only.

Question 60

Universal Containers provides 24x7 support for its customers worldwide using call centers

in three different countries with each one covering an 8-hour shift in different time zones. Service reps in a call center have access to the same information but only during their local working hours.

Which feature in Salesforce controls access for specific login hours?

Options:

A.

Set the login hours on user records

B.

​Permission sets

C.

Custom permissions

D.

Profiles

Question 61

Universal Containers (UC) uses a custom Visualforce page to display shipment 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 shown to the users?

Options:

A.

isReadable()

B.

isShowable()

C.

isAccessible()

D.

isViewable()

Question 62

Universal Containers (UC) has implemented Customer Community with customer community plus licenses for their distributors. Some distributors requested granting specific community users (agents) to view cases submitted by other agents of the same distributor.

Which feature only supports these requirements?

Options:

A.

Permission set to grant community admin permission

B.

Delegate external user

C.

Partner super user

D.

Partner community admin.

Question 63

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

Choose 2 answers

Options:

A.

Roles

B.

Public Groups

C.

Users

D.

Profiles

Question 64

Universal Containers (UC) is implementing Sales Cloud. During the final quarter of the financial year, 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 two weeks after the new fiscal year starts.

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

Options:

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.

Question 65

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

Partners cannot see each other’s data, but UC is also trying to give more visibility to certain individuals at a distributor. Which scalable solution would an architect recommend that will

give users in the partner manager role access to all Case and Container records owned byother partner managers and partner users (but not the partner executive) at the same distributor?

Options:

A.

Create Sharing sets.

B.

Create a permission set granting the View All permission to Case and Container records.

C.

Give Super User permission to the partner manager users.

D.

Create ownership-based sharing rules for your distributors.

Question 66

Universal Containers (UC) has a custom Apex class that enforces a business process and updates opportunity field-level security permissions of read only certain user's profiles are being updated by their class.

How should the architect fix this problem?

Options:

A.

Put the code in an class that uses the With Sharing keyword.

B.

Use the IsUpdateable() Apex method to test each field prior to allowing updates.

C.

Use the with SECURYT_ENFORCED keyword in the SOQL statement.

D.

Add with Sharing keyword to the class.

Question 67

The Corporate Identity and Access Team needs to audit User setup in the Salesforce ..

What two permissions should be granted to this team so they can perform their audit?

Choose 2 answers

Options:

A.

View permission on the User object

B.

View Setup and Configuration

C.

View All Users

D.

View All Data