Free PDI Practice Test Questions and Answers (2026) | Cert Empire Practice Questions

Free preview: 20 questions.

Already purchased? Log in

Salesforce Platform Developer I (PDI)

View Mode
Q: 1
A developer creates a Lightning web component that imports a method within an Apex class. When a Validate button is pressed, the method runs to execute complex validations. In this implementation scenario, which two options are.. of the Controller according to the MVC architecture? Choose 2 answers
Options
Q: 2
Universal Containers (UC) processes orders in Salesforce in a custom object, Order__c. They also allow sales reps to upload CSV files with thousands of orders at a time. A developer is tasked with integrating orders placed in Salesforce with UC's enterprise resource planning (ERP) system. After the status for an Order__c is first set to 'Placed', the order information must be sent to a REST endpoint in the ERP system that can process one order at a time. What should the developer implement to accomplish this?
Options
Q: 3
What is an example of a polymorphic lookup field in Salesforce?
Options
Q: 4
An Apex method, getAccounts, that returns a list of Accounts given a searchTerm, is available for Lightning Web Components to use. What is the correct definition of a Lightning Web Component property that uses the getAccounts method? A) Salesforce Platform Developer I (PDI) question B) Salesforce Platform Developer I (PDI) question C) Salesforce Platform Developer I (PDI) question D) Salesforce Platform Developer I (PDI) question
Options
Q: 5
What are two use cases for executing Anonymous Apex code? Choose 2 answers
Options
Q: 6
What can be used to override the Account's standard Edit button for Lightning Experience?
Options
Q: 7
What can be easily developed using the Lightning Component framework?
Options
Q: 8
A developer created a Lightning web component called statuscomponent to be Inserted into the Account record page. Which two things should the developer do to make this component available? Choose 2 answers
Options
Q: 9
A developer completed modifications feature that is comprised of two elements: * Apex trigger * Trigger handler Apex class What are two factors that the developer must take into account to properly deploy them to the production environment? Choose 2 answers
Options
Q: 10
Which two are phases in the Aura application event propagation framework? Choose 2 answers
Options
Q: 11
Universal Containers (UC) wants to lower its shipping cost while making the shipping process more efficient. The Distribution Officer advises UC to implement global addresses to allow multiple Accounts to share a default pickup address. The developer is tasked to create the supporting object and relationship for this business requirement and uses the Setup Menu to create a custom object called "Global Address". Which field should the developer add to create the most efficient model that supports the business need?
Options
Q: 12
A developer created a child Lightning web component nested inside a parent Lightning web component. The parent component needs to pass a string value to the child component. In which two ways can this be accomplished? Choose 2 answers
Options
Q: 13
While developing an Apex class with custom search functionality that will be launched from a Lightning Web Component, how can the developer ensure only records accessible to the currently logged in user are displayed?
Options
Q: 14
The value of the account type field is not being displayed correctly on the page. Assuming the custom controller is properly referenced on the Visualforce page, what should the developer do to correct the problem?
Options
Q: 15
An org has an existing flow that edits an Opportunity with an Update Records element. A developer must update the flow to also create a Contact and store the created Contact’s ID on the Opportunity. Which update must the developer make in the flow?
Options
Q: 16
The following code snippet is executed by a Lightning web component in an environment with more than 2,000 lead records: Salesforce Platform Developer I (PDI) question Which governor limit will likely be exceeded within the Apex transaction?
Options
Q: 17
A Next Best Action strategy uses an Enhance element that invokes an Apex method to determine a discount level for a Contact, based on a number of factors. What is the correct definition of the Apex method? A) Salesforce Platform Developer I (PDI) question B) Salesforce Platform Developer I (PDI) question C) Salesforce Platform Developer I (PDI) question D) Salesforce Platform Developer I (PDI) question
Options
Q: 18
Which two characteristics are true for Lightning Web Component custom events? Choose 2 answers
Options
Q: 19
A developer needs to allow users to complete a form on an Account record that will create a record for a custom object. The form needs to display different fields depending on the user’s job role, The functionality should only be available to a small group of users. Which three things should the developer do to satisfy these requirements? Choose 3 answers
Options
Q: 20
Consider the following code snippet: Salesforce Platform Developer I (PDI) question As part of the deployment cycle, a developer creates the following test class: Salesforce Platform Developer I (PDI) question When the test class runs, the assertion fails. Which change should the developer implement in the Apex test method to ensure the test method executes successfully?
Options
Question 1 of 20

Premium Access Includes

  • Quiz Simulator
  • Exam Mode
  • Progress Tracking
  • Question Saving
  • Flash Cards
  • Drag & Drops
  • 3 Months Access
  • PDF Downloads
Get Premium Access
Scroll to Top

FLASH OFFER

Days
Hours
Minutes
Seconds

avail 10% DISCOUNT on YOUR PURCHASE