Black Friday Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: save70

PDII Exam Results

Page: 6 / 13
Total 193 questions

Salesforce Certified Platform Developer II (SU24) Questions and Answers

Question 21

Which statement is true regarding savepoints?

Options:

A.

You can roll back to any savepoint variable created in any order.

B.

Static variables are not reverted during a rollback.

C.

Reference to savepoints can cross trigger invocations.

D.

Savepoints are not limited by DML statement governor limits.

Question 22

A company wants to run different logic based on an Opportunity's record type.

Which code segment handles this request and follows best practices?

A)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 23

Which tag should a developer use to display different text while an is Processing an action?

Options:

A.

B.

C.

D.

Question 24

How should a developer assert that a trigger with an asynchronous process has successfully run?

Options:

A.

Create all test data in the test class, use system. runs {} to invoke the trigger, then perform assertions.

B.

Insert records into Salesforce, use seeAllData=true, then perform assertions.

C.

Create all test data, use future in the rest class, then perform assertions.

D.

Create all test data in the test class, invoke Test.startTest{} and Test.etopTaat {} and then perform assertions.

Page: 6 / 13
Total 193 questions