Question 131

A developer must modify the following code snippet to prevent the number of SOQL queries issued from exceeding the platform governor limit.

The above method might be called during a trigger execution via a Lightning component.
Which technique should be implemented to avoid reaching the governor limit?
  • Question 132

    Universal Container uses Service Cloud with a custom field, stage_c, on the Case object.
    Management wants to send a follow-up email reminder 6 hours after the stage_c field is set to '';Waiting on customer'' The .... Administrator wants to ensure the solution used is bulk safe.
    Which two automation tools should a developer recommend to meet these business requirements?
    Choose 2 answers
  • Question 133

    What are two ways that a controller and extension can be specified on a Visualforce page?
    Choose 2 answers
  • Question 134

    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 135

    A developer needs to create a custom button for the Account object that, when clicked, will perform a series of calculation and redirect the user to a custom visualforce page.
    Which three attributes need to be defined with values in the <apex:page> tag to accomplish this?
    Choose 3 answers