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

    A developer must create a Lightning component that allows users to input Contact record information to create a Contact record, including a Salary c custom field.

    What should the developer use, along with a lightning-record-edit-form, so that Salary__c field functions as a currency input and is only viewable and editable by users that have the correct field level permissions on Salary _c?

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

  • Question 142:

    A developer created a trigger on the Account object. While testing the trigger, the developer sees the error message `Maximum trigger depth exceeded'.

    What could be the possible causes?

    A. The developer does not have the correct user permission.
    B. The trigger is too long and should be refactored into a helper class.
    C. The trigger does not have sufficient code coverage.
    D. The trigger is getting executed multiple times.

  • Question 143:

    A developer needs to prevent the creation of Request _c records when certain conditions exist in the system.

    A BequestLogic class exists that checks the conditions.

    What is the correct implementation?

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

  • Question 144:

    What are two use cases for executing Anonymous Apex code? Choose 2 answers

    A. schedule an Apex class to run periodically
    B. To delete 15,000 inactive Accounts in a single transaction after a deployment
    C. To run a batch Apex class to update all Contacts
    D. To add unit test code coverage to an org

  • Question 145:

    A lead developer creates an Apex interface called Laptop. Consider the following code snippet:

    public class SilverLaptop{

    //code implementation

    How can a developer use the Laptop interface within the silverLaptop class?

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

  • Question 146:

    Universal Containers recently transitioned from Classic to Lightning Experience. One of its business processes requires certain values from the Opportunity object to be sent via an HTTP REST callout to its external order management system based on a user-initiated action on the Opportunity detail page. Example values are as follows:

    1. Name 2. Amount 3. Account

    Which two methods should the developer implement to fulfill the business requirement? (Choose two.)

    A. Create a custom Visualforce quick action that performs the HTTP REST callout, and use a Visualforce quick action to expose the component on the Opportunity detail page.
    B. Create a Remote Action on the Opportunity object that executes an Apex immediate action to perform the HTTP REST callout whenever the Opportunity is updated.
    C. Create a Lightning component quick action that performs the HTTP REST callout, and use a Lightning Action to expose the component on the Opportunity detail page.
    D. Create an after update trigger on the Opportunity object that calls a helper method using @future (Callout=true) to perform the HTTP REST callout.

  • Question 147:

    Which statement generates a list of Leads and Contacts that have a field with the phrase 'ACME'?

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

  • Question 148:

    A developer needs to ensure test data does not affect production data.

    How should test classes be written?

    A. Use @isTest with SeeAllData=true
    B. Create data in test methods
    C. Use Execute Anonymous
    D. Query existing production records

  • Question 149:

    A developer needs to implement a custom SOAP Web Service that is used by an external Web Application. The developer chooses to include helper methods that are not used by the Web Application in the implementation of the Web Service Class.

    Which code segment shows the correct declaration of the class and methods?

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

  • Question 150:

    An org has an existing flow that creates an Opportunity with an Update Records element. A developer must update the flow to aiso create a `Contact and store the created Contact's 1D on the Opportunity.

    Which update must the developer make in the flow?

    A. Add a new Get Records element.
    B. Add a new Create Records element.
    C. Add a new Update Records element.
    D. Add a new Roll back Records element.

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.