Month End Special Sale - 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: best70

Page: 1 / 5
Total 48 questions
Exam Code: PDII                Update: Jan 31, 2026
Exam Name: Salesforce Certified Platform Developer II ( Plat-Dev-301 )

Salesforce Salesforce Certified Platform Developer II ( Plat-Dev-301 ) PDII Exam Dumps: Updated Questions & Answers (January 2026)

Question # 1

A Visualforce page loads slowly due to the large amount of data it displays. Which strategy can a developer use to improve the performance?

A.

Use the transient keyword for the List variables used in the custom controller.

B.

Use lazy loading to load the data on demand, instead of in the controller's constructor.

C.

Use JavaScript to move data processing to the browser instead of the controller.

D.

Use an in the page to load all of the data asynchronously.

Question # 2

A developer is writing a Jest test for a Lightning web component that conditionally displays child components based on a user’s checkbox selections. What should the developer do to properly test that the correct components display and hide for each scenario?

A.

Add a teardown block to reset the DOM after each test.9

B.

Create a new describe block for each test.10

C.

Create a new j.sdom instance for each test.11

D.

Reset the DOM after each test with the afterEach() method.12

Question # 3

There are user complaints about slow render times of a custom data table within a Visualforce page that loads thousands of Account records at once. What can a developer do to help alleviate such issues?

A.

Use the transient keyword in the Apex code when querying the Account records.

B.

Upload a third-party data table library as a static resource.

C.

Use the standard Account List controller and implement pagination.

D.

Use JavaScript remoting to query the accounts.

Question # 4

A company has a native iOS order placement app that needs to connect to Salesforce to retrieve consolidated information from many different objects in a JSON format. Which is the optimal method to implement this in Salesforce?

A.

Apex SOAP web service

B.

Apex SOAP callout

C.

Apex REST callout

D.

Apex REST web service

Question # 5

What is a benefit of JavaScript remoting over Visualforce Remote Objects?

A.

Supports complex server-side application logic

B.

Does not require any Apex code

C.

Does not require any JavaScript code

D.

Allows for specified re-render targets

Question # 6

In an organization that has multi-currency enabled, a developer is tasked with building a Lighting component that displays the top ten Opportunities most recently accessed by the logged in user. The developer must ensure the Amount and LastModifiedDate field values are displayed according to the user’s locale. What is the most effective approach to ensure values displayed respect the user’s locale settings?1819

A.

Use the FORMAT ( ) function in the SOQL query.2021

B.

Use a wrapper class to format the values retrieved via SOQL.2223

C.

Use REGEX expressions to format the values retrieved via SOQL.2425

D.

Use the FOR VIEW clause in the SOQL query.2627

Question # 7

A developer wrote an Apex class to make several callouts to an external system. If the URLs used in these callouts will change often, which feature should the developer use to minimize changes needed to the Apex class?

A.

Named Credentials

B.

Connected Apps

C.

Remote Site Settings

D.

Session Id

Question # 8

A business requires that every parent record must have a child record. A developer writes an Apex method with two DML statements to insert a parent record and a child record. A validation rule blocks child records from being created. The method uses a try/catch block to handle the DML exception. What should the developer do to ensure the parent always has a child record?

A.

Use Database.insert() and set the allOrNone parameter to true.

B.

Delete the parent record in the catch statement when an error occurs on the child record DML operation.

C.

Set a database savepoint to rollback if there are errors.

D.

Use addError() on the parent record if an error occurs on the child record.

Question # 9

A company notices that their unit tests in a test class with many methods to create many records for prerequisite reference data are slow. What can a developer do to address the issue?

A.

Turn off triggers, flows, and validations when running tests.

B.

Move the prerequisite reference data setup to the constructor for the test class.

C.

Move the prerequisite reference data setup to a @testSetup method in the test class.

D.

Move the prerequisite reference data setup to a TestDataFactory and call that from each test method.

Question # 10

A developer is writing code that requires making callouts to an external web service. Which scenario necessitates that the callout be made in an asynchronous method?

A.

The callout could take longer than 60 seconds to complete.

B.

The callouts will be made in an Apex trigger.

C.

Over 10 callouts will be made in a single transaction.

D.

The callouts will be made using the REST API.

Page: 1 / 5
Total 48 questions

Most Popular Certification Exams

Payment

       

Contact us

dumpscollection live chat

Site Secure

mcafee secure

TESTED 31 Jan 2026