PDI Exam Question 61
Which code displays the contents of a Visualforce page as a PDF?
PDI Exam Question 62
A business has a proprietary Order Management System (OMS) that creates orders from its website and fulfills the orders. When the order is created in the OMS, an integration also creates an order record in Salesforce and relates it to the contact as identified by the email on the order. As the order goes through different stages in the OMS, the integration also updates it in Salesforce.
The business notices that each update from the OMS creates a new order record in Salesforce.
Which two actions should prevent the duplicate order records from being created in Salesforce?
Choose 2 answers
The business notices that each update from the OMS creates a new order record in Salesforce.
Which two actions should prevent the duplicate order records from being created in Salesforce?
Choose 2 answers
PDI Exam Question 63
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;
}
PDI Exam Question 64
A developer creates a batch Apex job to update a large number of records, and receives reports of the job timing out and not completing.
What is the first step towards troubleshooting the issue?
What is the first step towards troubleshooting the issue?
PDI Exam Question 65
A developer wants to import 500 Opportunity records into a sandbox. Why should the developer choose to use Data Loader instead of Data Import Wizard?
