Valid PDI Dumps shared by ExamDiscuss.com for Helping Passing PDI Exam! ExamDiscuss.com now offer the newest PDI exam dumps, the ExamDiscuss.com PDI exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com PDI dumps with Test Engine here:

Access PDI Dumps Premium Version
(187 Q&As Dumps, 35%OFF Special Discount Code: freecram)

Online Access Free PDI Exam Questions

Exam Code:PDI
Exam Name:Platform Developer I (PDI)
Certification Provider:Salesforce
Free Question Number:93
Version:v2025-10-03
Rating:
# of views:3076
# of Questions views:94637
Go To PDI Questions

Recent Comments (The most recent comments are at the top.)

Name - Oct 29, 2026

No.# C is correct, you need to define the External ID field at the end of the upsert.
"upsert orders Order_Number__c;"

Name - Oct 29, 2026

No.# C is correct. Ignore the typos.
There is no "IN CompanyName FIELDS".
You can use these values in SOSL after IN: "ALL FIELDS, NAME FIELDS, EMAIL FIELDS, PHONE FIELDS, SIDEBAR FIELDS, etc."

Yassine - Oct 21, 2026

No.# Answer: A, B and E

E. Test.setCurrentPage(pageRef): This sets which Visualforce page the test is running on. It is the starting point for a wizard test, because ApexPages.currentPage() doesn’t exist until you set one.
B. ApexPages.currentPage().getParameters().put('input', 'TestValue'): The wizard reads a parameter from the initial URL, so the test has to supply that parameter. (The option’s text is garbled by OCR, and I’m reading it as this statement.)
A. String nextPage = controller.save().getUrl(): This calls a controller action and checks the PageReference it returns. In a wizard, the next page is the thing to assert on at each step.
apex
@isTest
private class WizardControllerTest {
@isTest
static void testWizardStep() {
PageReference pageRef = Page.WizardStep1;
Test.setCurrentPage(pageRef); // E
ApexPages.currentPage().getParameters().put('input', 'TestValue'); // B

WizardController controller = new WizardController();
controller.name = 'Test'; // simulate user input

String nextPage = controller.save().getUrl(); // A
System.assert(nextPage.contains('wizardstep2'));
}
}

The other options don’t fit:

C. insert pageRef;: A PageReference isn’t an sObject, so you can’t insert it. The statement doesn’t compile.
D. public ExtendedController(ApexPages.StandardController ctrl) {}: This is a constructor declaration for a controller extension. It belongs in the controller class, not in a test, and the question is about a custom controller, not an extension....

Yassine - Oct 21, 2026

No.# Answer: A

lightning:layout uses a 12-column grid. size="12" is the default for every screen, so each item takes a full row, which gives three rows on mobile. The device-size attributes override size from that breakpoint upward, and a value set for one breakpoint carries up to larger screens unless a larger attribute overrides it.

In option A, mediumDeviceSize="4" on all three items makes each one 4 of 12 columns on tablets and up. Large screens inherit it. The three items together fill 12 columns, so they sit in a single row on tablets and desktops, and stay at 12 columns (three rows) on mobile.

xml
<lightning:layout multipleRows="true">
<lightning:layoutItem size="12" mediumDeviceSize="4">{!v.account.Name}</lightning:layoutItem>
<lightning:layoutItem size="12" mediumDeviceSize="4">{!v.account.AccountNumber}</lightning:layoutItem>
<lightning:layoutItem size="12" mediumDeviceSize="4">{!v.account.Industry}</lightning:layoutItem>
</lightning:layout>

The other options fail:

B: Only the first item has mediumDeviceSize. The other two set largeDeviceSize only, so on tablets they stay at 12 columns and wrap onto new rows.
C: mediumDeviceSize="6" fits only two items per row, so tablets and desktops show two rows, with the third item on its own.
D: On desktops, largeDeviceSize="4" gives a single row. On tablets, it uses mediumDeviceSize="6", so you get two rows. The requirement covers tablets as well....

Yassine - Oct 21, 2026

No.# Answer: A. <apex:page standardController="Notice__c" extensions="myControllerExtension">

This is the same question you asked last Tuesday, with the same options. The page uses the custom object’s standard controller (standardController) and attaches the extension class with extensions. For a custom object, the standard controller name is its API name, ending in __c. Your option shows Notice_c, which is an OCR slip for Notice__c.

xml
<apex:page standardController="Notice__c" extensions="myControllerExtension">
<apex:form>
<apex:inputField value="{!Notice__c.Name}"/>
<apex:commandButton action="{!save}" value="Save"/>
</apex:form>
</apex:page>

