Black Friday Special 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: sale65best

examstrack slider

Salesforce PDI Exam Made Easy: Step-by-Step Preparation Guide

Questions 31

A developer must create a DrawList class that provides capabilities defined in the Sortable and Drawable interfaces.

PDI Question 31

Which is the correct implementation?

A)

PDI Question 31

B)

PDI Question 31

Options:

A.

Option A

B.

Option B

Buy Now
Questions 32

Which statement should be used to allow some of the records in a list of records to be inserted if others fail to be inserted?

Options:

A.

insert records

B.

Database.insert (records, false)

C.

Insert (records, false)

D.

Database.insert(records, true)

Buy Now
Questions 33

In the following example, which sharing context will myMethod execute when it is invoked?

PDI Question 33

Options:

A.

Sharing rules will be inherited from the calling context.

B.

Sharing rules will not be enforced for the running user.

C.

Sharing rules will be enforced by the instantiating class.

D.

Sharing rules will be enforced for the running user.

Buy Now
Questions 34

A lead developer creates a virtual class called "OrderRequest". Consider the following code snippet:

PDI Question 34

How can a developer use the OrderRequest class within the CustomerOrder class?

Options:

A.

public class CusctomerOrder implements Order

B.

@Implements (class="OrderRequest”)

public class CusatomaxOrder

C.

Extends (class="OrderRequest”) pubklic

class CuastomerOrder

D.

public class CustomerOrder extends OrderRequest

Buy Now
Questions 35

An org has an existing flow that edits an Opportunity with an Update Records element. A developer must update the flow to also create a Contact and store the created Contact’s ID on the Opportunity.

Which update must the developer make in the flow?

Options:

A.

Add a new Update Records element.

B.

Add a new Get Records element.

C.

Add a new Roll Back Records element.

D.

Add a new Create Records element.

Buy Now
Questions 36

What are two ways a developer can get the status of an enqueued job for a class that implements the queueable interface?

Choose 2 answers

Options:

A.

View the Apex Flex Queue

B.

View the Apex Status page

C.

View the Apex Jobs page

D.

Query the AsyncApexJob object

Buy Now
Questions 37

Since Aura application events follow the traditional publish- subscribe model, which method is used to fire an event?

Options:

A.

registerEvent

B.

fireEvent ()

C.

emit{)

D.

fire()

Buy Now
Questions 38

What can be used to override the Account's standard Edit button for Lightning Experience?

Options:

A.

Lightning component

B.

Lightning action

C.

Lightning flow

D.

Lightning page

Buy Now
Questions 39

What are three considerations when using the @InvocableMethod annotation in Apex?

Choose 3 answers

Options:

A.

Only one method using the @InvocableMethod annotation can be defined per Apex class.

B.

A method using the @InvocableMathod annotation must define a return value,

C.

A method using the @InvocableMethod annotation can have multiple input parameters.

D.

A method using the @InvocablsMethod annotation must be declared as static.

E.

A method using the @InvocableMathod annotation can be declared as Public Global.

Buy Now
Questions 40

A developer created a trigger on a custom object. This custom object also has some dependent pick lists.

According to the order of execution rules, which step happens first?

Options:

A.

Old values are overwritten with the new record values.

B.

JavaScript validation is run in the browser,

C.

System validation is run for maximum field lengths,

D.

The original record Is loaded from the database.

Buy Now
Exam Code: PDI
Exam Name: Platform Developer I (WI24)
Last Update: Dec 2, 2024
Questions: 174

PDF + Testing Engine

$164.99
$57.75

Testing Engine

$124.99
$43.75

PDF (Q&A)

$104.99
$36.75

Salesforce Free Exams

Salesforce Free Exams
Examstrack provides free Salesforce exam prep materials and practice tests to support your Salesforce certification goals.