Universal Containers uses person accounts to represent retail customers and business accounts to represent commercial customers. The Retail Sales team should not have access to commercial customers but have access to ALL retail customers.
With organization-wide default on Account set to Private, how might the architect meet these requirements?
A. Give View All access for Accounts to the Retail Sales profile.
B. Update Retail Sales profile to grant access to Person Account record type.
C. Create an owner-based sharing rule on AccountContactRelation to grant access to at account contact roles records owned by sales reps.
D. Create a criteria-based sharing rule giving Retail Sales role access to Accounts of type PersonAccount.
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?
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.
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
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.
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?
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.
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?
A. Read/Write
B. Edit Only
C. None
D. View Only
A Visualforce controller has a requirement to be written with "Without Sharing" at the top level; however, certain methods within the page still need to enforce the user permissions for creating records and accessing certain fields. Which two methods below would be used to enforce this requirements?
Choose 2 answers.
A. Schema.DescribeFieldResult
B. Schema.getGlobalDescribe
C. UserInfo.getProfileID
D. Schema.DescribeSObjectResult
Universal Containers has developed Apex code to manually create Account Share records to grant specific users access to individual Accounts. What must the Architect do to ensure the Account Share records are not deleted when the owner of the Account is changed?
A. Create the share records and set the RowCause to a custom Apex Sharing Reason
B. Create the share records in a class with the "Without Sharing" keyword
C. Create the share records with the Delete on Owner Change field set to false
D. Create the share records and set the RowCause to Manual
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.
What feature in Salesforce is needed to restrict access to a custom object that has Public Read/Write access?
A. Role Hierarchy
B. Record Type
C. Page Layout
D. Profile
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.