As we discussed after that question, “standard” in standardController means the controller is provided by Salesforce, not that the object has to be a standard object. Every custom object gets one automatically.

The other options don’t fit:

B. controllers="...": There is no controllers attribute on <apex:page>.
C. apex:pege=Notice extends=...: This isn’t valid Visualforce syntax. The attribute is extensions, not extends, and attributes use name="value" pairs.
D. controller="Notice__c": The controller attribute names a custom Apex controller class. Notice__c is an object, so it needs standardController....

Yassine - Oct 21, 2026

No.# Answer: A, B and E

The steps are the same ones used for any static resource in an LWC:

B. Upload the SVG as a static resource: In Setup, go to Static Resources and upload the file.
A. Import the static resource and provide a JavaScript property for it: The component’s JavaScript imports it from @salesforce/resourceUrl and exposes it as a property.
E. Reference the property in the HTML template: The template uses the property, for example as an image src.
javascript
import { LightningElement } from 'lwc';
import MY_ICON from '@salesforce/resourceUrl/companyIcon';

export default class IconDisplay extends LightningElement {
iconUrl = MY_ICON; // property exposed to the template
}
html
<template>
<img src={iconUrl} alt="Company icon" />
</template>

The other options don’t fit:

C. Reference the import in the HTML template: A template can’t reference the import directly. It can only bind to a property defined on the component class, which is why A comes before E.
D. Import the SVG as a content asset file: Content assets can be imported with @salesforce/contentAssetUrl, so this is a real way to use files in an LWC. It is a different method from the static resource steps in A, B and E, and the question asks for the three steps of one workflow....

Yassine - Oct 21, 2026

No.# Answer: D. An invocable method

This is the same question you asked on Tuesday, with the same options. A screen flow can call Apex through an Apex action, which runs a method annotated with @InvocableMethod. The method makes the callout to the external order management system in real time and returns the order numbers and dates. The flow then shows them on a screen, for example in a data table or a choice list.

apex
public class GetExternalOrders {
public class Request { @InvocableVariable public String customerId; }
public class OrderInfo {
@InvocableVariable public String orderNumber;
@InvocableVariable public Date orderDate;
}

@InvocableMethod(label='Get external orders' callout=true)
public static List<List<OrderInfo>> getOrders(List<Request> requests) {
// HTTP callout to the order system, then build and return the results
}
}

The callout=true setting is needed so the flow can make the callout.

The other options don’t fit:

A. Outbound message: It pushes data from Salesforce to an external system when a workflow rule fires. It can’t retrieve data on demand.
B. Apex REST class: It exposes Salesforce as a web service that external systems call into. It is for inbound requests, not for calling out to another system.
C. Apex controller: It backs Visualforce pages and Lightning components. A flow can’t call it directly, and only methods exposed as invocable actions are available in Flow....

Yassine - Oct 21, 2026

No.# Answer: A. Enforced unit testing and code coverage best practices

Your question is cut off after “developing applications”. I’m assuming it continues “in a multi-tenant environment”, which is the standard version of this question.

Salesforce is multitenant, so many customers share the same infrastructure. To protect everyone, the platform enforces rules on developers:

Governor limits force efficient, bulkified code.
Test coverage requirements (75% overall, plus some coverage on every trigger) must be met before code can be deployed to production.

Together these push developers toward good practices, which is the benefit.

The other options are wrong:

B. Access to predefined computing resources: Resources are shared and limited, not predefined for each developer.
C. Preconfigured storage for big data: Salesforce isn’t a big-data store, and storage is limited by edition and license.
D. Unlimited processing power and memory: The opposite is true. Governor limits cap CPU time, heap size, queries and DML, because the resources are shared....

Yassine - Oct 21, 2026

No.# Answer: C. Lightning component

In Lightning Experience, you override a standard button in Setup (Object Manager > Account > Buttons, Links, and Actions > Edit). One of the override options is a Lightning component. For Aura, the component implements lightning:actionOverride, and an LWC can also be set up as an action override. This is the same override setup as in the earlier Contact Edit button question.

The other options don’t fit:

A. Lightning action: Actions are buttons you add to a page layout, such as quick actions. They aren’t an override target for a standard button.
B. Lightning page: A Lightning page (FlexiPage) controls how a record page or tab is laid out. It can’t replace what the Edit button does.
D. Lightning flow: This is the closest rival. Some releases let you assign a flow as an override for certain standard actions, but I’m not certain it applies to Edit in your org’s release. The expected exam answer is the Lightning component.

Yassine - Oct 21, 2026

No.# Answer: C and D (Apex Jobs and Apex Flex Queue)

