PDII Exam Question 16

A developer is asked to build a solution that will automatically send an email to the customer when an Opportunity stage changes. The solution must scale to allow for 10,000 emails per day. The criteria to send the email should be evaluated after certain conditions are met.
What is the optimal way to accomplish this?
  • PDII Exam Question 17

    Universal Containers wants to notify an external system, in the event that an unhandled exception occurs, by publishing a custom event using Apex.
    What is the appropriate publish/subscribe logic to meet this requirement?
  • PDII Exam Question 18

    A company has a custom component that allows users to search for records of a certain object type by invoking an Apex Controller that returns a list of results based on the user's input. When the search is completed, a searchComplete event is fired, with the results put in a results attribute of the event. The component is designed to be used within other components and may appear on a single page more than once.
    What is the optimal code that should be added to fire the event when the search has completed?
  • PDII Exam Question 19

    As part of point-to-point integration, a developer must call an external web service which, due to high demand, takes a long time to provide a response. As part of the request, the developer must collect key Inputs from the end user before making the callout. Which two elements should the developer use to Implement these business requirements?
    Choose 2 answers
  • PDII Exam Question 20

    A developer created an Opportunity trigger that updates the account rating when an associated opportunity is considered high value. Current criteria for an opportunity to be considered high value is an amount greater than or equal to $1,000,000. However, this criteria value can change over time.
    There is a new requirement to also display high value opportunities in a Lightning web component.
    Which two actions should the developer take to meet these business requirements, and also prevent the business logic that obtains the high value opportunities from being repeated in more than one place?
    Choose 2 answers