Labour Day Special - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: top65certs

Developers PDI Reddit Questions

Page: 7 / 18
Total 235 questions

Platform Developer I (SP23) Questions and Answers

Question 25

What is the result of the following code?

Options:

A.

The record will not be created and a exception will be thrown.

B.

The record will be created and a message will be in the debug log.

C.

The record will not be created and no error will be reported.

D.

The record will be created and no error will be reported.

Question 26

A development team wants to use a deployment script lo automatically deploy lo a sandbox during their development cycles.

Which two tools can they use to run a script that deploys to a sandbox?

Choose 2 answers

Options:

A.

VS Code

B.

SFDX CLI

C.

Change Sets

D.

Developer Console

Question 27

A developer created a Visualforce page and custom controller to display the account type field as shown below.

Custom controller code:

Visualforce page snippet:

The value of the account type field is not being displayed correctly on the page. Assuming the custom controller is properly referenced on the Visualforce page, what should the developer do to correct the problem?

Options:

A.

Convert theAcccunt, type to a String.

B.

Change theAccount attribute to public.

C.

Add with sharing to the custom controller.

D.

Add a getter method for the actType attribute.

Question 28

An org has an existing Flow that creates an Opportunity with an Update Records element. A developer update the Flow to also create a Contact and store the created Contact's ID on the Opportunity.

Which update should the developer make in the Flow?

Options:

A.

Add a new Get Records element.

B.

Add a new Update Records element.

C.

Add a new Quick Action element(of type Create).

D.

Add a new Create Records element.

Page: 7 / 18
Total 235 questions