PDII Exam Details

  • Exam Code
    :PDII
  • Exam Name
    :Salesforce Certified Platform Developer II (Plat-Dev-301)
  • Certification
    :Salesforce Certifications
  • Vendor
    :Salesforce
  • Total Questions
    :445 Q&As
  • Last Updated
    :Jun 19, 2026

Salesforce PDII Online Questions & Answers

  • Question 251:

    As part of point-to-point integration, a developer must call an external web service which, due to high demand, takes a long time to provide a response. As part of the request, the developer must collect key inputs from the end user before making the callout.

    Which two elements should the developer use to implement these business requirements? (Choose Two)

    A. Apex method that returns a Continuation object
    B. Screen now
    C. Process Builder
    D. Lightning web component

  • Question 252:

    Refer to the markup below:

    HTML

    <template>

    <lightning-record-form

    record-id={recordId}

    object-api-name="Account"

    layout-type="Full">

    </lightning-record-form>

    </template>

    A Lightning web component displays the Account name and two custom fields out of 275 that exist on the object. The custom fields are correctly declared and populated. However, the developer receives complaints that the component performs slowly.

    What can the developer do to improve the performance?

    A. Replace layout-type="Full" with fields={fields}.
    B. Add density="compact" to the component.
    C. Replace layout-type="Full" with layout-type="Partial".
    D. Add cache="true" to the component.

  • Question 253:

    A developer needs to store variables to control the style and behavior of a Lightning Web Component. Which feature should be used to ensure that the variables are testable in both Production and all Sandboxes?

    A. Custom Metadata
    B. Custom Object
    C. Custom Setting
    D. Custom Variable

  • Question 254:

    A company wants to incorporate a third-party web service to set the Address fields when an Account is inserted, if they have not already been set.

    What is the optimal way to achieve this?

    A. Create a Before Save Flow, execute a Queueable job from it, and make a callout from the Queueable job.
    B. Create an Apex class, execute a Batch Apex job from it, and make a callout from the Batch Apex job.
    C. Create an Apex trigger, execute a Queueable job from it, and make a callout from the Queueable job.
    D. Create an Apex class, execute a Future method from it, and make a callout from the Future method.

  • Question 255:

    In which of the following scenarios would it be acceptable to use programmatic sharing instead of declarative sharing? (Choose three.)

    A. Every record created by sales users needs to be visible to their respective manager
    B. Poor performance when using native sharing components
    C. Team functionality is required on custom objects
    D. There is an existing, external system of truth for user access assignments which will continue to drive access and be integrated with salesforce
    E. You need to change record access to read/write for all users utilising a lightning component

  • Question 256:

    A developer has a page with two extensions overriding the standard controller for Case.

    <apex:page standardController="Case" extensions="CaseExtensionOne,CaseExtensionTwo" showHeader="false">

    Each extension has a method called save. The page has a command button defined as:

    <apex:commandButton value="Save" action="{!save}"/>

    What will happen when a user clicks the command button?

    A. All of the three Save methods will be executed
    B. Save from Case Standard Controller will be executed
    C. Save from CaseExtensionTwo will be executed
    D. Save from CaseExtensionOne will be executed

  • Question 257:

    A company has an Apex process that makes multiple extensive database operations and web service callouts. The database processes and web services can take a long time to run and must be run sequentially.

    How should the developer write this Apex code without running into governor limits and system limitations?

    A. Use Limits class to stop entire process once governor limits are reached.
    B. Use multiple @future methods for each process and callout.
    C. Use Queueable Apex to chain the jobs to run sequentially.
    D. Use Apex Scheduler to scheduled each process.

  • Question 258:

    A developer wants to retrieve and deploy metadata, perform simple CSV export of query results, and debug Apex REST calls by viewing JSON responses.

    Which tool should the developer use?

    A. Developer Console
    B. Force.com Migration Tool
    C. Workbench
    D. Force.com IDE

  • Question 259:

    Users complain that a page Is very slow to respond. Upon investigation, the query below Is found to perform slowly.

    SELECT id, Name FROM Contact WHERE CustomField_c null;

    Which two actions can a developer take to improve performance? (Choose Two)

    A. Add a UMir dause to the query to reduce the number of records returned.
    B. Contact Salesforce customer support to create a custom index to include null values
    C. Make the CustomFleld__c field an External ID.
    D. Make the field CustomReW__c required because Salesforce field Indexes do not Include nulls.

  • Question 260:

    Which interface needs to be implemented by a Lightning Component so that it may be displayed in modal dialog by clicking a button on a Lightning Record page?

    A. Force: lightningQuickAction
    B. Lightning:editAction
    C. Lightning:quickAction
    D. Force:lightningEditAction

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 PDII exam preparations and Salesforce certification application, do not hesitate to visit our Vcedump.com to find your solutions here.