Sharing and Visibility OLD Flashcards
A custom invoice object has been created with a master-detail relationship to account. The Account receivable (AR) team needs access to Invoices AR users do not own nor have access to Account records. Account OWD is set to Private. The AR team is unable to find Invoices in List views, Reports, nor in Global Search. The Architect has been asked to help troubleshoot. What could be the issue preventing AR team members from seeing invoices?
A. A sharing rule is missing to share Invoices to the AR team.
B. The AR team profile needs to be assigned an Invoice Page layout.
C. A sharing rule is missing to share Accounts to the AR team.
D. The Accounts receivable profile does not have read Permission to the Invoice Object.
C. A sharing rule is missing to share Accounts to the AR team.
A developer at Universal Container is building an integration within a managed package for their internal org that requires login to an external system. The end point requires basic authentication. The Architect would like to ensure that the username and password are managed securely. Which three options should the Architect recommend to secure the credentials?
A. Store the credentials in a custom object using encrypted fields
B. Store the credentials in named credentials that are used in the apex callout
C. Store the credentials in the apex code, which will not be available to non-admins
D. Store the credentials in protected custom metadata that are used in the apex callout
E. Store the credentials in protected custom settings that are used in the apex callout
B. Store the credentials in named credentials that are used in the apex callout
D. Store the credentials in protected custom metadata that are used in the apex callout
E. Store the credentials in protected custom settings that are used in the apex callout
A dummy user at Universal Containers owns more that 10,000 lead records. The system assigned all these leads to a dummy user. This is causing performance issues whenever role hierarchy changes.
Which two options should be recommended to improve performance?
Choose 2 answers.
A. Assign ownership to a small number of users.
B. Add the dummy user into a public group.
C. Add the dummy user to the bottom of the role hierarchy.
D. Do not assign a role to the dummy user.
A. Assign ownership to a small number of users.
D. Do not assign a role to the dummy user.
A Sales Rep at Universal Containers wants to create a dashboard to see how his sales numbers compare with his peers. Assuming a Private model, which two permissions would the Sales Rep need to meet this requirement?
A. Manage Custom Report Types
B. Customize Application
C. Manage Dashboards
D. View All Data
C. Manage Dashboards
D. View All Data
A sales representative at Universal Containers needs assistance from specific product managers when selling certain deals. Product managers do not have access to opportunities they don’t own, as the sharing model is Private, but need to gain access when they are assisting with a specific deal. How can an Architect accomplish the requirement?
A. Create a sharing rule to allow the product manager to access the opportunity.
B. Enable opportunity teams and allow users to add the product manager.
C. Enable account team and allow users to add the product manager.
D. Use similar opportunities to share opportunities related to the product manager.
B. Enable opportunity teams and allow users to add the product manager.
A user at Universal Containers would like to give access to a Report folder to someone else in the organization.
Which two access permissions should the user have to support this requirement?
Choose 2 answers.
A. The “Viewer” Report folder permission
B. The “Editor” Report folder permission.
C. The “Manage Reports in Public Folders” Profile permission.
D. The “Manager” Report folder permission.
C. The “Manage Reports in Public Folders” Profile permission.
D. The “Manager” Report folder permission.
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
A. Schema.DescribeFieldResult
D. Schema.DescribeSObjectResult
Assuming granular locking is enabled, what activity can happen in parallel to changing a community account owner without risking group membership lock errors?
A. Deletion of a Role
B. Creation of a Role
C. Creation of a Territory
D. Deletion of a Territory
C. Creation of a Territory
At Universal Containers, users should only see Accounts they or their subordinates own. All Accounts with the custom field “Kay Customer” should be visible to all Senior Account Managers. There is a custom field on the Account record that contains sensitive information and should be hidden from all users, except 3 designated users who require view and edit access. These three users come from different user groups, and will change occasionally.
Which three platform security features are required to support these requirements with the minimum amount of effort?
Choose 3 answers
A. Criteria-Based Sharing Rules
B. Owner-Based Sharing Rules
C. Role Hierarchy
D. Apex Managed Sharing
E. Permission Sets
A. Criteria-Based Sharing Rules
C. Role Hierarchy
E. Permission Sets
Below are some details regarding the organization at Universal containers:
- Richard and Kevin are the east sales reps and their manager is Karen the East sales executive.
- Sam and Wilder are West sales reps and the manager is Wendy, the West sales executive.
- 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?
A. Bob and Phil
B. Bob, Richard, Phil and Kevin
C. Bob, Karen and Kevin
D. Bob, Phil and Kevin
A. Bob and Phil
By Viewer Access you can see the data in a report or dashboard, but you can’t make any changes, except by cloning it into a new report or dashboard.
A. True
B. False
A. True
For the Universal Containers Commercial and Consumer support departments, having access to Activities for Contacts with which they interact is important. Commercial support users should not see Consumer Accounts/Contacts and Consumer support users should not see Commercial Accounts/Contacts. Assuming the Organization-Wide Default for Activities is set to “Controlled by Parent” what is the minimum level of Sharing access a support user would need to Accounts/Contacts to view associated Activities?
A. Private Account/Contact Sharing Default with a Sharing Rule for each department set to Public Read/Write access to Accounts/Contacts.
B. Private Account/Contact Sharing Default with a Sharing Rule for each department set to Private access to Accounts/Contacts.
C. The users need no access to Accounts/Contacts with the proper Activity Sharing Rules and Profile Permissions for the Accounts Tab.
D. Private Account/Contact Sharing Default with a Sharing Rule for each department set to Public Read only access to Accounts/Contacts.
D. Private Account/Contact Sharing Default with a Sharing Rule for each department set to Public Read only access to Accounts/Contacts.
How should the Architect ensure that OBJECT-LEVEL SECURITY is enforced within a custom Visualforce application that was a standard Apex controller on the Lead object?
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.
C. Use the {!$ObjectType.lead.accessible} expression within the Visualforce page.
How would you make sure a Visualforce page is security proof?
Choose 3 answers
A. Manually check for cross site
B. Manually check for sql injection
C. Submit to force security scanner
D. Use web application tool for security
E. Use debug to check hijacked requests
C. Submit to force security scanner
D. Use web application tool for security
E. Use debug to check hijacked requests
If OWD is Public Read Only, what are sharing access options
A. Read, - Read/Write
A. Read, - Read/Write
If you want to create some logic that will share certain records in APEX code, you just have to create special records that will open access to the desired records. The aim is to create records of certain type, for example , all share objects for custom objects are named as
A. MyCustomObject__Share
A. MyCustomObject__Share
In order to comply with Regulatory Requirements, Universal Containers must store sensitive customer information on-premise. Universal Containers would like this on -premise information to be accessible from Salesforce. What technology can Universal Containers use to achieve this?
A. Implement a third-party tokenization service.
B. Implement an on-premise database.
C. Implement a third-party proxy server.
D. Implement the Salesforce Shield toolkit.
C. Implement a third-party proxy server.
In order to comply with regulatory requirements, Universal Health must encrypt all Personally Identifiable Information (PII), both while it is being transmitted over the network and while it is at rest. Universal Health has completed a data audit and has determined that 12 fields on the contact record can contain PII, including the contact name and several other standard fields. Universal Health would like the fields to remain accessible in Salesforce.
Which two options does Universal Health have to maintain compliance?
Choose 2 answers.
A. Implement a custom Apex trigger to automatically encrypt the PII data using the Apex Crypto Class.
B. Update the field type of each of the 12 fields to “Text (Encrypted)” so that they are encrypted at rest.
C. Enable Salesforce Platform Encryption and select the 12 contact fields to be encrypted.
D. Use an external, third party encryption service to encrypt PII before it enters Salesforce
A. Implement a custom Apex trigger to automatically encrypt the PII data using the Apex Crypto Class.
C. Enable Salesforce Platform Encryption and select the 12 contact fields to be encrypted.
Partner users can access records belonging to users in their account at their same role or lower in the role hierarchy, for Cases, Leads, Opportunities and Custom Objects. Which of the following access has to be given ?
A. Super user permission
A. Super user permission
Which two license types can be assigned the permissions to create and edit reports?
A. Customer Community Plus
B. Customer Community Plus Login
A. Customer Community Plus
B. Customer Community Plus Login
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?
A. Public Groups
B. Profiles
C. Roles and Subordinates
D. Manual Sharing
A. Public Groups
C. Roles and Subordinates
The architect at Universal Containers would like to prevent users from editing encrypted fields.
Assuming no customizations are implemented, which two options should the Architect choose to support the requirement?
Choose 2 answers
A. Validation Rules
B. Page Layout settings
C. Apex Triggers
D. Workflow Rules
A. Validation Rules
B. Page Layout settings
The Architect notices that there are many duplicate Account records and numerous sharing rules created in Salesforce. What would be the reason?
A. The Organization-Wide Default for the Account object is Private.
B. The Organization-Wide Default for the Account object is Public Read/Write.
C. The Organization-Wide Default for the Account object is Public Read-Only.
D. The Object permissions for the Account object are Create, Read, and Edit.
A. The Organization-Wide Default for the Account object is Private.
The Collections department at Universal Containers uses Salesforce to track its efforts. All Invoices and Invoice Line Items are stored in Salesforce. Invoice Line Item object details, such as Quantity and Extended Amount, should be summarized at the Invoice Object level, and all users who can see a given invoice should always see all invoice line items. Without leveraging Apex code, how should an Architect create the relationship between the Invoice object and the Invoice Line Item Object?
A. The Invoice object should have a Master- Detail to the Invoice Line Item Object
B. The Invoice Line Item Object should have a Lookup to the Invoice Object
C. The Invoice Object should have an inner joint to the Invoice Line Item Object
D. The Invoice Line Item Object should have a Master-Detail to the Invoice Object
D. The Invoice Line Item Object should have a Master-Detail to the Invoice Object
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?
A. Manage Custom List Views
B. Manage Private List Views
C. Manage Public List Views
D. Manage Custom Permissions
C. Manage Public List Views
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:
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
B. Institute a business process that calls for the account manager to be added to the account team once the account becomes a customer
D. Create a criteria-based sharing rule that shares the account to the account management group when the type is customer
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 UC take advantage of in order to help them stay within their org limits?
A. Territory type priority
B. Territory Type
C. Territory Model State
D. Territory Hierarchy
C. Territory Model State
Universal Container is creating a custom VF page to allow user to edit contact records. The developer has used an apex:outputField for the Phone field on the contact obj. What is the expected behavior if a user without FLS accesses the VF page?
A. The user encounters an error while saving the record
C. The output field is visible to user
D. The user is able to enter a value into the phone field
B. The field is automatically removed from the page
Universal Containers (UC) has a requirement to expose a web service to their business partners. The web service will be used to allow each business partner to query UC’s Salesforce instance to retrieve the status of orders. The business partner should only be allowed access to orders for which the business partner is the fulfillment vendor. The Architect does not want the business partners to utilize the standard APIs and would prefer a custom API be developed.
Which three design elements should the Architect consider in order to ensure the data security of the solution?
Choose 3 answers
A. Query the Orders object with Dynamic SOQL based upon the fulfillment ID.
B. Set the Orders object’s sharing settings to Private in the Org-Wide Defaults
C. Provide each partner with their own Salesforce login set to API Enabled on the profile.
D. Develop a custom Apex web service with a fulfillment ID input attribute
E. Develop a custom Apex web service using the “With Sharing” keyword.
B. Set the Orders object’s sharing settings to Private in the Org-Wide Defaults
C. Provide each partner with their own Salesforce login set to API Enabled on the profile.
E. Develop a custom Apex web service using the “With Sharing” keyword.
Universal Containers (UC) is in legal dispute regarding several orders. UC has found out these records were removed from system. The VP of Sales has asked to ensure this cannot happen in the future. What approach would meet this requirement?
A. Remove the delete button from the Order page layout.
B. Change the record type/page layout assignment for orders to be read-only.
C. Remove order delete permission from profiles and permission sets.
D. Implement a sharing rule that changes access for the records to read.
C. Remove order delete permission from profiles and permission sets.
Universal Containers (UC) works with a dealer network to sell their products. There are approximately 5,000 dealers that do business with UC and UC has purchased a Partner Community to interact with each of their dealers on Opportunities. Each dealer is structured so that there are a group of managers who will oversee a larger team of agents. UC would like to set the Organization-Wide Defaults to Private for the Opportunity object, both internally and externally. Within each dealer, there are a few agents called Lead Agents who should be able to see the Opportunities for all of the other Agents at the dealer. What is the optimal solution for an Architect to recommend?
A. Add a Sharing Set that shares Opportunities to the Lead Agent based on the Lead Agents Account.
B. Build an Apex Managed Sharing rule that will assign specific Opportunities to Lead Agents.
C. Grant Super User access to the Lead Agents as part of the Community user setup.
D. Create a Sharing Rule to share opportunities to the owner’s manager’s role and below.
C. Grant Super User access to the Lead Agents as part of the Community user setup.
Universal Containers created a custom object called Defect and would like to enable the Sharing button on the Defect page layout to share the records manually to other users in the organization. In which scenario will the Sharing button appear?
A. The Sharing model is either Private or Public Read only.
B. The Sharing button always appears.
C. The Sharing model is Public Read/Write.
D. The Sharing model is Public Read/Write/Transfer.
A. The Sharing model is either Private or Public Read only.
Universal Containers does not want the Users in the Custom Sales Department Profile to be able to delete Opportunities. How would the Architect prevent a certain set of users from deleting Opportunities?
A. Remove the Delete button from the Opportunity Page Layout and Record Type settings.
B. Create a Validation Rule that checks the User’s Profile before allowing the Is Deleted flag to be set to True.
C. Override the Standard button with a Visualforce Page that warns them that they do not have permission to delete.
D. Remove the “Opportunity Delete” Permission from the Sales Team’s User Profile in the Object Permissions.
D. Remove the “Opportunity Delete” Permission from the Sales Team’s User Profile in the Object Permissions.
Universal Containers has a custom Job object with a private sharing model. Based on the size and location of the Job, different teams must have access to edit the specific Job record. To support this requirement, Apex Managed Sharing has been implemented to share records with the required users. Since the teams change frequently, managed sharing recalculations need to be manually run frequently. What can the Architect do to optimize this process?
A. Change the sharing model on the Job object to Public Read/Write.
B. Create a scheduled job to automatically run the sharing recalculations on a nightly basis.
C. Create public groups for each team, and share the jobs with the groups instead of users.
D. Create a custom Visualforce page to edit the jobs and specify Without Sharing on the controller.
C. Create public groups for each team, and share the jobs with the groups instead of users.
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
A. Criteria-based Sharing Rules
B. “View All” Profile settings
C. Owner-based Sharing Rules
D. Manual Sharing
B. “View All” Profile settings
D. Manual Sharing
Universal Containers has a custom object, Employee Review, with an Organization-Wide Default security setting of Private. A user lookup on the Employee Review object is populated when a reviewer is assigned to perform a review. How can this user be granted edit access to the record if they are not the owner?
A. The user will be granted access to the record automatically when the user lookup is populated.
B. Create a workflow rule to share the Employee Review record with the user in the lookup field.
C. Create an Apex trigger to insert an Employee Review Share record with an access level of Edit.
D. Create a criteria-based sharing rule to share the record with the user in the lookup field.
C. Create an Apex trigger to insert an Employee Review Share record with an access level of Edit.
Universal Containers has a global 24x7 Salesforce.com implementation that supports Sales, Services, Order Management, and various other parts of their business. They have a nested territory hierarchy, 10,000 sales users, and 20,000 support agents. Territory changes happen daily. The demand for new applications and changes to the platform is high and they follow an agile development methodology and deliver new releases every two weeks on the platform.
What Salesforce.com feature would help the system recover from a maintenance restart on Salesforce.com servers?
A. Enable Granular Locking on the system.
B. Enable Deferred Sharing Rule recalculation.
C. Enable Parallel Sharing Rule recalculation.
D. Enable Filter-Based Opportunity Territory Assignment.
C. Enable Parallel Sharing Rule recalculation.
B?
Universal Containers has a Private Sharing Model and restrictive data access settings in place. The data governance team is planning to deploy a master data management tool that will need write access to all system data, and the Architect has been asked to prepare a Data Governance User Profile that has full access to all data regardless of Sharing and CRUD Settings. What is the optimal way to enable this requirement?
A. Ensure the profile has the “Modify All Data” permission enabled
B. Create a Sharing Rule for required Objects, on an API Only profile
C. Create an All Data Access app as a default for this Profile.
D. Enable the “Edit Read -Only Fields” permission for this Profile.
A. Ensure the profile has the “Modify All Data” permission enabled
Universal Containers has a Private Sharing Model for the Opportunity object. Sales Rep A at Universal Containers created the Opportunity record and then transferred ownership of the Opportunity record to Sales Rep B. Both Sales Rep A and B have the same role in the Role Hierarchy. What access will Sales Rep A have to the Opportunity after the transfer?
A. Full Access
B. No Access
C. Read/Write
D. Read Only
B. No Access
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?
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.
A. Create an AccountShare record associated to a public group containing the Users in the Role.
Universal Containers has a requirement to share Accounts automatically to the users at a field office.
They currently have the following setup in their environment:
- Accounts are set to Private in the Org-Wide Default.
- The field office is specified by a lookup in the Account object.
- There are 400 field offices.
- The users in each field office are managed using public groups.
Based upon a lookup relationship field on the Account, how should the Architect meet this requirement?
A. Use Manual Sharing to share the Account with the appropriate field office.
B. Use Account Teams to share the Account with the appropriate field office.
C. Use Programmatic Sharing to share the Account with the appropriate field office.
D. Use Criteria-Based Sharing to share the Account with the appropriate field office.
C. Use Programmatic Sharing to share the Account with the appropriate field office.
Universal Containers 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 2 answers.
A. Institute a process that calls for the Account Manager to be added to the Account Team once the Account becomes a customer.
B. Create an Account Sharing Rule that shares all Accounts owned by Sales to be shared with Account Management roles and subordinates.
C. Create a Public List View, where Accounts of Type Customer are included and share the List view with the Account Management public group.
D. Create a Criteria-based Sharing rule that shares the Account to the Account Management Group when the Type is Customer.
A. Institute a process that calls for the Account Manager to be added to the Account Team once the Account becomes a customer.
D. Create a Criteria-based Sharing rule that shares the Account to the Account Management Group when the Type is Customer.