New Year Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: Board70

Newly Released Salesforce PDI Exam PDF

Page: 9 / 12
Question 36

Which statement should be used to allow some of the records in a list of records to be inserted if others fail to be inserted?

Options:

A.

insert records

B.

Database.insert (records, false)

C.

Insert (records, false)

D.

Database.insert(records, true)

Question 37

Since Aura application events follow the traditional publish- subscribe model, which method is used to fire an event?

Options:

A.

registerEvent

B.

fireEvent ()

C.

emit{)

D.

fire()

Question 38

What should a developer do to check the code coverage of a class after running all tests?

Options:

A.

View the Class Test Percentage tab on the Apex Class list view in Salesforce Setup.

B.

View the code coverage percentage for the class using the Overall Code Coverage panel in the Developer Console Tests tab,

C.

View the Code Coverage column in the list view on the Apex Classes page.

D.

Select and run the class on the Apex Test Execution page in the Developer Console.

Question 39

Assuming that name is a String obtained by an tag on a Visualforce page, which two SOQL queries performed are safe from SOQL injection? Choose 2 answers

A)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Page: 9 / 12
Exam Code: PDI
Exam Name: Salesforce Certified Platform Developer I (SU24)
Last Update: Dec 21, 2024
Questions: 174
PDI pdf

PDI PDF

$25.5  $84.99
PDI Engine

PDI Testing Engine

$28.5  $94.99
PDI PDF + Engine

PDI PDF + Testing Engine

$40.5  $134.99