최신 PDII 무료덤프 - Salesforce Certified Platform Developer II (PDII)
An Apex trigger and Apex class increment a counter, Edit __C, any time the Case is changed.


정답: A
A company has code to update a Request and Request Lines and make a callout to their external ERP system's REST endpoint with the updated records.

The callousUtil.makeRestCallout fails with a "You have uncommitted work pending. Please commit or rollback before calling cut' error.
What should be done to address the problem?

The callousUtil.makeRestCallout fails with a "You have uncommitted work pending. Please commit or rollback before calling cut' error.
What should be done to address the problem?
정답: B
설명: (DumpTOP 회원만 볼 수 있음)
A developer implemented a custom data table in a Lightning web component with filter functionality.
However, users are submitting support tickets about long load times when the filters are changed. The component uses an Apex method that is called to query for records based on the selected filters.
What should the developer do to improve performance of the component?
However, users are submitting support tickets about long load times when the filters are changed. The component uses an Apex method that is called to query for records based on the selected filters.
What should the developer do to improve performance of the component?
정답: D
설명: (DumpTOP 회원만 볼 수 있음)
An org has an existing process, built using Process Builder, on Opportunity that sets a custom field, CommissionBaseAmount__c, when an Opportunity is edited and the Opportunity's Amount changes.
A developer recently deployed an Opportunity before update trigger that uses the CommissionBaseAmount__c and complex logic to calculate a value for a custom field, CommissionAmount__c, when an Opportunity stage changes to Closed/Won.
Users report that when they change the Opportunity to Closed/Won and also change the Amount during the same save, the CommissionAmount__c is incorrect.
Which action should the developer take to correct this problem?
A developer recently deployed an Opportunity before update trigger that uses the CommissionBaseAmount__c and complex logic to calculate a value for a custom field, CommissionAmount__c, when an Opportunity stage changes to Closed/Won.
Users report that when they change the Opportunity to Closed/Won and also change the Amount during the same save, the CommissionAmount__c is incorrect.
Which action should the developer take to correct this problem?
정답: A
설명: (DumpTOP 회원만 볼 수 있음)
Refer to the following code snippet:

A developer created a JavaScript function as part of a Lightning web component (LWC) that surfaces information about Leads by wire calling geyFetchLeadList whencertain criteria are met.
Which three changes should the developer implement in the Apex class above to ensure the LWC can display data efficiently while preserving security?
Choose 3 answers

A developer created a JavaScript function as part of a Lightning web component (LWC) that surfaces information about Leads by wire calling geyFetchLeadList whencertain criteria are met.
Which three changes should the developer implement in the Apex class above to ensure the LWC can display data efficiently while preserving security?
Choose 3 answers
정답: A,B,D
설명: (DumpTOP 회원만 볼 수 있음)
A developer needs to send Account records to an external system for backup purposes. The process must take a snapshot of Accounts as they are saved and then make a callout to a RESTful web service. The web service can only receive, at most, one record per call.
What should a developer do to implement these requirements?
What should a developer do to implement these requirements?
정답: B
When the sales team views an individual customer record, they need to see recent interactions for the customer. These interactions can be sales orders, phone calls, or Cases. The date range for recent interactions will be different for every customer record type.
How can this be accomplished?
How can this be accomplished?
정답: B
설명: (DumpTOP 회원만 볼 수 있음)
A company needs to automatically delete sensitive information after seven years.
This could delete almost a million records every day.
How can this be achieved?
This could delete almost a million records every day.
How can this be achieved?
정답: A
설명: (DumpTOP 회원만 볼 수 있음)
A developer wrote a test class that successfully asserts a trigger on Account, It fires and updates data correctly In a sandbox environment.
A Salesforce admin with a custom profile attempts to deploy this trigger via a change set into the production environment, but the test class falls with an Insufficient privileges error.
What should a developer do to fix the problem?
A Salesforce admin with a custom profile attempts to deploy this trigger via a change set into the production environment, but the test class falls with an Insufficient privileges error.
What should a developer do to fix the problem?
정답: A
설명: (DumpTOP 회원만 볼 수 있음)
A corporation has many different Salesforce orgs, with some different objects and some common objects, and wants to build a single Java application that can create, retrieve, and update common object records in all of the different orgs.
Which method of integration should the application use?
Which method of integration should the application use?
정답: A
설명: (DumpTOP 회원만 볼 수 있음)