Question: 1
A developer uses an 'after update' trigger on the Account object to update all the Contacts related to the Account. 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?
Question: 2
Universal Containers requires Service Representatives to update all Cases at least one every three days. To make sure of this policy is obeyed, a developer has been asked to implement a field that displays the number of days since the last Case update. What should the developer use to configure the solution?
Question: 3
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: 4
A developer needs to avoid potential system problems that can arise in a multi-tenant architecture. Which requirement helps prevent poorty written applications from being deployed to a production environment?
Question: 5
Which two platform features allow for the use of unsupported languages? Choose 2 answers