PDI Exam Question 66

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?
  • PDI Exam Question 67

    A developer wants to get access to the standard price book in the org while writing a test class that covers an OpportunityLineItem trigger.
    Which method allows access to the price book?
  • PDI Exam Question 68

    What are three ways for a developer to execute tests in an org?
  • PDI Exam Question 69

    Universal Containers implemented a private sharing model for the Account object. A custom Account search tool was developed with Apex to help sales representatives find accounts that match multiple criteria they specify. Since its release, users of the tool report they can see Accounts they do not own.
    What should the developer use to enforce sharing permissions for the currently logged in user while using the custom search tool?
  • PDI Exam Question 70

    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?