Sharing-and-Visibility-Designer Exam Question 106

Which two are potential vulnerabilities in the following code snippet? <apex:page> <apex:form> <apex:outputText value="Enter Name"/> <apex:inputText value="{!name}" /> <apex:commandButton value="Query" action="{!query}" /> </apex:form> </apex:page> 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
  • Sharing-and-Visibility-Designer Exam Question 107

    Sales manager want their team members to help each other close Opportunities. The Opportunity and ..
    private. To grant Opportunity access to sales reps on the same team, ownership-based sharing rules ..
    What is the side effect of this approach?
  • Sharing-and-Visibility-Designer Exam Question 108

    Universal Containers is designing a new community using the Customer Community license type. They would like to have the users complete survey questions through the community interface and store the responses in a Custom Object that has a lookup to the account object. Any internal user who has access to the account should be able to see all survey responses. All Customer Community users should be able to see surveys filled in by other users for their company, but not surveys for other companies. What are the correct security settings to achieve this?
  • Sharing-and-Visibility-Designer Exam Question 109

    Get Cloudy Consulting wants to create a custom team solution that can be used on a custom Loan object. The Loan custom object must be set to Private in the Org-Wide Defaults, and any user added to the Custom Team object should have Read Only access to the corresponding Loan record. Additionally, if the Custom Team record is marked as "Primary" then the corresponding user should have Read/Edit access to the corresponding Loan record.
    What are two methods for fulfilling these requirements? (Choose two.)
  • Sharing-and-Visibility-Designer Exam Question 110

    Which of the following is used to encrypt a variety of widely used standard fields, along with some custom fields and many kinds of files.