Question 1
An Apex trigger creates an Order__c record every time an Opportunity is won by a Sales Rep. Recently the trigger is creating two orders. What is the optimal method for a developer to troubleshoot this?
Question 2
users complain that a page Is very slow to respond. Upon investigation, the query below Is found to perform slowly.
SELECT id, Name FROM Contact WHERE CustomField_c null;
Which two actions can a developer take to improve performance?
Choose 2 answers
SELECT id, Name FROM Contact WHERE CustomField_c null;
Which two actions can a developer take to improve performance?
Choose 2 answers
Question 3
What should be added to the setup, in the location indicated, for the unit test above to create the controller extension for the test?
A)

B)

C)

D)

A)

B)

C)

D)

Question 4
Business rules require a Contact to always be created when a new Account is created.
What can be used when developing a custom screen to ensure an Account is not created if the creation of the Contact fails?
What can be used when developing a custom screen to ensure an Account is not created if the creation of the Contact fails?
Question 5
Universal Containers wants to use a Customer Community with Customer Community Plus licenses so their customers can track how many of containers they are renting and when they are due back. Many of their customers are global companies with complex Account hierarchies, representing various departments within the same organization. One of the requirements is that certain community users within the same Account hierarchy be able to see several departments' containers, based on a junction object that relates the Contact to the various Account records that represent the departments. Which solution solves these requirements?