Question 131

Which two are best practices when it comes to component and application event handling? Choose 2 answers
  • Question 132

    A developer needs to provide a Visualforce page that lets users enter Product-specific details during a Sales cycle. How can this be accomplished? (Choose 2)
  • Question 133

    Which code block returns the ListView of an Account object using the following debug statement?
    system.debug(controller.getListViewOptions() );
  • Question 134

    A developer must modify the following code snippet to prevent the number of SOQL queries issued from exceeding the platform governor limit. public class without sharing OpportunityService( public static List<OpportunityLineItem> getOpportunityProducts(Set<Id> opportunityIds){ List<OpportunitylineItem> oppLineItems = new List<OpportunityLineItem>(); for(Id thisOppId : opportunityIds){ oppLineItems.addAll([Select Id FROM OpportunityLineItems WHERE OpportunityId = :thisOppId)]; } return oppLineItems; } } 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 135

    When using SalesforceDX, what does a developer need to enable to create and manage scratch orgs?