Platform-Developer-I Dumps

Platform-Developer-I Free Practice Test

Salesforce Platform-Developer-I: Platform Developer I

QUESTION 26

A company has been adding data to Salesforce and has not done a good Job of limiting the creation of duplicate Lead records. The developer is considering writing an Apex process to identify duplicates and merge the records together.
Which two statements are valid considerations when using merged? Choose 2 answers

Correct Answer: BD

QUESTION 27

What are two use cases for executing Anonymous Apex code? Choose 2 answers

Correct Answer: BC

QUESTION 28

A Lightning component has a wired property, searchResults, that stores a list of Opportunities. Which definition of the Apex method, to which the searchResults property is wired, should be used?

Correct Answer: A

QUESTION 29

A custom picklist field, Food_Preference__c, exist on a custom object. The picklist contains the following options: 'Vegan','Kosher','No Preference'. The developer must ensure a value is populated every time a record is created or updated. What is the most efficient way to ensure a value is selected every time a record is saved?

Correct Answer: C

QUESTION 30

A developer has a Apex controller for a Visualforce page that takes an ID as a URL parameter. How should the developer prevent a cross site scripting vulnerability?

Correct Answer: B