Spring Sale 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: Board70

PDII Exam Dumps - Salesforce Developers Questions and Answers

Question # 34

A business currently has a labor-intensive process to manually upload orders from an external OMS. Accounts must be exported to get IDs to link the orders. Which two recommendations should make this process more efficient?

Options:

A.

Use the insert wizard in the Data Loader to import the data.

B.

Ensure the data in the file is sorted by the order ID.

C.

Use the upsert wizard in the Data Loader to import the data.

D.

Identify unique fields on Order and Account and set them as External IDs.

Buy Now
Question # 35

Business rules require a Contact to always be created when a new Account is created. What can be used when developing a custom screen to ensure an Account is not created if the creation of the Contact fails?

Options:

A.

Use setSavePoint() and rollback() with a try-catch block.

B.

Use a Database Savepoint method with a try-catch block.

C.

Use the Database.Insert method with allOrNone set to false.

D.

Use the Database.Delete method if the Contact insertion fails.

Buy Now
Question # 36

The use of the transient keyword in Visualforce page helps with which performance issue?

Options:

A.

Reduces view state

B.

Improves query performance

C.

Reduces load times

D.

Improves page transfers

Buy Now
Question # 37

Which method should be used to convert a Date to a String in the current user’s locale?

Options:

A.

Date.parse

B.

String.format

C.

String.valueOf

D.

Date.format

Buy Now
Question # 38

A company wants to incorporate a third-party web service to set the Address fields when an Account is inserted, if they have not already been set. What is the optimal way to achieve this?

Options:

A.

Create a Before Save Flow, execute a Queueable job from it, and make a callout from the Queueable job.

B.

Create an Apex class, execute a Batch Apex job from it, and make a callout from the Batch Apex job.

C.

Create an Apex trigger, execute a Queueable job from it, and make a callout from the Queueable job.

D.

Create an Apex class, execute a Future method from it, and make a callout from the Future method.

Buy Now
Question # 39

Universal Charities (UC) uses Salesforce to collect electronic donations in the form of credit card deductions from individuals and corporations. When a customer service agent enters the credit card information, it must be sent to a 3rd-party payment processor for the donation to be processed. UC uses one payment processor for individuals and a different one for corporations. What should a developer use to store the payment processor settings for the different payment processors, so that their system administrator can modify the settings once they are deployed, if needed?

Options:

A.

Hierarchy custom setting

B.

Custom label

C.

Custom metadata

D.

List custom setting

Buy Now
Question # 40

An org has a requirement that addresses on Contacts and Accounts should be normalized to a company standard by Apex code any time that they are saved. What is the optimal way to implement this?

Options:

A.

Apex triggers on Contact and Account that normalize the address

B.

Apex trigger on Account that calls the Contact trigger to normalize the address

C.

Apex trigger on Contact that calls the Account trigger to normalize the address

D.

Apex triggers on Contact and Account that call a helper class to normalize the address

Buy Now
Question # 41

A company accepts orders for customers in their ERP system that must be integrated into Salesforce as Order__c records with a lookup field to Account. The Account object has an external ID field, ERP_Customer_ID__c. What should the integration use to create new Order__c records that will automatically be related to the correct Account?1234

Options:

A.

Upsert on the Order__c object and specify the ERP_Customer_ID__c for the Account relationship.5678

B.

Upsert on the Account and specify the ERP_Customer_ID__c for the relations9hip.101112

C.

Merge on the Order__c object and spe13cify the ERP_Customer_ID__c for 14the 15Account relationship.

D.

Insert on the Order__c object followed by an update on the Order__c object.

Buy Now
Question # 42

A developer is writing a Lightning Web component that queries accounts in the system and presents a lightning-datatable with the results. The users want to be able to filter the results based on up to five fields, that will vary according to their selections when running the page. Which feature of Apex code is required to facilitate this solution?

Options:

A.

describeSObjects()

B.

REST API

C.

SOSL queries

D.

Dynamic SOQL

Buy Now
Question # 43

Refer to the markup below:

HTML

A Lightning web component displays the Account name and two custom fields out of 275 that exist on the object. The custom fields are correctly declared and populated. However, the developer receives complain2223ts that the component performs slowly. What can the developer d2425o to improve the performance?

Options:

A.

Replace layout-type="Full" with fields={fields}.

B.

Add density="compact" to the component.

C.

Replace layout-type="Full" with layout-type="Partial".

D.

Add cache="true" to the component.

Buy Now
Exam Code: PDII
Exam Name: Salesforce Certified Platform Developer II ( Plat-Dev-301 )
Last Update: Feb 20, 2026
Questions: 161
PDII pdf

PDII PDF

$25.5  $84.99
PDII Engine

PDII Testing Engine

$28.5  $94.99
PDII PDF + Engine

PDII PDF + Testing Engine

$40.5  $134.99