PDI Dumps

PDI Free Practice Test

Salesforce PDI: Platform Developer I (PDI)

QUESTION 11

- (Exam Topic 2)
A developer creates a method in an Apex class and needs to ensure that errors are handled properly.What would the developer use? (There are three correct answers.)

Correct Answer: BCE

QUESTION 12

- (Exam Topic 2)
Which action can a developer take to reduce the execution time of the following code? List allaccounts = [select id from account]; list allcontacts = [select id, accountid from contact]; for (account a :allaccounts){ for (contact c:allcontacts){ if(c.accountid = a.id){ //do work } } }

Correct Answer: A

QUESTION 13

- (Exam Topic 2)
What are the supported content sources for custom buttons and links? (Choose 2 Answers)

Correct Answer: AC

QUESTION 14

- (Exam Topic 2)
A developer needs to import customer subscription records into salesforce and attach them to existing account records. Which 2 actions should the developer take to ensure the subscription records are related to the correct account records? Choose 2 answers

Correct Answer: AD

QUESTION 15

- (Exam Topic 2)
What is a valid Apex statement?

Correct Answer: B