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

Developers PDI Book

Page: 3 / 18
Total 235 questions

Platform Developer I (SP23) Questions and Answers

Question 9

Which statement generates a list of Leads and Contacts that have a field with the phrase 'ACME'?

Options:

A.

List> searchList = [SELECT Name, ID FROM Contact, Lead WHERE Name like "tACME3"];

B.

List> searchList = [FIND '*ACME*" IN ALL FIELDS RETURNING Contact, Lead];

C.

Map searchList = [FIND '*ACME*' IN ALL FIELDS RETURNING Contact, Lead];

D.

List searchList = [FIND '*ACME*' IN ALL FIELDS RETURNING Contact, Lead];

Question 10

What is an example of a polymorphic lookup field in Salesforce?

Options:

A.

The Parentid field on the standard Account object

B.

The LeadId and ContactId fields on the standard Campaign Member object

C.

A custom field, Link__c, on the standard Contact object that looks up to an Account or a Campaign

D.

The Whatld field on the standard Event object

Question 11

Universal Containers wants a list button to display a Visualforce page that allows users to edit multiple records.

Which Visualforce feature supports this requirement?

Options:

A.

B.

C.

D.

Question 12

A Next Best Action strategy uses an Enhance element that invokes an Apex method to determine a discount level for a Contact, based on a

number of factors.

What is the correct definition of the Apex method?

Options:

A.

B.

C.

D.

Page: 3 / 18
Total 235 questions