Official Bank 0/201

Platform Developer I (PDI) Exam (PDI) - Salesforce Exam Questions

Last updated on June 20, 2026

97% Exam Compliance
201 Total Questions
1
Question
A developer needs to make a custom Lightning Web Component available in the Salesforce Classic user interface Which approach can be used to accomplish this?
Options
A Use a Visualforce page with a custom controller to invoke the Lightning Web Component using a call to an Apex method.
B Use the Lightning Out JavaScript library to embed the Lightning Web Component in a Visualforce page and add to the page layout.
C Wrap the Lightning Web Component in an Aura Component and surface the Aura Component as a Visualforce tab.
D Embed the Lightning Web Component is a Visualforce Component and add directly to the page layout.
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

2
Question
A developer must implement a CheckPaymentProcessor class that provides check processing payment capabilities that adhere to what is defined for payments in the Payment Processor interface.

Exhibit

Which implementation is correct to use the PaymentProcessor interface class?

Exhibit

Exhibit

Exhibit

Exhibit

A) B)
C) D)
Options
A Option C
B Option B
C Option D
D Option A
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

3
Question
A developer at AW Computing is tasked to create the supporting test class for a programmatic customization that leverages records stored within the custom object, Pricing Structure
Select 2
Options
A Use the @TsTest (SeeAllData=true) annotation.
B Use the Test. leadteat{) method.
C Use without sharing on the class declaration.
D Use a Test Date Factory class.
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

4
Question
A developer is asked to write helper methods that create test data for unit tests.

Exhibit

What should be changed in the TestUtils class so that its methods are only usable by unit test methods?
Options
A Change public to private on line 01.
B Add @istest above line 01.
C Remove static from line 03.
D @isTest above line 03.
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

5
Question
(Full question statement)

Which statement generates a list ofLeadsandContactsthat have a field containing the phrase "ACME"?
Options
A List> searchList = [SELECT Name, Id FROM Contact, Lead WHERE Name LIKE
'%ACME%'];
B List> searchList = [FIND '*ACME*' IN ALL FIELDS RETURNING Contact, Lead];
C List searchList = [find 'acme' in all fields returning Contact, Lead];
D List searchList = [FIND '*ACME*' IN FIELDS RETURNING Contact, Lead];
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

Finish Practice?

Are you sure you want to finish? This will end your practice session.