Question 81

A workflow updates the value of a custom field for an existing Account.
How can a developer access the updated custom field value from a trigger?
  • Question 82

    A developer in a Salesforce org with 100 Accounts executes the following code using the Developer console:Account myAccount = new Account(Name = 'MyAccount');Insert myAccount;For (Integer x = 0; x < 150; x++)
    {Account newAccount = new Account (Name='MyAccount' + x);try {Insert newAccount;} catch (Exception ex) {System.debug (ex) ;}}insert new Account (Name='myAccount');How many accounts are in the org after this code is run?
  • Question 83

    A developer wants to display all of the picklist entries for the Opportunity StageName field and all of the available record types for the Opportunity object on a Visualforce page.
    Which two actions should the developer perform to get the available picklist values and record types in the controller? Choose 2 answers.
  • Question 84

    Which two statements are true about Apex code executed in Anonymous Blocks? (Choose two.)
  • Question 85

    A Next Best Action strategy uses an Enchance Element that invokes an Apex method to determine a discount level for a Contact, based on a number of factors. What is the correct definition of the Apex method?