After testing and deploying a new trigger that creates a related order when an opportunity is closed, the Architect starts receiving complaints that permission-error messages appear when an opportunity is closed.
How did this error occur?
AThe trigger handlers class does not use any sharing keywords and the user does not have access to the orders related to the opportunity.
BThe trigger handler class is using “with sharing” and the user does not have access to the orders related to the opportunity.
CThe trigger should be using RunAs() when creating the order.
DTrigger is using IsCreateable() Apex method and the user does not have create permission on the Order object.
0
Community Discussion
No comments yet. Be the first to start the discussion!
Sales executives at Universal Containers (UC) want to create list views that filter for large, at-risk Opportunities. These list views must be available only to certain executives who specialize in closing problematic deals.
How can UC meet this requirement?
AShare the List Views with the appropriate Public Group.
BShare the List Views with the appropriate individual users.
CShare the List Views with the appropriate Role in the Role Hierarchy.
DShare the List Views with the appropriate Queue.
0
Community Discussion
No comments yet. Be the first to start the discussion!
Universal Containers (UC) provides training and courses to students and companies. UC is implementing a Salesforce Customer Community for its students and assigning them a Customer Community license. As part of the community requirements, UC needs to give students access to cases related to their account in the UC community.
What is the optimal sharing technique to meet these requirements?
ACreate a sharing set to share cases with the students.
BCreate a sharing rule to share cases with the students.
CCreate a share group to share cases with the students.
DUse Apex sharing to share cases with the students.
0
Community Discussion
No comments yet. Be the first to start the discussion!
No comments yet. Be the first to start the discussion!
0
Community Discussion
No comments yet. Be the first to start the discussion!
0
Community Discussion
No comments yet. Be the first to start the discussion!
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
0
Community Discussion
No comments yet. Be the first to start the discussion!
0
Community Discussion
No comments yet. Be the first to start the discussion!
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
0
Community Discussion
No comments yet. Be the first to start the discussion!
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Universal Containers (UC) has predominantly private organization-wide defaults (OWD), because respecting client data privacy is a core UC principle. UC has implemented complex processes to grant access to Opportunity data. A few key Sales Reporting team members must always be able to view, but not modify, Opportunity data for all Opportunities.
What approach should an architect recommend to meet these requirements?
ACreate a Permission Set that grants “View All Data” Permission.
BCreate a Permission Set that grants “View All” permission for Opportunity.
CGive “View All Data” Permission to the Sales Reporting Profile.
DMake Opportunity OWD read-only.
At Universal Containers, a team of auditors is distributed across the organization and all require access to high-value Opportunities.
With a Private sharing model, which two options should an architect recommend when designing a solution for this requirement?
Choose two
ACreate a public group and assign the Auditors to the group.
BAdd the auditors to the default Opportunity Team.
CPut the auditors as the highest level of the role hierarchy.
DCreate a criteria-based sharing rule to give access to the public group for high-value Opportunities.
Get Cloudy Consulting has a custom Contract object for which the Org-Wide Defaults must be set to Private. The Contract record owner will be the Contract Origination Officer, and each Contract record must be shared with a specified Underwriter on a contract-by-contract basis. Underwriters must see only the Contract records to which they are assigned.
Which recommendation appropriately meets these requirements?
ACreate a master-detail relationship from the Contract to the User object. Contract records will be automatically shared with the Underwriter.
BUse criteria-based sharing rules to share the Contract object with the Underwriter based upon the criteria defined in the criteria-based sharing.
CCreate an Apex Sharing Reason on the Contract object that shares the Contract with the Underwriter based upon the criteria defined in the Sharing Reason.
DCreate a lookup relationship from the Contract object to the User object. Use a trigger on the Contract object to create the corresponding record in the Contract Share object
Cloud Kicks has the following configuration and requirements:
A strict software architecture for its custom Apex code.
All SOQL queries must reside in reusable classes.
Based on the context of the Apex transaction, the queries must be able to run either “With Sharing” or “Without Sharing”.
Which two methods satisfy these requirements?
Choose two
A
Create a SystemSOQLQueries class and a UserSOQLQueries class.2. Set the “With Sharing” keyword on the UserSOQLQueries class and “Without Sharing” on the SystemSOQLQueries class.
B
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
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
Create a reusable SOQLQueries class.2. Do NOT specify “With” or “Without Sharing” on the SOQLQueries class.
A Cloud Kicks IT team member is developing an integration in a managed package for their internal org that must log in to an external system. The endpoint requires basic authentication.
Which three methods should an Architect recommend for securing credentials such as a username and password in this scenario?
Choose three
AStore the credentials in protected custom settings that are used in the Apex Callout
BStore the credentials in Named Credentials that are used in the Apex Callout
CStore the credentials in the Apex code, which will NOT be available to non-admins
DStore the credentials in a custom object using encrypted fields
EStore the credentials in protected custom metadata that are used in the Apex Callout
Universal Containers (UC) has a team that analyzes customer orders for fraud. The team requires access to Invoice records (a custom object with Private OWD). UC uses complex rules to control user access. The Salesforce Architect recommends Apex managed sharing to meet these requirements.
Which two recommendations should a Salesforce Developer consider when implementing these changes?
Choose two
AUse runAs system method to test different users accessing these records.
BUse “Without Sharing” keyword to make sure record visibility will be considered.
CUse “With Sharing” keyword to make sure record visibility will always be considered.
DUse “With Sharing” keyword to enforce field-level security.
Cloud Kicks recently decided to modify its role hierarchy.
After this change was deployed, multiple Cloud Kicks staff members reported to management that they can now view reports they do not own and should not be able to access.
What should the Architect do to evaluate the cause of this issue?
AWhile logged in as one of the staff members, navigate to their user record and inspect their profile and role membership.
BWhile logged in as the System Administrator, navigate to a sample account and use the Sharing button to determine who has access.
CWhile logged in as the one of the staff members, navigate to a sample account and use the Sharing button to determine who has access.
DWhile logged in as the System Administrator, use the Field Accessibility Viewer to view a matrix of who has access to Accounts.
Universal Containers (UC) has implemented Sales Cloud and requires sales agents to access the products it sells and create opportunities for its customers.
What should the Organization-Wide Default (OWD) for price books be?
AView
BUse
CPublic Read Only
DPublic Read Write
Universal Containers (UC) sales managers report that they cannot access their teams’ Shipment records (a custom object). At first, the admin suggested this was caused by a misconfigured role hierarchy (Shipment OWD is Private). After investigating, they confirmed that the role hierarchy for these users is correct.
What could be the reason that Universal Containers sales managers cannot view Shipment records?
ASales managers have only the Read permission on the Shipment object and should not be able to edit their team records.
BOwnership-based sharing rule for Shipment was incorrectly disabled by the Salesforce admin.
CRole hierarchy implicit sharing was incorrectly disabled by the Salesforce admin.
DThe Grant Access Using Hierarchies option on Shipment Sharing Settings was incorrectly disabled by the Salesforce admin.
Cloud Kicks uses Group Maintenance tables.
Which two types of access grants are stored in these tables?
Choose two
AImplicit grants
BExplicit grants
CGroup Membership grants
DInherited access grants
Review the organizational information below for DreamHouse Realty:
Ryan and Kimberly are the East sales reps, and Katrina, the East sales executive, is their manager.
Sam and Wilder are West sales reps, and Bob, the West sales executive, is their manager.
Wendy is the CEO and manages both Katrina and Bob.
DreamHouse Realty’s role hierarchy mirrors its management structure. Ryan owns an account, NewCompany, and Kimberly owns an account, OldCompany. Katrina manually shared her account, NewWorld, with Kimberly. However, Katrina has moved into a new role leading all Named Accounts, and Lucy, her replacement, is now the owner of NewWorld.
Which employees have access to the NewWorld account?
AWendy and Lucy
BWendy, Ryan, Lucy, and Kimberly
CWendy, Katrina, and Kimberly
DWendy, Lucy, and Kimberly
Cloud Kicks plans to establish a new integration with its ERP system. Its goal is to synchronize contacts in the ERP shipping tables with contacts in its CRM so sales reps can see current contact information. Cloud Kicks has the following environment:
The integration operates under a dedicated Integration User at the top of the role hierarchy.
The Organization-Wide Default sharing setting for Accounts is Private, and Contacts is Controlled by Parent.
100,000 contacts have account data in the ERP system but have no corresponding Accounts in Salesforce.
An Architect must design the solution so the sales team can view the contacts and no performance issues occur.
What should the Architect do?
A
Have the integration create both contacts and their corresponding accounts.2. Use an Account sharing rule to grant sales reps access to the contacts.
B
Have the integration create the contacts under one dedicated account record.2. Use an Account sharing rule to grant sales reps access to the contacts.
C
Have the integration create the contacts with Salesforce without an account.2. Use a Contact sharing rule to grant sales reps access to the contacts.
D
Have the integration create both the contacts and their corresponding accounts.2. Use a Contact Sharing rule to grant sales reps access to the contacts.
Get Cloudy Consulting wants to build a custom team solution for use on a custom Loan object. The Loan custom object must be set to Private in the Org-Wide Defaults, and every user added to the Custom Team object must receive Read Only access to the related Loan record. Additionally, when the Custom Team record is marked as “Primary,” the related user must receive Read/Edit access to the corresponding Loan record.
What are two methods for meeting these requirements?
Choose two
ACreate a custom trigger on the Custom Team object that inserts or updates records in the Loan_share object
BCreate Apex Sharing Reasons on the Loan object to identify the reason the Loan record was shared
CCreate a criteria-based sharing rule on the Loan object that will share the Loan record with the appropriate user in the Custom Team object
DCreate an owner-based sharing rule on the Custom Team object that will share the Loan record to the owner of the Custom Team record
Get Cloudy Consulting has the following environment:
A global 24×7 Salesforce implementation supporting Marketing, Order Management, Sales, and other miscellaneous business divisions.
A nested territory hierarchy, 12,000 sales users, and 22,000 support agents.
Daily territory changes.
High demand for new applications and platform changes.
New platform releases every two weeks, based on an agile development model.
An Architect must help Get Cloudy Consulting recover the system following a maintenance restart on Salesforce servers. Which Salesforce feature should the Architect use to meet this goal?
Ursa Major Solar wants to improve performance for the following:
“Record Access”
“Sharing Calculations”
Which three areas should an Architect review to help Ursa Major Solar meet this goal?
Choose three
AOpportunity data, to ensure that no Account has more than 10,000 Opportunity records that are related to it
BCustom Object data, to ensure that no Account has more than 10,000 Custom Objects that look up to it
CRecord ownership, to ensure that no user owns more than 10,000 Object records in the system
DCase data, to ensure that no Account has more than 10,000 Case records that are related to it
EApex Managed Sharing triggers, to ensure that no trigger id querying more than 10,000 Object records
Get Cloudy Consulting must implement a solution to store proprietary data in Salesforce. Users who own an Account must be restricted to viewing only the invoices that they or their subordinates own.
Which two features should Get Cloudy Consulting consider when implementing this solution?
Choose two
ADeploy the Relationship between Accounts and the Invoices Object as Lookup
BDeploy the Relationship between Accounts and the Invoices Object as Master-Detail
CEnsure a Workflow is created that populates the Invoice sharing object upon Insert
DVerify that the Organization-Wide Default sharing for Invoices is set to Private
Cloud Kicks uses Enterprise Territory Management.
Which three settings are supported by this configuration?
Choose three
AMetadata API Support
BIntegration with Collaborative Forecasting
CShare a report or dashboard folder with a Territory
DCreate a public group with Territory
EAssignment of Territory on Opportunities
Sales managers want their team members to assist one another in closing Opportunities. The Opportunity and Account organization-wide defaults are set to private. Ownership-based sharing rules were created for each team to grant Opportunity access to sales reps on the same team.
What side effect does this approach have?
ASales reps on the same team will have Read access to the Accounts for Opportunities owned by their team members.
BAll sales reps will have Read access to all Accounts.
CSales Reps on the same team will have Edit access to the Accounts for Opportunities owned by their team members.
DAll sales reps will have Read access to Accounts for all Opportunities.
Universal Containers (UC) uses a private Organization-Wide Defaults (OWD) model for the Account object and must control record and field access according to these requirements:
Sales reps can view and edit only their own records and cannot access the segment field on the Account page.
Service reps must be able to view all accounts but cannot edit any information.
Sales managers must be able to modify any account belonging to reps who report to them.
Service managers must be able to modify any account.
How can a Salesforce architect provide an optimal solution for this scenario?
AUse profiles, sharing rules, and change OWD to public read-only.
BUse profiles, manual sharing, and field-level security.
CUse profiles, permission sets, and field-level security.
DUse profiles, permission sets, role hierarchy, and field-level security.
Ursa Major Solar has these requirements:
It stores Product information in a custom object containing highly sensitive, proprietary patent information.
Only the record owner and users in the Development profile must be able to view and edit Product records.
Which three platform sharing tools are needed to meet these requirements?
Choose three
A“Modify All” permission for Product Object on the Development Profile
B“View All Data” profile permission on the Development Profile
CCriteria-Based sharing rule for the Development Profile on the Product Object
DOrganization-Wide Default sharing setting of Private on the Product Object
EGrant Access Using Hierarchy sharing setting on the Product Object set to false
Community Discussion