Salesforce Certified Platform Sharing and Visibility Architect Free Sample Questions

Description

Covers object, field and record-level security, organization-wide defaults and sharing rules, Apex sharing and security enforcement, report visibility, and security health checks.

20 free sample questions164 in the full practice test Other version: Plat-Arch-205(136)

Try simulator

certified-sharing-and-visibility-architect Sample Questions

  1. Question 1

    Advanced

    Large Data Volume (LDV) Considerations · Designing for Scale

    A global logistics company is experiencing significant performance degradation during territory realignment. Their Enterprise Territory Management 2.0 model includes a 7-level territory hierarchy and over 500 assignment rules that run on Account updates. During peak hours, updates to Account records frequently time out. The org contains 15 million Account records. An architect has been tasked with optimizing the sharing model to improve performance without compromising the complex access requirements. Which approach should the architect prioritize?

    Answer and explanation

    Correct answer: D

    In Large Data Volume (LDV) scenarios involving Enterprise Territory Management, the complexity and efficiency of assignment rules are the most common cause of performance issues. Simplifying rules by using indexed fields (like Record IDs, Owner IDs, custom fields marked as External ID) and reducing the total number of rules will have the most significant impact on performance. Replacing the standard feature with a custom solution is a massive undertaking and should be a last resort. Increasing batch size could exacerbate timeouts, and while archiving data is a valid LDV strategy, optimizing the active rule set is the most direct solution to the described problem.

  2. Question 2

    Intermediate

    Programmatic Sharing · Enforcing Object and Field Permissions in Apex

    A developer at a financial services firm has created a custom Visualforce page to display sensitive client portfolio information. The associated Apex controller class must be declared without sharing to aggregate data from multiple related objects that the running user may not directly own. However, the firm's security policy mandates that Field-Level Security (FLS) for all fields on the primary Portfolio__c object must be strictly enforced. Which Apex code snippet correctly ensures FLS is respected before displaying the data?

    Answer and explanation

    Correct answer: B

    The Security.stripInaccessible() method is the most efficient and recommended way to enforce FLS for read access on a list of SObjects. It removes fields from the SObject records that the user cannot access, preventing them from being displayed on the Visualforce page. While looping with isAccessible() works, it is far more verbose and less performant for multiple records and fields. WITH SECURITY_ENFORCED enforces sharing rules and FLS at the query level, but the requirement is to run the initial query without sharing. Checking object permissions with isReadable() doesn't solve the field-level requirement.

  3. Question 3

    IntermediateMultiple answers

    Declarative Sharing · Experience Cloud Sharing

    A manufacturing company is setting up a new Partner Community. Partners need to see all Case records associated with the Account they belong to, regardless of who owns the Case. They also need to collaborate on Opportunity records where they are explicitly added as a Partner User in a custom lookup field on the Opportunity. The Organization-Wide Default for both Case and Opportunity is Private. Which two features must be configured to meet these requirements? (Select TWO)

    Answer and explanation

    Correct answers: A, E

    A Sharing Set is used to grant high-volume community users (like Partner Community users) access to records that are associated with their account or contact record. This perfectly fits the requirement for Cases. For the Opportunity requirement, a criteria-based sharing rule can be created to share Opportunity records with a specific Partner Role or Group when the custom lookup field contains a user from that partner account. Share Groups are for sharing records owned by high-volume users, not for sharing records with them.

  4. Question 4

    Intermediate

    Security Audit and Testing · Testing and Validation Methods

    A junior administrator reports that a user in the Sales team can see an Opportunity record they should not have access to. The Opportunity's owner is in a different region, and there are no apparent criteria-based sharing rules that would grant access. The architect needs to quickly determine the exact mechanism that granted the user access. What is the most direct and effective method to diagnose the source of this user's access to the specific record?

    Answer and explanation

    Correct answer: C

    The 'Sharing' button on a record detail page (in Classic, or the 'Sharing Hierarchy' action in Lightning) is the most direct tool for troubleshooting access to a single record. It provides a detailed list of every user, group, and role that has access and, crucially, the 'Reason' for that access (e.g., 'Manual Share', 'Owner', 'Sharing Rule: [Rule Name]'). This immediately pinpoints the exact mechanism. 'Login As' confirms access but doesn't explain the reason. Health Check is for org-wide issues, not specific records. The Setup Audit Trail shows changes but not the current state of access.

  5. Question 5

    Beginner

    Reporting on the Data · Dashboard Security

    True or False: A dashboard is configured with the running user set to a System Administrator. A sales user who views this dashboard will see all data aggregated from the underlying reports, even if their profile and sharing settings prevent them from accessing the individual records that make up the data.

    Answer and explanation

    Correct answer: A

    This statement is true. The dashboard's running user determines the data context for all viewers of that dashboard. If the running user is a System Administrator (who can see all data), the dashboard components will display aggregated data from all records, effectively bypassing the viewing user's personal record-level security. This is a critical security consideration when designing dashboards.

  6. Question 6

    Advanced

    Large Data Volume (LDV) Considerations · Data Skew Issues

    A large e-commerce company is implementing Salesforce for order management. The Order__c object is the child in a master-detail relationship to Account. The company has several massive B2B accounts, one of which has over 50,000 order records. During a batch job that reassigns ownership of this parent Account record, the job fails with UNABLE_TO_LOCK_ROW errors. What is the most likely cause of this issue?

    Answer and explanation

    Correct answer: C

    This is a classic example of Account Data Skew (or parent-child skew). When an operation like an ownership change occurs on a parent record with a very large number of child records (typically >10,000), Salesforce must lock the parent record while it updates all child records to reflect the change. This long-held lock leads to contention, resulting in UNABLE_TO_LOCK_ROW errors for any other transaction trying to access that parent record or its children. The solution often involves re-architecting the data model to avoid such heavily skewed parent-child relationships.

  7. Question 7

    Intermediate

    Declarative Sharing · OWD Settings and Impact

    A user's access to a specific record is determined by multiple layers of the security model. An architect is analyzing the final effective permissions. What is the correct order of evaluation that Salesforce uses to determine record access, from the most restrictive baseline to the most permissive overrides?

    Answer and explanation

    Correct answer: B

    Salesforce record access is built upon a foundation of opening up access progressively. It starts with the most restrictive setting, the Organization-Wide Defaults (OWD). Then, the Role Hierarchy opens up vertical access. After that, Sharing Rules (both criteria-based and ownership-based) open up lateral access. Finally, Manual Sharing and Team Sharing allow for flexible, ad-hoc access on individual records. Object permissions (Profiles/Permission Sets) are checked first to see if a user can see the object at all, but for record-level access, this is the correct sequence.

  8. Question 8

    Intermediate

    Declarative Sharing · Territory Management

    A technology company has a sales model where a single Account can be managed by multiple sales representatives across different product lines (e.g., Hardware, Software, Services). A user's access to an Account should be based on their assignment to one or more of these product lines for that specific Account. The company also needs to forecast sales revenue based on this product line structure. Which Salesforce feature is best suited to model this complex, matrix-based sharing requirement?

    Answer and explanation

    Correct answer: B

    Enterprise Territory Management 2.0 is specifically designed for complex, matrix-based sharing models where a single record (like an Account) can belong to multiple territories, and users can be assigned to multiple territories. This directly addresses the need for users to have access based on different product lines for the same account. Furthermore, Territory Management integrates with forecasting, fulfilling the second requirement. While sharing rules or Account Teams could partially solve this, they become unmanageable at scale and do not offer the integrated forecasting capabilities of ETM 2.0.

  9. Question 9

    AdvancedMultiple answers

    Programmatic Sharing · Enforcing Security in Code

    A developer is writing a batch Apex class that de-duplicates and merges millions of Contact records. The process requires system-level access to query all Contacts, regardless of the running user's visibility. However, during the update phase, the merge must not overwrite any fields on the master record that the running user does not have edit permission for. Which two keywords or methods are essential for the batch class to meet these requirements? (Select TWO)

    Answer and explanation

    Correct answers: B, D

    To meet the requirement of querying all contacts, the class must run in system context, which is achieved with the without sharing keyword. To ensure FLS is respected during the update, Security.stripInaccessible() should be used on the SObject records before the DML operation. This method will remove any fields from the records that the running user does not have update access to, preventing the DML from failing or writing to unauthorized fields. WITH SECURITY_ENFORCED would restrict the initial query, violating the first requirement.

  10. Question 10

    Intermediate

    Reporting on the Data · Dashboard Security

    The executive team at a company needs a dashboard that shows company-wide sales performance. The team members have profiles that limit their record visibility to only their own regions. To protect the confidentiality of individual deals, executives should not be able to click through the dashboard components to see the underlying reports or records. What is the most secure and effective way to configure this dashboard?

    Answer and explanation

    Correct answer: C

    This approach meets all requirements. Setting the running user to someone with full visibility (like a VP of Sales or an integration user) ensures the dashboard shows company-wide data. Storing the source reports in a private folder that the executives cannot access prevents them from clicking through to see the detailed record data. This allows them to see the aggregated view on the dashboard without granting them underlying record access. Granting 'View All Data' is excessive, and running as the viewer would restrict the data they see.

Register free for 10 more questions

Or unlock all 164 certified-sharing-and-visibility-architect questions with explanations, timed mode and flashcards.