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

Exactprep PDI Questions

Page: 9 / 18
Total 235 questions

Platform Developer I (SP23) Questions and Answers

Question 33

Universal Container(UC) wants to lower its shipping cost while making the shipping process more efficient. The Distribution Officer advises UC to implement global addresses to allow multiple Accounts to share a default pickup address. The Developer is tasked to create the supporting object and relationship for this business requirement and uses the Setup Menu to create a custom object called "Global Address". Which field should the developer ad to create the most efficient model that supports the business need?

Options:

A.

Add a Master-Detail field on the Account object to the Global Address object

B.

Add a Master-Detail field on the Global Address object to the Account object.

C.

Add a Lookup field on the Account object to the Global Address object.

D.

Add a Lookup field on the Global Address object to the Account object

Question 34

A company wants to implement a new call center process for handling customer service calls. It requires service reps to ask for the caller’s account number before proceeding with the rest of their call script.

Following best practices, what is the optimal approach to satisfy this requirmrnt?

Options:

A.

Flow Builder

B.

Approvals

C.

Apex trigger

D.

Einstein Next Best Action

Question 35

A developer needs to make a custom Lightning Web Component available in the Salesforce Classic user interface.

Which approach can be used to accomplish this?

Options:

A.

Wrap the Lightning Web Component In an Aura Component and surface the Aura Component as a Visualforce tab.

B.

Embed the Lightning Web Component is a Visualforce Component and add directly to the page layout.

C.

Use the Lightning Out JavaScript library to embed the Lightning Web Component in a Visualforce page and add to the page layout.

D.

Use a Visualforce page with a custom controller to invoke the Lightning Web Component using a call to an Apex method.

Question 36

A developer has a single custom controller class that works with a Visualforce Wizard to support creating and editing multiple subjects. The wizard accepts data from user inputs across multiple Visualforce pages and from a parameter on the initial URL.

Which three statements are useful inside the unit test to effectively test the custom controller?

Choose 3 answers

Options:

A.

insert pageRef.

B.

Test.setCurrentPage(pageRef);

C.

public ExtendedController(ApexPages StandardController cntrl) { }

D.

ApexPages.CurrentPage().getParameters().put('input\’, 'TestValue');

E.

String nextPage - controller.save().getUrl();

Page: 9 / 18
Total 235 questions