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

    A developer needs to create a custom button for the Account object that, when clicked, will perform a series of calculations and redirect the user to a custom Visualforce page. The developer wants to ensure the Visualforce page matches the Lightning Experience user interface.

    What attribute needs to be defined within the tag to meet the requirement?

    A. applyHtmlTag="true"
    B. wizard=true"
    C. setup="true"
    D. lightningStylesheets=''true"

  • Question 102:

    Universal Containers wants to back up all of the data and attachments in its Salesforce org once a month.

    Which approach should a developer use to meet this requirement?

    A. Schedule a report.
    B. Use the Data Loader command line.
    C. Define a Data Export scheduled job.
    D. Create a Schedulable Apex class.

  • Question 103:

    Which statement should be used to allow some of the records in a list of records to be inserted if others fail to be inserted?

    A. Database. insert (records, true)
    B. insert records
    C. insert (records, false)
    D. Database. insert (records, false)

  • Question 104:

    A developer has the following requirements:

    1. Calculate the total amount on an Order.

    2. Calculate the line amount for each Line Item based on quantity selected and price.

    3. Move Line Items to a different Order if a Line Item is not in stock.

    Which relationship implementation supports these requirements on its own?

    A. Line Item has a re-parentable master-detail field to Order.
    B. Line Item has a re-parentable lookup field to Order.
    C. Order has a re-parentable lookup field to Line Item.
    D. Order has are-parentable master-detail field to Line Item.

  • Question 105:

    In the following example, which sharing context will myMethod execute when it is invoked?

    A. Sharing rules will be enforced by the instantiating class.
    B. Sharing rules will be enforced for the running user.
    C. Sharing rules will not be enforced for the running user.
    D. Sharing rules will be inherited from the calling context.

  • Question 106:

    A developer wants to mark each Account in a List as either Active or Inactive, based on the value in the LastModified each Account being greater than 90 days in the past.

    Which Apex technique should the developer use?

    A. An if-else statement, with a for loop inside
    B. A witch statement, with a for loop inside
    C. A for loop, with an if or if/else statement inside
    D. A for loop, with a switch statement inside

  • Question 107:

    Which exception type cannot be caught?

    A. custom exception Limit
    B. LinkException
    C. NoAccessException
    D. CelloutException

  • Question 108:

    Which process automation should be used to post a message to Chatter without using Apex code?

    A. Outbound Message
    B. Entitlement Process
    C. Strategy Builder
    D. Flow Builder

  • Question 109:

    A developer has a single custom controller class that works with a Visualforce Wizard to support creating and editing multiple sObjects. The wizard accepts data from user inputs across multiple Visualforce pages and from a parameter on the initial URL.

    Which three statements are useful inside the unit test to effectively test the custom controller? Choose 3 answers

    A. String nextPage = controller.save().getUrl ();
    B. ApexPages.currentPage ().getParametera(}.put{'input', "TeatValue');
    C. insert pageret;
    D. public Extendedcontroller (ApexPages.Standardcontraller entrl) { }
    E. Test. setCurrentPage (pageRef) ;

  • Question 110:

    A developer wants to automate logic when a record is created or updated, without writing Apex code.

    Which tool should be used?

    A. Apex trigger
    B. Validation rule
    C. Record-triggered Flow
    D. Workflow rule

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.