Universal Containers has implemented Customer Community with Customer Community
Plus licenses for its distributors. Some distributors requested granting specific community
users (agents) to view cases submitted by other agentsof the same distributor.
Which feature only supports these requirements?
Show answerHide answer
Correct answer: CPartner super user
Explanation
Explanation:
The Partner Super User feature is designed for this exact scenario. It allows designated users (e.g., partner managers or agents) to view records owned by other users within the same account (distributor). This is scalable and requires no manual sharing adjustments.
Why Not A or B?
Option A (Permission set for admin access) grants excessive privileges, risking data exposure.
Option B (Delegate external user) is temporary and impractical for ongoing collaboration.
How It Works:
When enabled, Partner Super Users automatically inherit Read/Edit access to records owned by users under the same account. This aligns with the requirement for agents to view peer cases without custom sharing rules.
Question 2Choose 1
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 morevisibility to data for
certain individuals at a distributor.
Which scalable option give users in the partner manager role access to all case and
container records for partner users at the same distributor?
Show answerHide answer
Correct answer: CCreate sharing sets.
Explanation
Explanation:
Let’s break it down step by step:
1. What are sharing sets?
Sharing sets are a feature in Salesforce designed for Experience Cloud (formerly Community Cloud) users, like those with Partner Community licenses. They allow you to grant access to records based on the user’s profile or role. In this case, sharing sets can be used to give partner managers access to records owned by other users who share the same account (distributor) in the community.
2. Why is this the best option?
The question asks for a scalable solution. Sharing sets are built for scenarios like this, where you want to grant access to a group of users (like partner managers) for records related to their account (the distributor).
With sharing sets, you can configure access so that all partner managers at a distributor can see all case and container records for partner users tied to the same distributor account. This is done automatically based on the account association, making it efficient and scalable for 200 distributors.
Sharing sets work well with Partner Community users because they respect the account-based structure of partner data.
3. Why not the other options?
A. Create an ownership-based sharing rule.
Ownership-based sharing rules grant access based on who owns the record or the role/profile of the owner. However, in this scenario, the records are owned by partner users at the same distributor, and the partner manager role may not directly tie to ownership. Ownership-based sharing rules are better for internal users, not community users, and would require complex setup to achieve the same result as sharing sets. This makes it less scalable.
B. Give Super User permission to the individual partner manager users.
Super User access (available in some Salesforce editions) allows partner users to view all data for their account, but it’s a permission applied at the user level and isn’t role-based. Assigning Super User permissions to individual partner managers one by one isn’t scalable for 200 distributors, as it would require manual configuration for each user. Also, Super User access might give too much visibility (e.g., to all objects), which may not be desired.
4. How sharing sets work in this case?
You create a sharing set for the partner manager role (or profile) in the Experience Cloud.
You configure the sharing set to grant access to case and container records where the account matches the distributor account of the partner manager.
This ensures that partner managers only see records for their own distributor, keeping data secure from other distributors.
Reference:
Salesforce Help: Sharing Sets for Experience Cloud Users
Salesforce Help: External Sharing Model
Question 3Choose 1
What should an architect recommend to make sure that users that gained access to a
custom object record through Apex managed sharing do not lose access to it when its
owner is changed?
Show answerHide answer
Correct answer: CCreate aspecific Apex Sharing Reason for the custom object.
Explanation
Explanation:
This question tests the understanding of how Apex Managed Sharing shares behave during owner changes and the critical role of the RowCause field.
Why C is Correct: When you create an Apex Managed Share, you must specify a RowCause (Reason for Sharing). The key is to use a custom sharing reason (e.g., My_Sharing_Reason__c) instead of the default 'Manual'. Shares with a custom RowCause are persistent and are not automatically removed when the record owner changes. The sharing is tied to the record itself, not the owner. This is the declarative mechanism designed specifically to solve this problem.
Why A is Incorrect: The with sharing keyword is an enforcement of record-level security (CRUD, FLS, and sharing rules) within an Apex class. It controls what records the Apex code itself can see during its execution. It has absolutely no bearing on how shares are stored in the database or their behavior when a record's owner is changed. It is unrelated to the persistence of sharing records.
Why B is Incorrect: Creating a share with the RowCause of 'Manual' is functionally equivalent to a user manually clicking the "Share" button. The critical behavior is that all shares with a RowCause of 'Manual' are automatically deleted by the platform when the record owner changes. This is the exact opposite of the desired outcome and would guarantee the users lose access.
Reference: Salesforce Help: Apex Managed Sharing - Specifically states: "Sharing records that have a custom row cause are not deleted when the record owner changes. Sharing records that have a row cause of Manual are deleted when the record owner changes."
Platform Sharing and Visibility Architect Exam Guide: This falls under the objective "Given a scenario, design a sharing strategy that uses Apex managed sharing." Understanding the implications of the RowCause field is a fundamental concept for this objective.
Question 4Choose 1
In order to allow community users to collaborate on Opportunities, which license type must
the users be given?
Show answerHide answer
Correct answer: CPartner Community
Explanation
Explanation:
Opportunities are part of Salesforce’s sales objects (along with Leads, Quotes, Campaigns, etc.).
Not all community license types grant access to sales objects.
Here’s the breakdown: ➡️ Customer Community: Designed for high-volume external users (like end customers). Grants access mainly to cases, knowledge, and custom objects. Does not include Opportunities.
➡️ Customer Community Plus: A step up, adds reporting, dashboards, and some sharing features. But still does not allow access to Opportunities or Leads.
➡️ Partner Community: Designed for partners, resellers, and distributors. Grants full access to sales objects, including Opportunities, Leads, Campaigns, and Contacts. ✅
So, if you want community users to work with Opportunities, the license must be Partner Community.
Salesforce Reference: Experience Cloud User Licenses
Partner Community licenses provide access to sales data such as Opportunities, Leads, and Campaigns.
✅ Final Answer: C. Partner Community
Question 5Choose 1
A junior account manager owns an account and creates a new opportunity to manage a
complex deal. She needs the help of the product specialist and solution engineer. Given
the size of this deal, she knows the account is likely to be reassigned to a senior account
manager in the near future.
What is the optimal way for the junior account manager to share the opportunity, given the
private sharing model?
Show answerHide answer
Correct answer: COpportunity Team
Explanation
Explanation:
This question tests the understanding of different sharing mechanisms and their resilience to future changes, specifically record ownership reassignment. The key requirements are: sharing an Opportunity, involving specific roles (product specialist, solution engineer), and anticipating a future owner change.
Why C is Correct: Opportunity Teams are the optimal solution for this scenario.
➡️ Persistent Access: When the Opportunity owner changes, all Opportunity Team members and their roles and access levels are automatically retained. The sharing is tied to the record itself, not the original owner.
➡️ Granularity: It allows the junior account manager to grant precise access (e.g., Read/Read-Write) to specific individuals for this specific Opportunity, which is exactly what is needed.
➡️ Best Practice: Using teams (Opportunity Teams, Account Teams, Case Teams) is the Salesforce-recommended best practice for collaborating on specific records with a group of users, as it is designed to be stable through ownership changes.
Why A is Incorrect: A manual share on the opportunity is fragile. Manual shares (those with a RowCause of 'Manual') are automatically deleted when the record owner is changed. The moment the account is reassigned to a senior account manager (which likely also changes the Opportunity owner), the manually shared access for the product specialist and solution engineer would be lost, breaking the collaboration.
Why B is Incorrect: A manual share on the account is also fragile for the same reason as A; it would be deleted on an owner change. Furthermore, it is inefficient and less secure. Sharing the entire account would grant the specialists access to all account data and potentially all its child records (other Opportunities, Contacts, etc.), which violates the principle of least privilege. They only need access to this one specific Opportunity.
Reference:
Salesforce Help: About Opportunity Teams - "Opportunity team members retain their access to the opportunity even if the opportunity owner changes."
Platform Sharing and Visibility Architect Exam Guide: This scenario touches on objectives like "Given a scenario, determine how to use implicit sharing." and designing sharing solutions that are robust against organizational changes. Using teams is a key strategy for this.
Question 6Choose 1
Which functionality does the system method "runAs()" verify when writing test methods?
Show answerHide answer
Correct answer: AEnforcement of s user's record sharing
Explanation
Explanation:
The System.runAs() method in Salesforce test classes is used to test code under the record sharing context of a specific user. It's a critical tool for ensuring your application's sharing and visibility rules are enforced correctly.
Correct Option:
A. Enforcement of a user's record sharing
By default, all Apex code, including test methods, runs in system mode. In system mode, the code ignores the permissions and record sharing settings of the current user. The System.runAs() method allows a developer to temporarily change the user context for a block of code within a test method. This makes the code respect the sharing rules, such as organization-wide defaults, sharing rules, and role hierarchy, of the user specified in the runAs() method. This is essential for writing realistic and robust tests that mimic how different users will interact with data in a production environment.
Example: If you have a sharing rule that grants a "Sales" public group read-only access to all "Account" records, you can use System.runAs() with a test user from that group to verify that they can indeed read the records but cannot update them.
Incorrect Options:
B. Enforcement of a user's Field Level Security: The runAs() method does not enforce Field Level Security (FLS) or object permissions. To test for FLS, you must use other methods, like WITH SECURITY_ENFORCED in SOQL queries or stripInaccessible methods from the System or Security classes. The code inside runAs() still operates in system mode concerning FLS and object permissions.
C. Enforcement of a user's permissions: Similar to FLS, runAs() does not enforce a user's object-level or field-level permissions. Its sole purpose is to test data access based on record sharing.
Reference:
For more information, consult the official Salesforce documentation on the System.runAs() method in the Apex Developer Guide.
Question 7Choose 1
Universal Containers created a public group with certain sales engineers to help on
complex deals, as well as a sharing rule to grant access to these opportunities. The
Opportunity organization-wide default is Private. What is the impact of these sharing settings?
Show answerHide answer
Correct answer: ASales engineers and their managers in the Role Hierarchy will also have access to these
records.
Explanation
Explanation:
Universal Containers has set the Opportunity object’s organization-wide default (OWD) to Private, meaning records are only accessible to the record owner and users above them in the role hierarchy, unless sharing rules or other mechanisms grant additional access. They created a public group with certain sales engineers and a sharing rule to grant access to specific Opportunity records. Let’s analyze the impact of these settings and why each option is correct or incorrect, keeping it clear and detailed for someone learning Salesforce.
A. Sales engineers and their managers in the Role Hierarchy will also have access to these records. This is correct. The sharing rule grants access to the sales engineers in the public group for the specified Opportunity records. Additionally, Salesforce’s role hierarchy automatically gives access to users above the record owner or those granted access via sharing rules. This means managers higher in the role hierarchy than the sales engineers in the public group will also have access to these Opportunities.
For example, if the sharing rule grants Read or Edit access to Opportunities for the public group, and a sales engineer in that group has a manager above them in the role hierarchy, the manager inherits that access. This is how Salesforce’s sharing model works with a Private OWD.
Why it’s the impact: The sharing rule extends access to the public group, and the role hierarchy extends it further to managers, making this the direct result of the described settings.
B. Subordinates of managers who have sales engineers in the public group will also have access to these records. This is incorrect. In Salesforce, the role hierarchy grants access upward, not downward. Subordinates (users lower in the role hierarchy) do not automatically gain access to records that their managers can see unless explicitly granted through sharing rules, manual sharing, or other mechanisms. Since the sharing rule only applies to the public group (sales engineers), subordinates of managers not in the group won’t get access.
For example, if a manager has access because their subordinate (a sales engineer) is in the public group, the manager’s other subordinates lower in the hierarchy won’t inherit that access.
C. Other sales engineers who are in the same Role Hierarchy as the sales engineers of the public group will also have access to these records. This is incorrect. The sharing rule grants access only to the sales engineers in the specified public group, not to all sales engineers in the same role or role hierarchy. Users in the same role or nearby roles don’t automatically share access unless they’re part of the same public group or another sharing rule applies. The role hierarchy only extends access upward to managers, not sideways to peers or others in similar roles.
For example, if Sales Engineer A is in the public group and gets access via the sharing rule, Sales Engineer B in the same role but not in the public group won’t get access.
Why Option A is the Impact?
The sharing rule gives the sales engineers in the public group access to the specified Opportunity records, despite the Private OWD. Because of Salesforce’s role hierarchy, managers above these sales engineers automatically inherit the same access (e.g., Read or Edit) to those records. This is the primary impact of the sharing settings described. Options B and C incorrectly suggest access extends to subordinates or peers, which doesn’t align with how sharing rules and the role hierarchy work.
Additional Details: Private OWD: With Opportunities set to Private, only the record owner (e.g., the sales rep who created the Opportunity) and users above them in the role hierarchy have access by default. The sharing rule adds access for the public group.
Public Group: This is a collection of users (in this case, specific sales engineers) who can be granted access via sharing rules. It’s a flexible way to manage access for a group without relying on roles alone.
Sharing Rule: This rule likely specifies criteria (e.g., Opportunities in complex deals) and grants access (Read or Read/Write) to the public group. The role hierarchy then extends this access to managers above the group members.
Role Hierarchy: Managers higher in the hierarchy (e.g., Sales Manager over Sales Engineer) get the same or greater access to records their subordinates can see, including those shared via sharing rules.
Security Consideration: The team should ensure the sharing rule’s criteria are specific (e.g., only complex deals) to avoid over-sharing sensitive Opportunity data.
Universal Containers (UC) has a team that analyzes customer orders looking for fraud.
This team needs access to Invoice records (custom object, Private organization-wide
default). UC has complex rules to control users’ access. The architect recommended using
Apex managed sharing to meet these requirements. Which recommendation should a developer consider when implementing the changes?
Show answerHide answer
Correct answer: CUse runAs system method to test different users accessing these records.
Explanation
Explanation:
Universal Containers (UC) has a team that needs access to Invoice records (a custom object with a Private organization-wide default, or OWD). The OWD being Private means only the record owner and users above them in the role hierarchy have access, unless additional sharing rules or mechanisms like Apex managed sharing are used. The architect recommends Apex managed sharing to handle complex access rules for the fraud analysis team. Let’s evaluate each option to find the best recommendation for a developer implementing this solution, keeping it clear and detailed for someone learning Salesforce.
A. Use "Without Sharing" keyword to make sure record visibility will be considered.
This is incorrect. The without sharing keyword in Apex means the code runs in system mode, ignoring the user’s sharing rules and role hierarchy. This would allow the code to access all Invoice records, regardless of the Private OWD or other sharing settings, which could lead to over-sharing sensitive data.
In this case, UC needs to enforce complex sharing rules for the fraud analysis team, so Apex managed sharing should respect user permissions and only grant access to specific records as defined. Using without sharing would bypass these controls, making it the opposite of what’s needed.
For example, if the Apex code creates share records to give the fraud team access to certain Invoices, without sharing might expose records the team shouldn’t see, violating the Private OWD.
B. Use "With Sharing" keyword to enforce Field-Level Security.
This is incorrect. The with sharing keyword in Apex ensures the code respects the user’s sharing rules and role hierarchy, meaning it only accesses records the running user is allowed to see based on the OWD, sharing rules, or manual sharing. However, it does not enforce Field-Level Security (FLS). FLS is controlled separately using methods like Schema.sObjectType.
Question 9Choose 1
Besides their own team accounts, sales managers at Universal Containers (UC) need
Read access to all accounts of the same segment in other countries. Role Hierarchy was
implemented accordingly (based on countries), but a sales manager in the U.S. is
complaining that he cannot view account records of the same segment in Canada. What should UC do to grant access properly?
Show answerHide answer
Correct answer: ACreate an owner-based sharing rule to grant access to account records, that have the
same segment, to all sales manager roles.
Explanation
Explanation:
This question tests the understanding of cross-hierarchy sharing. The Role Hierarchy grants access downwards (managers see their subordinates' records), but it does not grant access across parallel branches of the hierarchy. A U.S. Sales Manager and a Canadian Sales Manager are in sibling roles; neither is above the other, so the hierarchy provides no access between them.
Why A is Correct: A sharing rule is the standard, declarative tool designed specifically for this purpose.
→ An owner-based sharing rule can be configured to share records owned by members of one role (e.g., the "Canadian Sales Manager" role) to another role or group (e.g., the "US Sales Manager" role).
→ The rule can be further refined with criteria (e.g., Segment = 'Enterprise') to ensure it only shares the specific accounts required by the business case. This meets the requirement precisely and efficiently.
Why B is Incorrect: This approach misunderstands how sharing works. You cannot grant access to a collection of records (the public group of accounts) via a permission set. Permission sets grant permissions to users (e.g., object permissions, field permissions, system permissions). They cannot be used to grant record-level access to a specific set of records. Record access is controlled through the sharing model (sharing rules, teams, manual share, etc.).
Why C is Incorrect: Flattening the role hierarchy by putting all managers in the same role is a poor architectural solution.
→ It destroys the logical organization of the hierarchy based on countries.
→ It would over-share dramatically. A U.S. Sales Manager would get access to all accounts owned by all Canadian sales users (reps and managers), not just the managers' accounts of the same segment. This violates data security and the principle of least privilege.
→ It is not a scalable solution; adding a new country would require constantly re-architecting the role hierarchy.
Reference: Salesforce Help: Sharing Rules - "Use sharing rules to extend sharing access to users in public groups, roles, or territories. Sharing rules give additional users access to records they don’t own or can’t see normally."
Platform Sharing and Visibility Architect Exam Guide: This scenario directly addresses the objective "Given a scenario, design a sharing strategy that uses sharing rules." It highlights a classic limitation of the role hierarchy (no lateral sharing) and the use of sharing rules to solve it.
Question 10Choose 1
A sales rep (John) at Universal Containers requested to update information in an account
record where he has Read-Only access. John requested the Edit access permission from
the owner of the record (Paul). Paul manually shared the record withJohn.
Assuming the organization-wide default of the Account object is Public Read-Only, what is
the impact in the system?
Show answerHide answer
Correct answer: BNew AccountShare record is created. Row Cause is “Manual” and Access Level is
“Read/Write”.
Explanation
Summary:
This question tests the understanding of manual sharing and how it interacts with the Organization-Wide Default (OWD). The OWD for Account is Public Read-Only, meaning John already has Read access via the OWD. When Paul, the owner, manually shares the record and grants Edit access, the system must create a new, specific sharing exception to elevate John's permissions from Read to Read/Write.
Correct Option:
B. New AccountShare record is created.
Row Cause is “Manual” and Access Level is “Read/Write”. This is correct. Because John already had "Read" access via the OWD, there is no existing AccountShare record granting him "Read/Write" access. Manual sharing always creates a new share record with a Row Cause of "Manual". This new record provides the elevated "Read/Write" access, which takes precedence over the base "Read" access from the OWD.
Incorrect Options:
A. Existing AccountShare record is updated.
Row Cause is "Manual” and Access Level is "Read/Write". This is incorrect because there is no existing AccountShare record for John for this specific account. The "Read" access is granted implicitly by the OWD, not by a share record. Since no share record exists to update, the system must create a new one.
C. New AccountShare record is created.
Row Cause is “Owner” and Access Level is "Full". The Row Cause "Owner" is reserved for the user who owns the record, granting them implicit "All" access. This cause is system-defined and cannot be assigned via manual sharing. Manual sharing always results in a Row Cause of "Manual".
Reference:
Salesforce Help: How Manual Sharing Works
That's the last free question in Access to Records
You've seen the free 30% (10 of 35 questions). Full access unlocks every question and full-length Salesforce-Platform-Sharing-and-Visibility-Architect mock exams (65 questions, 105 minutes), a different mock on every attempt.
Sit the Salesforce-Platform-Sharing-and-Visibility-Architect exam before exam day
Full-length mocks with the same number of questions and the same time limit as the real Salesforce-Platform-Sharing-and-Visibility-Architect exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.