PDI Exam Question 16

A developer wants to mark each Account in a List < Account > as either Active or Inactive, based on the value in the LastModifiedDate field of each Account being greater than 90 days in the past.
Which Apex technique should the developer use?
  • PDI Exam Question 17

    What are two benefits of using declarative customizations over code?
  • PDI Exam Question 18

    A team of developers is working on a source-driven project that allows them to work independently, with many different org configurations.
    Which type of Salesforce orgs should they use for their development?
  • PDI Exam Question 19

    A developer needs to create a baseline set of data (Accounts, Contacts, Products, Assets) for an entire suite of Apex tests allowing them to test isolated requirements for various types of Salesforce cases.
    Which approach can efficiently generate the required data for each unit test?
  • PDI Exam Question 20

    Managers at Universal Containers want to ensure that only decommissioned containers are able to be deleted in the system. To meet the business requirement a Salesforce developer adds " Decommissioned " as a picklist value for the ' Status_c ' custom field within the ' Container_c ' object. Which two approaches could a developer use to enforce only Container records with a status of " Decommissioned " can be deleted?
    Choose 2 answers