PDI Exam Question 166

An org has an existing Flow that creates an Opportunity with an Update Records element. A developer update the Flow to also create a Contact and store the created Contact's ID on the Opportunity.
Which update should the developer make in the Flow?
  • PDI Exam Question 167

    What is the maximum number of SOQL queries used by the following code? List<Account> aList = [SELECT Id FROM Account LIMIT 5]; for (Account a : aList){ List<Contact> cList = [SELECT Id FROM Contact WHERE AccountId = :a.Id); }
  • PDI Exam Question 168

    A developer is building custom search functionality that uses SOSL to search account and contact records that match search terms provided by the end user. The feature is exposed through a Lightning web component, and the end user is able to providea list of terms to search.
    Consider the following code snippet:

    What is the maximum number of search terms the end user can provide to successfully execute the search without exceeding a governor limit?
  • PDI Exam Question 169

    In the following example, which sharing context will myMethod execute when it is invoked?
  • PDI Exam Question 170

    What are two ways that a controller and extension can be specified on a Visualforce page?
    Choose 2 answers