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

Developers PDII Reddit Questions

Page: 8 / 12
Question 32

A developer used custom settings to store some configuration data that changes occasionally. However, tests are now Failing in some of the sandboxes that were recently refreshed.

What should be done to eliminate this issue going forward?

Options:

A.

Set the setting type on the custom setting to List.

B.

Replace custom settings with static resources.

C.

Set the setting type on the custom setting to Hierarchy.

D.

Replace custom settings with custom metadata.

Question 33

A Salesforce Platform Developer is leading a team that is tasked with deploying a

new application to production. The team has used source-driven development, and

they want to ensure that the application is deployed successfully.

What tool or mechanism should be used to verify that the deployment is successful?

Options:

A.

Force.com Migration Tool

B.

Salesforce DX CLI

C.

Apex Test Execution

D.

Salesforce Inspector

Question 34

A company uses Dpportunities to track sales to their customers and their org has millions of Opportunities. They want to begin to track revenue over time through a related Revenue object.

As part of their initial implementation, they want to perform a one-time seeding of their data by automatically creating and populating Revenue records for Opportunities, based on complex logic.

They estimate that roughly 100,000 Opportunities will have Revenue records created and populated.

What is the optimal way to automate this?

Options:

A.

Use system, acheduladeb() to schedule a patakape.Scheduleable class.

B.

Use system, enqueuJob (| to invoke a gueusable class.

C.

Use Database. executeBatch () to invoke a Queueable class.

D.

Use Database. =executeBatch() to invoke a Database. Batchable class.

Question 35

Which method should be used to convert a Date to a String in the current user's locale?

Options:

A.

String.format

B.

Date.paras

C.

Date. format

D.

String.valueof

Page: 8 / 12
Exam Code: PDII
Exam Name: Salesforce Certified Platform Developer II (SU24)
Last Update: Dec 22, 2024
Questions: 193
PDII pdf

PDII PDF

$25.5  $84.99
PDII Engine

PDII Testing Engine

$28.5  $94.99
PDII PDF + Engine

PDII PDF + Testing Engine

$40.5  $134.99