Salesforce Platform Developer I (PDI) - PDI무료 덤프문제 풀어보기
When using Salesforce DX, what does a developer need to enable to create and manage scratch orgs?
정답: A
설명: (Fast2test 회원만 볼 수 있음)
Universal Containers wants to automatically assign new cases to the appropriate support representative based on the case origin. They have created a custom field on the Case object to store the support representative name.
What is the best solution to assign the case to the appropriate support representative?
What is the best solution to assign the case to the appropriate support representative?
정답: B
설명: (Fast2test 회원만 볼 수 있음)
What will be the output in the debug log in the event of a QueryException during a call to the aQuery method if it is following example?
public class myclass { class CustomException extends Exception {}
public static Account aQuery() {
Account theAccount;
try {
system.debug( ' Querying Accounts. ' );
theAccount = [SELECT Id FROM Account WHERE CreatedDate > TODAY];
}
catch (CustomException ex) {
system.debug( ' Custom Exception. ' );
}
catch (QueryException ex) {
system.debug( ' Query Exception. ' );
}
finally {
system.debug( ' Done. ' );
}
return theAccount;
}
public class myclass { class CustomException extends Exception {}
public static Account aQuery() {
Account theAccount;
try {
system.debug( ' Querying Accounts. ' );
theAccount = [SELECT Id FROM Account WHERE CreatedDate > TODAY];
}
catch (CustomException ex) {
system.debug( ' Custom Exception. ' );
}
catch (QueryException ex) {
system.debug( ' Query Exception. ' );
}
finally {
system.debug( ' Done. ' );
}
return theAccount;
}
정답: A
설명: (Fast2test 회원만 볼 수 있음)
What are two ways a developer can get the status of an enqueued job for a class that implements the queueable interface?
정답: C,D
설명: (Fast2test 회원만 볼 수 있음)
Which annotation exposes an Apex class as a RESTful web service?
정답: B
설명: (Fast2test 회원만 볼 수 있음)
What should a developer use to obtain the Id and Name of all the Leads, Accounts, and Contracts that have the company name " Universal Containers " ?
정답: A
설명: (Fast2test 회원만 볼 수 있음)
Developers at Universal Containers (UC) use version control to share their code changes, but they notice that when they deploy their code to different environments they often have failures. They decide to set up Continuous Integration (CI).
What should the UC development team use to automatically run tests as part of their CI process?
What should the UC development team use to automatically run tests as part of their CI process?
정답: D
설명: (Fast2test 회원만 볼 수 있음)
What can be used to override the Account ' s standard Edit button for Lightning Experience?
정답: D
설명: (Fast2test 회원만 볼 수 있음)
A developer created a new after insert trigger on the Lead object that creates Task records for each Lead.
After deploying to production, an existing outside integration that inserts Lead records in batches to Salesforce is occasionally reporting total batch failures being caused by the Task insert statement. This causes the integration process in the outside system to stop, requiring a manual restart.
Which change should the developer make to allow the integration to continue when some records in a batch cause failures due to the Task insert statement, so that manual restarts are not needed?
After deploying to production, an existing outside integration that inserts Lead records in batches to Salesforce is occasionally reporting total batch failures being caused by the Task insert statement. This causes the integration process in the outside system to stop, requiring a manual restart.
Which change should the developer make to allow the integration to continue when some records in a batch cause failures due to the Task insert statement, so that manual restarts are not needed?
정답: B
설명: (Fast2test 회원만 볼 수 있음)
A developer has identified a method in an Apex class that performs resource intensive actions in memory by iterating over the result set of a SOQL statement on the account.
The method also performs a DML statement to save the changes to the database.
Which two techniques should the developer implement as a best practice to ensure transaction control and avoid exceeding governor limits?
The method also performs a DML statement to save the changes to the database.
Which two techniques should the developer implement as a best practice to ensure transaction control and avoid exceeding governor limits?
정답: A,C
설명: (Fast2test 회원만 볼 수 있음)
An Apex method, getAccounts, that returns a list of Accounts given a searchTerm, is available for Lightning Web Components to use.
What is the correct definition of a Lightning Web Component property that uses the getAccounts method?
What is the correct definition of a Lightning Web Component property that uses the getAccounts method?
정답: D
설명: (Fast2test 회원만 볼 수 있음)
Consider the following code snippet:
public static List < Lead > obtainAllFields(Set < Id > leads){
List < Lead > result = new List < Lead > ();
for(Id leadId : leads){
result.add([SELECT FIELDS(STANDARD) FROM Lead WHERE Id = :leadId]);
}
return result;
}
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?
public static List < Lead > obtainAllFields(Set < Id > leads){
List < Lead > result = new List < Lead > ();
for(Id leadId : leads){
result.add([SELECT FIELDS(STANDARD) FROM Lead WHERE Id = :leadId]);
}
return result;
}
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?
정답: A
설명: (Fast2test 회원만 볼 수 있음)
Which three data types can a SOQL query return?
Choose 3 answers
Choose 3 answers
정답: C,D,E
설명: (Fast2test 회원만 볼 수 있음)
What should a developer use to fix a Lightning web component bug in a sandbox?
정답: A
설명: (Fast2test 회원만 볼 수 있음)