Salesforce PDII

Page:    1 / 91   
Total 455 questions | Updated On: Apr 22, 2024
Question 1

An Apex trigger creates an Order__c record every time an Opportunity is won by a Sales Rep. Recently the trigger is creating two orders. What is the optimal method for a developer to troubleshoot this?


Answer: D
Question 2

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?


Answer: B
Question 3

A company has a custom object, Order__c, that has a required, unique, external ID field called Order_Number__c. Which statement should be used to perform the DML necessary to insert new records and update existing records in a List of Order__c records?


Answer: D
Question 4

Refer to the code snippet below:

35
When a Lightning web component is rendered, a list of opportunity that match certain criteria should be retrieved from the database and displayed to the end-user.
Which three considerations must the developer implement to make the fetchOpps method available within the Lightning web component?


Answer: A,C,D
Question 5

.A developer is asked to update data in an org based on new business rules. The new rules state that Accounts with the type set to 'Customer' should have a status of 'Active,' and Accounts with the type set to 'Prospect' should have a status of 'Pending.' No other changes to data should be made. Which code block will accurately meet the business requirements?


Answer: D
Page:    1 / 91   
Total 455 questions | Updated On: Apr 22, 2024

Quickly grab our PDII product now and kickstart your exam preparation today!

Name: Platform Developer II (WI24)
Exam Code: PDII
Certification: Salesforce Platform Developer II
Vendor: Salesforce
Total Questions: 455
Last Updated: Apr 22, 2024