Weekend Sale Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: bigdisc65

Free PDII Questions Attempt

Page: 4 / 12
Question 16

Given the following code:

Assuming there were 10 Contacts and five Accounts created today, what is the expected result?

Options:

A.

System.QueryException: Too many DML Statement errors on Contact

B.

System.QueryException: List has more than one row for Assignment on Account

C.

Systemn.LimitException: Too many SOQL Queries on Account

D.

System.LimitException: Too many SOQL Queries on Contact

Question 17

A developer created and tested a Visualforce page in their developer sandbox, but now receives reports that user encounter view state errors when using it in production.

What should the developer ensure to correct these errors?

Options:

A.

Ensure queries do net exceed governor limits,

B.

Ensure properties are marked as private,

C.

Ensure variables are marked as transient.

D.

Ensure profiles have access to the Visualforce page.

Question 18

Which use case can be performed only by using asynchronous Apex?

Options:

A.

Querying tens of thousands of records

B.

Making a call to schedule a batch process to complete in the future

C.

Calling a web service from an Apex trigger

D.

Updating a record after the completion of an insert

Question 19

What should be added to the setup, in the location indicated, for the unit test above to create the controller extension for the test?

A)

B)

C)

Options:

A.

Option A

B.

Option B

C.

Option C

Page: 4 / 12
Exam Code: PDII
Exam Name: Salesforce Certified Platform Developer II (SP23)
Last Update: May 18, 2024
Questions: 196
PDII pdf

PDII PDF

$28  $80
PDII Engine

PDII Testing Engine

$33.25  $95
PDII PDF + Engine

PDII PDF + Testing Engine

$45.5  $130