New Year Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: save70

PDI Exam Questions Tutorials

Page: 10 / 15
Total 200 questions

Salesforce Certified Platform Developer 1 (WI25) Questions and Answers

Question 37

Universal Containers decided to transition from Classic to Lightning Experience. They asked a developer to replace a JavaScript button that was being used to create records with prepopulated values.

What can the developer use to accomplish this?

Options:

A.

Validation rules

B.

Apex triggers

C.

Record triggered flows

D.

Quick Actions

Question 38

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.

Database. insert (records, true)

B.

insert records

C.

insert (records, false)

D.

Database. insert (records, false)

Question 39

Consider the following code snippet:

Given the multi-tenant architecture of the Salesforce platform, what is a best practice a developer should implement and ensure successful execution of the method?

Options:

A.

Avoid using variables as query filters.

B.

Avoid returning an empty List of records.

C.

Avoid performing queries inside for loops.

D.

Avoid executing queries without a limit clause.

Question 40

How is a controller and extension specified for a custom object named "Notice" on a Visualforce page?

Options:

A.

apex:page standardController="Notice_c" extensions="myControllerExtension"”

B.

apex:page controllers="Notice_c, myContcollerExtension"

C.

apex:pege=Notice extends="myControllerExtension”

D.

apex:page controller="Notice_c" extensions="myControllerExtension"

Page: 10 / 15
Total 200 questions