PDI Exam Question 36

Refer to the code snippet below:
import fetchOps from ' @salesforce/apex/OpportunitySearch.fetchOpportunities ' ;
@wire(fetchOps) opportunities;
When a Lightning web component is rendered, a list of opportunities 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
fetchOpportunities method available when Lightning web component?
  • PDI Exam Question 37

    What should a developer do to check the code coverage of a class after running all tests?
  • PDI Exam Question 38

    Universal Containers wants to ensure that all new leads created in the system have a valid email address. They have already created a validation rule to enforce this requirement, but want to add an additional layer of validation using automation.
    What would be the best solution for this requirement?
  • PDI Exam Question 39

    What is an example of a polymorphic lookup field in Salesforce?
  • PDI Exam Question 40

    Universal Containers (UC) is developing a process for their sales teams that requires all sales reps to go through a set of scripted steps with each new customer they create.
    In the first step of collecting information, UC ' s ERP system must be checked via a REST endpoint to see if the customer exists. If the customer exists, the data must be presented to the sales rep in Salesforce.
    Which two should a developer implement to satisfy the requirements?
    Choose 2 answers