PDI Exam Details

  • Exam Code
    :PDI
  • Exam Name
    :Salesforce Certification for Platform Developer I (Plat-Dev-201)
  • Certification
    :Salesforce Certifications
  • Vendor
    :Salesforce
  • Total Questions
    :270 Q&As
  • Last Updated
    :May 25, 2026

Salesforce PDI Online Questions & Answers

  • Question 131:

    An Opportunity needs to have an amount rolled up from a custom object that is not in a master-detail relationship.

    How can this be achieved?

    A. Write a trigger on the Opportunity object and use tree sorting to sum the amount for all related child objects under the Opportunity.
    B. Use the Streaming API to create real-time roll-up summaries.
    C. Write a trigger on the child object and use an aggregate function to sum the amount for all related child objects under the Opportunity.
    D. Use the Metadata API to create real-time roll-up summaries.

  • Question 132:

    What are two ways a developer can get the status of an enqueued job for a class that implements the queueable interface? Choose 2 answers

    A. View the Apex Status page
    B. View the Apex Jobs page
    C. Query the AsyncApexJob object
    D. View the Apex Flex Queue

  • Question 133:

    A developer created a new after insert trigger on the Lead object that creates Task records for each Lead.

    After deploying to production, an existing outside integration that inserts Lead records in batches to Salesforce is occasionally reporting total batch failures being caused by the Task insert statement.

    This causes the integration process in the outside system to stop, requiring a manual restart.

    Which change should the developer make to allow the integration to continue when some records in a batch cause failures due to the Task insert statement, so that manual restarts are not needed?

    A. Use the Database method with allow one set to false.
    B. Deactivate the trigger before the integration runs.
    C. Remove the Apex class from the integration user's profile.
    D. Use a try-catch block after the insert statement.

  • Question 134:

    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 135:

    A developer is working on a project to import data from an external system into Salesforce. The data contains sensitive information that should not be visible to all users in Salesforce.

    What should the developer do to ensure that the data is secure?

    A. Use a third-party tool to encrypt the sensitive data before importing it into Salesforce.
    B. Use the Apex Data Loader to import the into and write Apex code to handle security and access control.
    C. Use the Data Import Wizard to import the data arid set up field-level security to restrict access to sensitive fields.
    D. Use the Salesforce CLI to import the data and set up user permissions to restrict access to sensitive data.

  • Question 136:

    Since Aura application events follow the traditional publish-subscribe model, which method is used to fire an event?

    A. fire()
    B. SegdetesEvent (}
    C. FireEvent()
    D. emit()

  • Question 137:

    Universal Containers (UC) uses out-of-the-box order management, that has a Master-Detail relationship between Order and Order Line Item.

    UC stores the availability date on each Order Line Item and Orders are only shipped when all of the Order Line Items are available.

    Which method should be used to calculate the estimated ship date for an Order?

    A. Use a LATEST formula on each of the latest availability date fields.
    B. Use a CEILING formula on each of the latest availability date fields.
    C. Use a DAYS formula on each of the availability date fields and a COUNT Roll-Up Summary field on the Order.
    D. Use a MAX Roll-Up Summary field on the latest availability date fields.

  • Question 138:

    Managers at Universal Containers want to ensure that only decommissioned containers are able to be deleted in the system. To meet the business requirement, a Salesforce developer adds "Decommissioned" as a picklist value for the Status__c custom field within the Container__c object.

    Which two approaches could a developer use to enforce that only Container__c records with a status of "Decommissioned" can be deleted? Choose 2 answers.

    A. Before record-triggered flaw
    B. Apex trigger
    C. After record-triggered flow
    D. Validation rule

  • Question 139:

    The Job _Application__c custom object has a field that is a master-detail relationship to the Contact object, where the Contact object is the master.

    As part of a feature implementation, a developer needs to retrieve a list containing all Contact records where the related Account Industry is `Technology', while also retrieving the Contact's Job_Application__c records.

    Based on the object's relationships, what is the most efficient statement to retrieve the list of Contacts?

    A. Option A
    B. Option B
    C. Option C
    D. Option D

  • Question 140:

    A developer needs to make a custom Lightning Web Component available in the Salesforce Classic user interface Which approach can be used to accomplish this?

    A. Embed the Lightning Web Component is a Visualforce Component and add directly to the page layout.
    B. Use the Lightning Out JavaScript library to embed the Lightning Web Component in a Visualforce page and add to the page layout.
    C. Use a Visualforce page with a custom controller to invoke the Lightning Web Component using a call to an Apex method.
    D. Wrap the Lightning Web Component in an Aura Component and surface the Aura Component as a Visualforce tab.

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.