Question 43

Which two are potential vulnerabilities in the following code snippet?
public class SOQLController { public String name { get { return name;} set {name=value;} } public PageReference query() { String qryString='SELECT Id FROM Contact WHERE '+ '(IsDeleted = false and Name like '%' + name + '%'}'; queryResult = Database.query(qryString); retunr null; } } Choose 2 answers

Correct Answer:BC

Question 44

Which two reasons should the Architect consider regarding the use of Apex Sharing Reasons? Choose 2 answers

Correct Answer:AB

Question 45

Universal Containers wants to create a way to store sensitive Invoice Data in Salesforce. A User who owns an Account should not see every Invoice, but only invoices that they or their subordinates own. Which two features should be considered during this solution implementation?
Choose 2 answers.

Correct Answer:AB

Question 46

User A at Universal Containers is in the default account team for User B. User B owns the ACME account and changed User A's team member access to the account. What is the impact of this change?

Correct Answer:B

Question 47

Universal Containers would like to create a custom team solution that can be used on a custom Loan object. The following requirements must be met:
The Loan custom object should be set to Private in the Org-Wide Defaults.
Any user added to the Custom Team object should have Read Only access to the corresponding Loan record. If the Custom Team record is marked as "Primary" then the corresponding user should have Read/Edit access to the corresponding Loan record.
Which two methods will allow the Architect to meet the requirements? Choose 2 answers.

Correct Answer:BD

Question 48

Universal Containers would like to restrict users' access to export reports What option supports this requirement?

Correct Answer:D

START Sharing-and-Visibility-Designer EXAM