Weekend Sale 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: save70

Complete PDI Salesforce Materials

Page: 12 / 15
Total 204 questions

Salesforce Certified Platform Developer 1 (SP25) Questions and Answers

Question 45

(Full question statement)

Universal Containers wants Opportunities to no longer be editable when they reach the Closed/Wonstage.

Which two strategies can a developer use to accomplish this?

Choose 2 answers.

Options:

A.

Use an automatically launched Approval Process.

B.

Use a Validation Rule.

C.

Use a before-save Apex Trigger.

D.

Use an Auto-Response Rule.

Question 46

Which annotation should a developer use on an Apex method to make it available to be wired to a property in a Lightning web component?

Options:

A.

@AuraEnabled(cacneable=true)

B.

@RemoteAction (cacheable-true)

C.

@RemoteAction

D.

@AuraEnabled

Question 47

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

Public class CustomerOrder {

//code implementation

}

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

Options:

A.

Extends (class="OrderRequest"}public class CustomerOrder

B.

public class CustomerOrder implements Order

C.

public class CustomerOrder extends OrderRequest

D.

@Implements (class="OrderRequest")public class Customerorder

Question 48

What is the value of the Trigger.old context variable in a before insert trigger?

Options:

A.

An empty list of sObjects

B.

Undefined

C.

null

D.

A list of newly created sObjects without IDs

Page: 12 / 15
Total 204 questions