C. Apex Jobs: In Setup, this page lists asynchronous Apex jobs, including batch jobs and future methods, with their status (Queued, Processing, Completed, Failed), submission time and any error details.
D. Apex Flex Queue: Batch jobs that are submitted but waiting for a free slot sit here in the Holding status. You can see them and reorder them.

The two pages complement each other. Apex Jobs covers both kinds of async work, while the Flex Queue shows batch jobs that haven’t started yet. Future methods never appear in the Flex Queue.

The other options:

A. Paused Flow Interviews component: It shows flow interviews that were paused, such as flows waiting on an event. It has nothing to do with batch or future jobs.
B. Developer Console: This is the closest rival, since you can query AsyncApexJob in its Query Editor and get the same status information. It isn’t a dedicated place for job status, though, and the expected answer is the two Setup pages....

JSF - Oct 20, 2026

No.# BS question.

C for Fast Field, B for standard record triggered flow

Lance - Aug 24, 2026

Thanks for sending me the latest PDI exam questions.

Hiram - Aug 22, 2026

I passed the PDI exam recently. I admire freecram, this study site considers a lot about the future of the students and help the students achieve a career of their dreams. Big thanks!

Learning - Aug 18, 2026

No.# For an autolaunched Flow, shouldn't you open its Flow Properties page to review test coverage before deploying it in a change set? So not B?

Learning - Aug 18, 2026

No.# The correct answers are not A and D?

Vincent - Jun 08, 2026

I passed PDI exam easily. Well, I would like to recommend freecram to other candidates. Thanks for your good exam materials and good service.

Linda - May 27, 2026

PDI Dumps PDF is still valid. I took the exam this week and passed in the first attempt.

Amarnath - Apr 08, 2026

No.# Correct answer is B. Access to predefined computing resources

Amarnath - Apr 07, 2026

No.# Correct answer is B. An Apex REST class

Amarnath - Apr 07, 2026

No.# Correct answer is D. An invocable method

LEAVE A REPLY

Your email address will not be published. Required fields are marked *

