Question 1

What is the security vulnerability in the following code snippet?
<apex:form>
<apex:commandButton rerender="outputIt" value="Update It"/>
<apex:inputText value="{ !myTextField}"/>
</apex:form>
<apex:outputPanel id="outputIt">
Value of myTextField is <apex:outputText value="{!myTextField}" escape="false"/>
</apex:outputPanel>
  • Question 2

    Universal Containers has enabled External Default Sharing and wants to allow for external users to have the External Sharing Default set to Public Read-Only for a custom object. Which two options are valid Internal Default sharing settings for the custom object?
  • Question 3

    A developer of Cosmic Service Solutions has created the following custom controller for a Visualforce page.
    What keyword can be added to the definition of the class to ensure that all contact records are not exposed to a user who views the Visualforce page?Choose 1 answer. public class customContactController { public void view() { Contact con = [SELECT Id FROM Contact LIMIT 1]; } }
  • Question 4

    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.
  • Question 5

    Universal Container maintains job info in a Custom object that contains sensitive information. The user who owns the record and all users in the delivery profile are the only users who should be able to view and edit job records. Which three platform sharing tools are required to support the above requirements?