Question 96

A developer wrote a trigger on Opportunity that will update a custom Last Sold Date field on the Opportunity's Account whenever an Opportunity is dosed. In the test class for the trigger, the assertion to validate the Last Sold Date field fails.
What might be causing the failed assertion?
  • Question 97

    A company wants to implement a new call center process for handling customer service calls. It requires service reps to ask for the caller's account number before proceeding with the rest of their call script.
    Following best practices, what should a developer use to meet this requirement?
  • Question 98

    What are three benefits of using static resources in Visualforce and Lightning Components? Choose 3 answers
  • Question 99

    Refer to the code snippet below:

    When a Lightning web component is rendered, a list of opportunity that match certain criteria should be retrieved from the database and displayed to the end-user.
    Which three considerations must the developer implement to make the fetchOpps method available within the Lightning web component?
  • Question 100

    What is the output of the following code snippet? 1 Contact con = new Contact( LastName = 'JOHNSON', LeadSource = 'Web') 2 3 Savepoint sp = Database.setSavepoint(); 4 insert con; 5 Database.rollback(sp); 6 7 con.LeadSource = 'Email' 8 insert con;