Question 26

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?
  • Question 27

    DreamHouse Realty is designing a new community using the Customer Community license type. They have the following requirements:
    - They want the users to complete survey questions through the community interface.
    - Responses need to be stored 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.
    Which security settings should be used to achieve this goal?
  • Question 28

    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
  • Question 29

    Which element is included in the security model for Force.com sites? (choose 2)
  • Question 30

    An administrator of Cosmic Solutions wants to create a list view that only displays accounts of manufacturing companies. Sales users use a custom field on the Account object to indicate the type of company. The list view should only be visible to three sales managers of the company. If all the users are using Salesforce Classic, which of the following should be used to restrict the visibility of the list view?Choose 1 answer.