Salesforce PDI Actual Free Exam Questions & Community Discussion
Which statement describes the execution order when triggers are associated to the same object and event?
Correct Answer: D
Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
A company decides to implement a new process where every time an Opportunity is created, a follow up Task should be created and assigned to the Opportunity Owner.
What is the most efficient way for a developer to implement this?
What is the most efficient way for a developer to implement this?
Correct Answer: B
Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
Which action causes a before trigger to fire by default for Accounts?
Correct Answer: B
Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
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;
}
Correct Answer: C
Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
Universal Containers is developing a new Lightning web component for their marketing department. They want to ensure that the component is fine tuned and provides a seamless user experience.
What are some benefits of using the Lightning Component framework?
What are some benefits of using the Lightning Component framework?
Correct Answer: B,C,D
Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
Universal Hiring uses Salesforce to capture job applications. A Salesforce administrator created two custom objects; ' Job_c ' acting as the master object, ' Job_Application_c ' acting as the detail.
Within the ' Job_c ' object, a custom multi-select picklist, ' Preferred_Locations_c ' , contains a list of approved states for the position. Each ' Job_Application_c ' record relates to a Contact within the system through a master-detail relationship.
Recruiters have requested the ability to view whether the Contact ' s Mailing State value matches a value selected on the ' Preferred_Locations_c ' field, within the
' Job_Application_c ' record. Recruiters would like this value to be kept in sync if changes occur to the Contact ' s Mailing State.
What is the recommended tool a developer should use to meet the business requirement?
Within the ' Job_c ' object, a custom multi-select picklist, ' Preferred_Locations_c ' , contains a list of approved states for the position. Each ' Job_Application_c ' record relates to a Contact within the system through a master-detail relationship.
Recruiters have requested the ability to view whether the Contact ' s Mailing State value matches a value selected on the ' Preferred_Locations_c ' field, within the
' Job_Application_c ' record. Recruiters would like this value to be kept in sync if changes occur to the Contact ' s Mailing State.
What is the recommended tool a developer should use to meet the business requirement?
Correct Answer: C
Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
A developer is creating an app that contains multiple Lightning web components.
One of the child components is used for navigation purposes. When a user clicks a button called Next in the child, the parent component must be alerted so it can navigate to the next page.
How should this be accomplished?
One of the child components is used for navigation purposes. When a user clicks a button called Next in the child, the parent component must be alerted so it can navigate to the next page.
How should this be accomplished?
Correct Answer: A
Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
Universal Containers has a large number of custom applications that were built using a third-party JavaScript framework and exposed using Visualforce pages. The company wants to update these applications to apply styling that resembles the look and feel of Lightning Experience.
What should the developer do to fulfill the business request in the quickest and most effective manner?
What should the developer do to fulfill the business request in the quickest and most effective manner?
Correct Answer: A
Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
Universal Containers wants to back up all of the data and attachments in its Salesforce org once a month.
Which approach should a developer use to meet this requirement?
Which approach should a developer use to meet this requirement?
Correct Answer: A
Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
Universal Containers wants Opportunities to no longer be editable when it reaches the Closed/Won stage.
Which two strategies can a developer use to accomplish this?
Which two strategies can a developer use to accomplish this?
Correct Answer: B,D
Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
A software company is using Salesforce to track the companies they sell their software to in the Account object. They also use Salesforce to track bugs in their software with a custom object, Bug_c.
As part of a process improvement initiative, they want to be able to report on which companies have reported which bugs. Each company should be able to report multiple bugs and bugs can also be reported by multiple companies.
What is needed to allow this reporting?
As part of a process improvement initiative, they want to be able to report on which companies have reported which bugs. Each company should be able to report multiple bugs and bugs can also be reported by multiple companies.
What is needed to allow this reporting?
Correct Answer: C
Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
Universal Containers has an order system that uses an Order Number to identify an order for customers and service agents. Order records will be imported into Salesforce.
How should the Order Number field be defined in Salesforce?
How should the Order Number field be defined in Salesforce?
Correct Answer: B
Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
0
0
0
10
