최신 PDII 무료덤프 - Salesforce Platform Developer II

The Lightning Component allows users to click a button to save their changes and then redirects them to a different page. Currently, when the user hits the Save button, the records are getting saved, but they are not redirected. Which three techniques can a developer use to debug the JavaScript?1

정답: B,D,E
설명: (DumpTOP 회원만 볼 수 있음)
An Aura component has a section that displays some information about an Account and it works well on the desktop, but we have to scroll horizontally to see the description field output on their mobile devices and tablets.
HTML
<lightning:layout multipleRows="false">
<lightning:layoutItem size="6">{!v.rec.Name}
</lightning:layoutItem>
<lightning:layoutItem size="6">{!v.rec.Description__c}
</lightning:layoutItem>
</lightning:layout>
How should a developer change the component to be responsive for mobile and tablet devices?

정답: A
설명: (DumpTOP 회원만 볼 수 있음)
A developer is debugging an Apex-based order creation process that has a requirement to have three savepoints, SP1, SP2, and SP3 (created in order), before the final execution of the process. During the final execution process, the developer has a routine to roll back to SP1 for a given condition. Once the condition is fixed, the code then calls a roll back to SP3 to continue with final execution. However, when the roll back to SP3 is called, a runtime error occurs. Why does the developer receive a runtime error?

정답: D
설명: (DumpTOP 회원만 볼 수 있음)
Part of a custom Lightning component displays the total number of Opportunities in the org, which are in the millions. The Lightning component uses an Apex method to get the data it needs. What is the optimal way for a developer to get the total number of Opportunities for the Lightning component?

정답: A
설명: (DumpTOP 회원만 볼 수 있음)
Which statement is true regarding savepoints?

정답: A
설명: (DumpTOP 회원만 볼 수 있음)
A business currently has a labor-intensive process to manually upload orders from an external OMS.
Accounts must be exported to get IDs to link the orders. Which two recommendations should make this process more efficient?

정답: C,D
설명: (DumpTOP 회원만 볼 수 있음)
A developer created a Lightning web component that uses a lightning-record-edit-form to collect information about Leads. Users complain that they only see one error message at a time about their input when trying to save a Lead record. Which best practice should the developer use to perform the validations on more than one field, thus allowing more than one error message to be displayed simultaneously?

정답: D
설명: (DumpTOP 회원만 볼 수 있음)
A developer created a JavaScript library that simplifies the development of repetitive tasks and features and uploaded the library as a static resource called jsUtils in Salesforce. Another developer is coding a new Lightning web component (LWC) and wants to leverage the library. Which statement properly loads the static resource within the LWC?

정답: B
설명: (DumpTOP 회원만 볼 수 있음)
Universal Containers uses a custom Lightning page to provide a mechanism to perform a step-by-step wizard search for Accounts. One of the steps in the wizard is to allow the user to input text into a text field, ERP_Number__c, that is then used in a query to find matching Accounts.
Java
erpNumber = erpNumber + '%';
List<Account> accounts = [SELECT Id, Name FROM Account WHERE ERP_Number__c LIKE :
erpNumber];
A developer receives the exception 'SOQL query not selective enough'. Which step should be taken to resolve the issue?

정답: B
설명: (DumpTOP 회원만 볼 수 있음)
A developer created a class that implements the Queueable Interface, as follows:
Java
public class without sharing OrderQueueableJob implements Queueable {
public void execute(QueueableContext context) {
// implementation logic
System.enqueueJob(new FollowUpJob());
}
}
As part of the deployment process, the developer is asked to create a corresponding test class. Which two actions should the developer take to successfully execute the test class?1

정답: C,D
설명: (DumpTOP 회원만 볼 수 있음)

우리와 연락하기

문의할 점이 있으시면 메일을 보내오세요. 12시간이내에 답장드리도록 하고 있습니다.

근무시간: ( UTC+9 ) 9:00-24:00
월요일~토요일

서포트: 바로 연락하기