Official Bank 0/167

Salesforce Certified Platform Developer II (PDII) Exam (Plat-Dev-301) - Salesforce Exam Questions

Last updated on June 20, 2026

97% Exam Compliance
167 Total Questions
1
Question
A company has a Lightning page with many Lightning Components, some that cache reference dat
Options
A Salesforce Lightning Inspector Event Log tab
B Salesforce Lightning Inspector Actions tab
C Salesforce Lightning Inspector Transactions tab
D Salesforce Lightning Inspector Storage tab
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

2
Question
Which tag should a developer use to display different text while an is Processing an action?
Options
A
B
C
D
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

3
Question
A developer is working on an integration between Salestorce and an external system. The integration requires sending a large amount of data to the external systern, which can cause long response times and timeouts. To optimize the performance and avoid timeouts, which technique should be used?
Options
A Increase the timeout limit in the callout options,
B Implement an asynchronous callout using the Continuation class,
C Use a chained batch Apex to split the data into smaller batches.
D Use the @future annotation to make the callout asynchronous.
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

4
Question
Consider the following code snippet:

Exhibit

The Apex method is executed in an environment with a large data volume count for Accounts, and the query is performing poorly. Which technique should the developer implement to ensure the query performs optimally, while preserving the entire result set?
Options
A Annotate the method with the @Future annotation
B Break down the query into two individual queries and join the two result sets.
C Create a formula field to combine the createdDate and RecordType value, then filter based on the formula.
D Use the Database queryLocator method to retrieve the accounts.
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

5
Question
A developer wrote the following method to find all the test accounts in the org:

Exhibit

What should be used to fix this failing test?
Options
A @testsetup method to set up expected data
B @isTest (SeeAllData=true) to access org data for the test
C Test. fixsdSsarchReaulta [) method to set up expected data
D Teat.loadData to set up expected data
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.