Exam Details

  • Exam Code
    :PDI
  • Exam Name
    :Salesforce Certification for Platform Developer I
  • Certification
    :Salesforce Certifications
  • Vendor
    :Salesforce
  • Total Questions
    :719 Q&As
  • Last Updated
    :Mar 25, 2025

Salesforce Salesforce Certifications PDI Questions & Answers

  • Question 61:

    What should a developer do to check the code coverage of a class after running all tests?

    A. View the Code Coverage column in the list view on the Apex Classes page.

    B. View the Class Test Percentage tab on the Apex Class fist view m Salesforce Setup.

    C. View Use cede coverage percentage for the class using the Overall Code Coverage panel in the Developer Console Tests tab.

    D. Select and run the class on the Apex Test Execution page in the Developer Console.

  • Question 62:

    Which two process automations can be used on their own to send Salesforce Outbound Message? Choose 2 answers

    A. Process Builder

    B. Workflow Rule

    C. Flow Builder

    D. Strategy Builder

  • Question 63:

    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 provide a list of terms to search.

    Consider the following code snippet:

    @AuraEnabled

    public static List > searchTerms (List termList) {

    List> result = new List>();

    for (String term : termList) {

    result.addAll ([[FIND :term IN ALL FIELDS RETURNING Account (Name),

    Contact (Firstname,LastName)]);

    }

    return result;

    }

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

    A. 20

    B. 150

    C. 200

    D. 2,000

  • Question 64:

    A developer created a custom order management app that uses an Apex class. The order is represented by an Order object and an Orderltem object that has a master-detail relationship to Order. During order processing, an order may be split into multiple orders.

    What should a developer do to allow their code to move some existing Order ltem records to a new Order record?

    A. Change the master-detail relationship to an external lookup relationship.

    B. Add without sharing to the Apex class declaration.

    C. Create a junction object between Orderltem and Order.

    D. Select the Allow reparenting option on the master-detail relationship.

  • Question 65:

    What should a developer use to script the deployment and unit test execution as part of continuous integration?

    A. Developer Console

    B. Execute Anonymous

    C. Salesforce CLI

    D. VS Code

  • Question 66:

    A third-party vendor created an unmanaged Lightning web component. The Salesforce Administrator wishes to expose the component only on Record Page Layouts.

    Which two actions should the developer take to accomplish this business objective?

    Choose 2 answers

    A. Specify lightningCommunity_Page as a target in the XML file.

    B. Ensure isExposed is set to true on the XML file.

    C. Specify lightningCommunity_Page_Layout as a target in the XML file.

    D. Specify lightning_RecordPage as a target in the XML file.

  • Question 67:

    What should a developer use to fix a Lightning web component bug in a sandbox?

    A. Developer Console

    B. Force.com IDE

    C. Execute Anonumous

    D. VS Code

  • Question 68:

    A software company uses the following objects and relationships:

    1.

    Case: to handle customer support issues

    2.

    Defect_c: a custom object to represent known issues with the company's software

    3.

    case_Defect_c: a junction object between Case and Defector to represent that a defect Is a customer issue

    What should be done to share a specific Case-Defect_c record with a user?

    A. Share the Case_Defect_c record.

    B. Share the parent Case record.

    C. Share the parent Defect_c record.

    D. Share the parent Case and Defect_c records.

  • Question 69:

    AW Computing tracks order information in custom objects called order_c and order_Line_ c - Currently, all shipping information is stored in the order_c object.

    The company wants to expand Its order application to support split shipments so that any number of order_Line_c records on a single order_c can be shipped to different locations.

    What should a developer add to fulfill this requirement?

    A. Order_shipment_Group_c object and master-detail field on order_Line_c

    B. Order_shipment_Group_c object and master-detail field on order_c

    C. Order_shipment_Group_c object and master-detail field to order_c and Order Line_c

    D. Order_shipment_Group_c object and master-detail field on order_shipment_Group_c

  • Question 70:

    As part of a data cleanup strategy, AW Computing wants to proactively delete associated opportunity records when the related Account is deleted. Which automation tool should be used to meet this business requirement?

    A. Workflow Rules

    B. Scheduled job

    C. Record-Triggered Flow

    D. Process Builder

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Salesforce exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your PDI exam preparations and Salesforce certification application, do not hesitate to visit our Vcedump.com to find your solutions here.