Question 81

Which three code lines are required to create a Lightning component on a Visualforce page? Choose 3 answers
  • Question 82

    Which type of code represents the view in the MVC architecture on the Force.com platform?
  • Question 83

    Management asked for opportunities to be automatically created for accounts with annual revenue greater than $1,000,000. A developer created the following trigger on the Account object to satisfy this requirement.

    Users are able to update the account records via the UI and can see an opportunity created for high annual revenue accounts. However, when the administrator tries to upload a list of 179 accounts using Data Loader, It fails with system. Exception errors.
    Which two actions should the developer take to fix the code segment shown above?
    Choose 2 answers
  • Question 84

    A developer uses a before insert trigger on the Lead object to fetch the Territory__c object, where the Territory__c.PostalCode__c matches the Lead.PostalCode. The code fails when the developer uses the Apex Data Loader to insert 10,000 Lead records. The developer has the following code block: Line-01: for (Lead l :
    Trigger.new){Line-02: if (l.PostalCode != null) {Line-03: List<Territory__c> terrList = [SELECT Id FROM Territory__c WHERE PostalCode__c = :l.PostalCode];Line-04: if(terrList.size() > 0) Line-05: l.Territory__c = terrList[0].Id; Line-06: }Line-07: }Which line of code is causing the code block to fail?
  • Question 85

    A developer receives an error when trying to call a global server-side method using the remoteAction decorator.
    How can the developer resolve the error?