Available in 1, 3, 6 and 12 Months Free Updates Plans
PDF: $15 $60

Test Engine: $20 $80

PDF + Engine: $25 $99

Sharing-and-Visibility-Architect Practice Test


Page 7 out of 48 Pages

Topic 1: Exam Pool A

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





C.
  None

Explanation: The action that Mary can take on Joe’s Invoice records is none. This is because Mary’s profile does not have the Read permission for the Invoice object, which means she cannot view any Invoice records, regardless of the OWD or role hierarchy settings. Profile permissions override any other access settings3. Read/Write, Edit Only, and View Only are not possible actions for Mary.

A sales rep at Universal Containers (UC) is a member of the Default Opportunity team for an account manager. The account manager created an opportunity and the sales rep is added to that Opportunity team. The sales rep is complaining about no longer having access to an opportunity record that the sales rep was helping with. What is the cause of this problem?


A. The Account team was changed and consequently the Opportunity team members were replaced by the Account team members.


B. The Sales rep was manually removed from the Opportunity team.


C. The Sales rep was removed from the Opportunity team in another opportunity record of the same account.


D. The opportunity owner can enable/disable if the “Default Opportunity team” is able to access the record.





B.
  The Sales rep was manually removed from the Opportunity team.

Explanation: The most likely cause of this problem is that the sales rep was manually removed from the Opportunity team. This would revoke the access to the opportunity record that the sales rep was helping with. The other options are not valid causes, because:

  • The Account team does not affect the Opportunity team members, unless the account owner changes and the opportunity owner is set to match2.
  • The Opportunity team is specific to each opportunity record, so removing the sales rep from one opportunity team does not affect the access to another opportunity record of the same account3.
  • The opportunity owner cannot enable/disable if the “Default Opportunity team” is able to access the record. The default opportunity team is a template that can be applied when creating or editing an opportunity, but it does not override the existing opportunity team members.

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 isset 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.

Explanation: A sharing rule is missing to share Accounts to the AR team, which could be the issue preventing AR team members from seeing invoices. Since invoice is a custom object with a master-detail relationship to account, its sharing settings are controlled by its parent account. If AR users do not have access to account records, they will not be able to see or query invoice records either. Option A is incorrect, since a sharing rule to share invoices to the AR team would not work, as invoice inherits its sharing settings from account. Option B is incorrect, since assigning an invoice page layout to the AR team profile would not affect their visibility of invoice records. Option D is incorrect, since giving read permission to the invoice object to the Accounts receivable profile would not grant access to invoice records that are owned by other users.

Universal Container has developed a custom Visualforce page that will accept user input and must prefer returning the results to the users. Which two techniques should be used to ensure the users cannot perform a SOQL injection attack?


A. Escape double quotes in the user input.


B. Use bind variable in the SOQL query.


C. Use the escapesinglequotes() method to sanitize user input.


D. Use the with Sharing keyword on the controller.





B.
  Use bind variable in the SOQL query.

C.
  Use the escapesinglequotes() method to sanitize user input.

Explanation: Using bind variables or the escapeSingleQuotes() method are two techniques that can prevent SOQL Injection attacks by ensuring that user input is treated as literal strings rather than part of the query9. Bind variables are preferred over escapeSingleQuotes(), as they also improve performance and readability of the code10. Option A is incorrect, since escaping double quotes in the user input does not prevent SOQL Injection. Option D is incorrect, since using the with Sharing keyword on the controller does not affect SOQL Injection, but rather enforces record-level access based on the user’s profile and sharing rules.

In order to allow community users to collaborate on Opportunities, which license type must the users.


A. Sales Community


B. Customer Community


C. Partner Community


D. Customer Community plus





C.
  Partner Community

Explanation: The license type that must be used by community users who want to collaborate on opportunities is Partner Community. As mentioned above, Partner Community licenses allow users to access standard CRM objects such as opportunities and collaborate with other partners and internal users using Chatter and Communities. Sales Community licenses do not exist as a separate license type. Customer Community and Customer Community Plus licenses do not allow users to access opportunities, as they are intended for customer service scenarios rather than sales scenarios.


Page 7 out of 48 Pages
Previous