Question: 1
What is the output of the following code snippet? l Contact con = new Contact( LastName = 'Smith', Department = 'Admin'); 2 insert con; 3 4 Savepoint sp_finance = Database.setSavepoint(); 5 con.Department = 'finance'; 6 update con; 7 8 Savepoint sp_hr = Database.setSavepoint(); 9 con.Department = 'HR'; 10 update con; 11 12 Database.rollback(sp_finance); l3 Database.rollback(sp_hr);
Question: 2
Where in Apex execution can a callout be made? Choose 2 answers
Question: 3
A developer needs to create a Visualforce page to override the standard New Contact Button. The page contains a field of for capturing the Contact's daytime preferred Phone number. The user has the option to select one of the four available phone types (Mobile, Home, Work, or Other) to be the primary contact number. Only if the "Other" Phone Type option is selected, the page must display a text box for the User to provide the other Phone number. How can this requirement be met? Choose 2 answers
Question: 4
What is a limitation of compound fields?
Question: 5
How can Apex class functionality be exposed for invocation from a Lightning process? Choose 2 answers