Question 26

A developer created a visualforce page using a custom controller that calls an apex helper class. A method in the helper class hits a governor limit. what is the result of the transaction?
  • Question 27

    Given the following trigger implementation:
    trigger leadTrigger on Lead (before update){
    final ID BUSINESS_RECORDTYPEID = '012500000009Qad';
    for(Lead thisLead : Trigger.new){
    if(thisLead.Company != null && thisLead.RecordTypeId != BUSINESS_RECORDTYPEID){ thisLead.RecordTypeId = BUSINESS_RECORDTYPEID;
    }
    }
    }
    The developer receives deployment errors every time a deployment is attempted from Sandbox to Production.
    What should the developer do to ensure a successful deployment?
  • Question 28

    Which type of controller should a developer use to include a list of related records for a Custom Object record on a Visualforce page without needing additional test coverage?
  • Question 29

    Where can a developer identify the time taken by each process in a transaction using Developer Console log inspector?
  • Question 30

    What are two considerations for deciding to use a roll-up summary field? Choose 2 answer's partner.