Other Version
4280 viewsSalesforce.PDI.v2025-12-04.q96
9841 viewsSalesforce.PDI.v2025-01-09.q80
10246 viewsSalesforce.PDI.v2024-07-20.q115
14230 viewsSalesforce.PDI.v2023-09-20.q68
9250 viewsSalesforce.PDI.v2023-07-24.q102
12331 viewsSalesforce.PDI.v2023-03-21.q230
20516 viewsSalesforce.PDI.v2022-08-28.q103
8317 viewsSalesforce.PDI.v2022-08-15.q90
6217 viewsSalesforce.PDI.v2022-08-06.q88
11742 viewsSalesforce.PDI.v2022-06-29.q254
10703 viewsSalesforce.PDI.v2022-03-30.q75
9337 viewsSalesforce.PDI.v2022-02-09.q66
13032 viewsSalesforce.PDI.v2021-11-04.q66
8118 viewsSalesforce.PDI.v2021-10-29.q72
11446 viewsSalesforce.PDI.v2021-06-20.q54
9456 viewsSalesforce.PDI.v2021-06-08.q54
12593 viewsSalesforce.PDI.v2021-02-07.q59
14105 viewsSalesforce.PDI.v2020-03-22.q100
10664 viewsSalesforce.PDI.v2020-02-07.q82
Exam Question List
Question 1: A developer is asked to write helper methods that create tes...
1 commentQuestion 2: Which two characteristics are true for Lightning Web Compone...
2 commentQuestion 3: Where are two locations a developer can look to find informa...
Question 4: Universal Containers wants to ensure that all new leads crea...
Question 5: Provide question feedback here (optional): (Exhibit) Based o...
2 commentQuestion 6: What can be used to override the Account's standard Edit but...
1 commentQuestion 7: How can a developer check the test coverage of autolaunched ...
Question 8: Which action causes a before trigger to fire by default for ...
Question 9: Universal Containers (UC) uses a custom object called Vendor...
Question 10: A developer is designing a new application on the Salesforce...
Question 11: A developer at AW Computing is tasked to create the supporti...
Question 12: (Exhibit) When the code executes, a DML exception is thrown....
Question 13: A software company uses the following objects and relationsh...
1 commentQuestion 14: Universal Containers hires a developer to build a custom sea...
Question 15: Universal Containers wants to back up all of the data and at...
Question 16: Which two events need to happen when deploying to a producti...
Question 17: When importing and exporting data into Salesforce, which two...
3 commentQuestion 18: What is a benefit of developing applications...
3 commentQuestion 19: Cloud Kicks has a multi-screen flow that its call center age...
Question 20: A developer has an integer variable called maxAttempts. The ...
Question 21: A developer is integrating with a legacy on-premise SQL data...
Question 22: Universal Containers (UC) wants to lower its shipping cost w...
Question 23: A developer completed modifications feature that is comprise...
Question 24: A developer is tasked to perform a security review of the Co...
Question 25: A developer creates a Lightning web component that imports a...
Question 26: Which three code lines are required to create a Lightning co...
Question 27: (Full question statement) Universal Containers recently tran...
Question 28: Universal Containers (UC) processes orders in Salesforce in ...
Question 29: A developer needs to make a custom Lightning Web Component a...
Question 30: A developer wants to mark each Account in a List&lt;Account&...
Question 31: Universal Containers needs to create a custom user interface...
Question 32: Given the following Apex statement: Account myAccount = [SEL...
Question 33: When using Salesforce DX, what does a developer need to enab...
Question 34: (Full question statement) A developer must create a CreditCa...
Question 35: An Apex method, getAccounts, that returns a List of Accounts...
Question 36: A lead developer creates a virtual class called "OrderReques...
Question 37: A developer must perform a complex SOQL query that joins two...
Question 38: A developer created these three Rollup Summary fields in the...
Question 39: A developer wants to import 500 Opportunity records into a s...
Question 40: How should a developer write unit tests for a private method...
Question 41: What is the value of the Trigger.old context variable in a b...
Question 42: A developer creates a custom exception as shown below: publi...
Question 43: Consider the following code snippet: apex CopyEdit public cl...
Question 44: Which Apex class contains methods to return the amount of re...
Question 45: What should a developer use to fix a Lightning web component...
Question 46: Which two statements are true about using the @testSetup ann...
1 commentQuestion 47: What should a developer use to obtain the Id and Name of all...
Question 48: A custom picklist field, Pool Preference , exists on a custo...
2 commentQuestion 49: Which three steps allow a custom Scalable Vector Graphic (SV...
1 commentQuestion 50: How is a controller and extension specified for a custom obj...
Question 51: A developer has the following requirements: * Calculate the ...
Question 52: Universal Containers has a support process that allows users...
Question 53: A team of developers is working on a source-driven project t...
Question 54: While writing an Apex class, a developer wants to make sure ...
Question 55: Universal Containers wants to assess the advantages of decla...
1 commentQuestion 56: A company has a custom object, order __c, that has a require...
1 commentQuestion 57: Which exception type cannot be caught?...
1 commentQuestion 58: Refer to the component code requirements below: &lt;lightnin...
Question 59: Which two are phases in the Aura application event propagati...
2 commentQuestion 60: A developer has a single custom controller class that works ...
Question 61: A developer needs to create a baseline set of data (Accounts...
Question 62: A developer creates a batch Apex job to update a large numbe...
3 commentQuestion 63: A developer writes a trigger on the Account object on the be...
Question 64: What is the result of the following code? (Exhibit)...
Question 65: A developer must implement a CheckPaymentProcessor class tha...
Question 66: Universal Containers decides to use purely declarative devel...
Question 67: Since Aura application events follow the traditional publish...
1 commentQuestion 68: A Developer Edition org has five existing accounts. A develo...
Question 69: Where are two locations a developer can look to find informa...
Question 70: A developer is working on a project to import data from an e...
Question 71: As part of new feature development, a developer is asked to ...
Question 72: Universal Containers has a large number of custom applicatio...
Question 73: The Account object in an organization has a master-detail re...
Question 74: What are three considerations when using the @lnvocableMetho...
Question 75: A developer is creating a page that allows users to create m...
Question 76: What are two considerations for deploying from a sandbox to ...
Question 77: Universal Containers implemented a private sharing model for...
Question 78: A developer must provide custom user interfaces when users e...
Question 79: A developer created a trigger on the Account object and want...
Question 80: For which three items can a trace flag be configured? Choose...
Question 81: A custom Visualforce controller calls the ApexPages.addMessa...
Question 82: Developers at Universal Containers (UC) use version control ...
Question 83: Universal Containers wants to automatically assign new cases...
Question 84: Which statement describes the execution order when triggers ...
Question 85: When a user edits the Postal Code on an Account, a custom Ac...
Question 86: What are two ways a developer can get the status of an enque...
1 commentQuestion 87: What is the result of the following code snippet? public wor...
Question 88: A credit card company needs to implement the functionality f...
Question 89: Refer to the following Apex code: apex Copy Integer x = 0; d...
Question 90: What is an example of a polymorphic lookup field in Salesfor...
Question 91: The following Apex method is part of the ContactService clas...
Question 92: Consider the following code snippet: public static List&lt;L...
Question 93: A developer creates a new Apex trigger with a helper class, ...