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

Last Attempt PDI Questions

Page: 4 / 18
Total 235 questions

Platform Developer I (SP23) Questions and Answers

Question 13

The sales management team at Universal Container requires that the Lead Source field of the Lead record be populated when a.. converted.

What should be done to ensure that a user populates the Lead Source field prior to converting a Lead?

Options:

A.

Use a formula field.

B.

Use a validation rule.

C.

Use Lead Conversation field mapping.

D.

Create an after trigger on Lead.

Question 14

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

Options:

A.

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

B.

View the Class Test Percentage tab on the Apex Class fist view m Salesforce Setup.

C.

View Use cede coverage percentage for the class using the Overall Code Coverage panel in the Developer Console Tests tab.

D.

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

Question 15

A developer identifies the following triggers on the Expense __c object:

The triggers process before delete, before insert, and before update events respectively.

Which two techniques should the developer implement to ensure trigger best practices are followed?

Choose 2 answers

Options:

A.

Create helper classes to execute the appropriate logic when a record is saved.

B.

Unify the before insert and before update triggers and use Flow for the delete action.

C.

Unify all three triggers in a single trigger on the Expense__c object that includes all events.

D.

Maintain all three triggers on the Expense__c object, but move the Apex logic out of the trigger definition.

Question 16

As part of new feature development, a developer is asked to build a responsive application capable of responding to touch events, that will be executed on stateful clients.

Which two technologies are built on a framework that fully supports the business requirement? Choose 2 answers

Options:

A.

Aura Components

B.

Vlsualforce Components

C.

Lightning Web Components

D.

Visualforce Pages

Page: 4 / 18
Total 235 questions