PDII Exam Question 46

Universal Containers allows customers to log into a Salesforce Community and update their orders via a custom Visualforce page. Universal Containers' sales representatives can edit the orders on the same Visualforce page.
What should a developer use in an Apex test class to test that record sharing is enforced on the Visualforce page?
  • PDII Exam Question 47

    A developer has a page with two extensions overriding the Standard controller for Case.

    What will happen when a user clicks the command button?
  • PDII Exam Question 48

    The test method above tests an Apex trigger that the developer knows will make a lot of queries when a lot of Account are simultaneously updated to be customer.
    The test method fails at the Line 20 because of too many SOQL queries
    What is the correct way to fix this?

    The test method above tests an Apex trigger that the developer knows will make a lot of queries when a lot of Accounts are simultaneously updated to be customers.
    The test method fails at the Line 20 because of too many SOQL queries.
    What is the correct way to fix this?
  • PDII Exam Question 49

    A developer is writing a Visualforce page that queries accounts in the system and presents a data table with the results. The users want to be able to filter the results based on up to five fields. However, the users want to pick the five fields to use as filter fields when they run the page.
    Which Apex code feature is required to facilitate this solution'
  • PDII Exam Question 50

    A Lightning Component functions in preview mode and needs to be used inside a Lightning App Builder page, but it is not available. What change should be applied to the component?