PDII Exam Question 36

Refer to exhibit.

What should be added to the setup, in the location indicated, for the unit test above to create the controller extension for the test?
  • PDII Exam Question 37

    A developer writes a Lightning web component that displays a dropdown list of all custom objects in the org from which a user will select. An Apex method prepares and returns data to the component.
    What should the developer do to determine which objects to include in the response?
  • PDII Exam Question 38

    A developer is trying to access org data from within a test class.
    Which sObject type requires the test class to have the (seeAllData=true) annotation?
  • PDII Exam Question 39

    Refer to the following code snippet:

    A developer created a JavaScript function as part of a Lightning web component (LWC) that surfaces information about Leads by wire calling geyFetchLeadList whencertain criteria are met.
    Which three changes should the developer implement in the Apex class above to ensure the LWC can display data efficiently while preserving security?
    Choose 3 answers
  • PDII Exam Question 40

    Universal Containers analyzes a Lightning web component and its Apex controller class that retrieves a list of contacts associated with an account. The code snippets are as follows:

    Based on the code snippets, what change should be made to display the contacts' mailing addresses in the Lightning web component?