PDI Exam Question 21

The Account object in an organization has a master-detail relationship to a child object called Branch.
The following automations exist:
* Roll up summary fields
* Custom validation rules
* Duplicate rules
A developer created a trigger on the Account object.
Which two things should the developer consider while testing the trigger code?
Choose 2 answers
  • PDI Exam Question 22

    A developer creates a Lightning web component that imports a method within an Apex class. When a Validate button is pressed, the method runs to execute complex validations.
    In this implementation scenario, which two options are part of the Controller according to the MVC architecture?
    Choose 2 answers
  • PDI Exam Question 23

    Considering the following code snippet:
    public static void insertAccounts(List < Account > theseAccounts){
    for(Account thisAccount : theseAccounts){
    if(thisAccount.website == null){
    thisAccount.website = ' https://www.demo.com ' ;
    }
    }
    update theseAccounts;
    }
    When the code executes, a DML exception is thrown.
    How should a developer modify the code to ensure exceptions are handled graceful!
  • PDI Exam Question 24

    What is one limitation of Agentforce ' s language support capabilities?
  • PDI Exam Question 25

    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?