Question: 1
Given the following code sample, what is a potential issue regarding bulk processing of records? trigger accountTestTrggr on Account (before insert, before update) Account acct = Trigger.new[0]; List contacts = new List ([select id, salutation, firstname, lastname,email from Contact where accountId = :acct.Id]); for (Contact con: contacts) con.Title = 'Not Selected'; update contacts;
Question: 2
How could a developer create a Visualforce page for a Multilanguage organization? Choose 2 answers
Question: 3
Which object can a developer use to programmatically determine who is following a specific User record in Chatter?
Question: 4
What is the value of "i" printed by the System.debug statement, if the value of "j" is 2 at the end of the transaction? insert new Account[]{new Account(Name = 'yyy'), new Account(Name = 'yyy')}; integer i = 0; integer j; for (Account[] tmp : [SELECT Id FROM Account WHERE Name = 'yyy']) j=tmp.size(); i++; System.debug(i);
Question: 5
What is a technique to maximize code re-use within Visualforce pages? Choose 3 answers