Question 61

A developer writes a trigger on the Account object on the before update event that increments a count field. A workflow rule also increments the count field every time that an Account is created or update. The field update in the workflow rule is configured to not re-evaluate workflow rules. What is the value of the count field if an Account is inserted with an initial value of zero, assuming no other automation logic is implemented on the Account?
  • Question 62

    When viewing a Quote, the sales representative wants to easily see how many discounted items are included in the Quote Line Items.
    What should a developer do to meet this requirement?
  • Question 63

    How many accounts will be inserted by the following block ofcode? for(Integer i = 0 ; i <
    500; i++) { Account a = new Account(Name='New Account ' + i); insert a; }
    * 0
    87. Boolean odk;
    Integer x;
    if(abok=false;integer=x;){
    X=1;
    }elseif(abok=true;integer=x;){
    X=2;
    }elseif(abok!=null;integer=x;){
    X=3;
    )elseif{
    X=4;}
  • Question 64

    A developer needs to write a method that searches for a phone number that could be on multiple object types. Which method should the developer use to accomplish this task?
  • Question 65

    Which option would a developer use to display the Accounts created in the current week and the number of related Contacts using a debug statement in Apex?