Question 126

What features are available when writing apex test classes?(Choose 2 Answers)
  • Question 127

    What is a capability of formula fields? (Choose 3)
  • Question 128

    Which two strategies should a developer use to avoid hitting governor limits when developing in a multi-tenant environment? (Choose two.)
  • Question 129

    A developer must implement a CheckPaymentProcessor class that provides check processing payment capabilities that adhere to what defined for payments in the PaymentProcessor interface. public interface PaymentProcessor { void pay(Decimal amount); } Which is the correct implementation to use the PaymentProcessor interface class?
  • Question 130

    A developer uses an 'after update' trigger on the Account object to update all the Contacts related to theAccount. The trigger code shown below is randomly failing.
    List<Contacts> theContacts = new List<Contacts>(); for(Account a : Trigger.new){ for(Contact c : [SELECT Id, Account_Date__c FROM Contact WHERE AccountId = :a.Id]){ c.Account_Date__c = Date.today(); theContacts.add(c);
    }
    } updates theContacts;
    Which line of code is causing the code block to fail?