Leads4pass > Salesforce > Salesforce Certifications > PDII > PDII Online Practice Questions and Answers

PDII Online Practice Questions and Answers

Questions 4

Recently a Salesforce org's integration failed because it exceeded the number of allowed API calls in a 24-hour period. The integration handles a near real-time, complex insertion of data into Salesforce. The flow of data is as follows:

1.

The integration looks up Contact records with a given email address and, if found, the integration adds a Task to the first matching Contact it finds.

2.

If a match is not found, the integration looks up Lead records with a given email address and, if found, the integration adds a Task to the first matching Lead it finds.

3.

If a match is not found, the integration will create a Lead and a Task for that newly created Lead.

What is one way in which the integration can stay near real-time, but not exceed the number of allowed API calls in a 24-hour period?

A. Use the REST API as well as the SOAP API to effectively double the API calls allowed in a 24-hour period.

B. write a custom Apex web service that, given an email address, does all of the logic the integration code was doing.

C. Create several Apex InboundEmailHandlers to accept calls from the third-party system, thus bypassing the API limits.

D. Create an Inbound Message that, using Flow, can do all of the logic the integration code was doing.

Buy Now
Questions 5

A developer created a new trigger that inserts a Task when a new Lead is created. After deploying to production, an outside integration is periodically reporting errors. Which change should the developer make to ensure the integration is not affected with minimal impact to business logic?

A. Use a Try/Catch block after the insert statement.

B. Remove the Apex Class from the Integration User's Profile.

C. Deactivate the Trigger before the Integration runs.

D. Use the Database method with allOrNone set to False.

Buy Now
Questions 6

Which two relationship queries use the proper syntax? Choose 2 answers

A. SELECT Name, (SELECT LastName FROM Contacts__r) FROM Account

B. SELECT Name, (SELECT LastName FROM Contacts) FROM Account

C. SELECT Id, Name, Account __r.Name FROM Contact WHERE Account r.Industry = 'Media'

D. SELECT Id, Name, Account.Name FROM Contact WHERE Account.Industry = 'Media'

Buy Now
Questions 7

A company uses an external system to manage its custom account territory assignments. Every quarter, millions of Accounts may be updated in Salesforce with new Owners when the territory assignments are completed in the external system. What is the optimal way to update the Accounts from the external system?

A. Apex REST Web Service

B. Composite REST API

C. SOAP API

D. Bulk API

Buy Now
Questions 8

The "action" attribute on is ONLY evaluated on which type of request?

A. Get request

B. Postback request

Buy Now
Questions 9

Universal Containers (UC) wants to develop a customer community to help their customers log issues with their containers. The community needs to function for their German- and Spanish-speaking customers also. US heard that it's easy to create an international community using Salesforce, and hired a developer to build out the site.

What should the developer use to ensure the site is multilingual?

A. Use Custom Settings to ensure custom messages are translated properly.

B. Use Custom Labels to ensure custom messages are translated property.

C. Use Custom Metadata to translate custom picklist values.

D. Use Custom Objects to translate custom picklist values.

Buy Now
Questions 10

Which technique can run custom logic when an Aura Component is loaded?

A. Use the standard doInit function in the controller.

B. Use an aura:handler "init" event to call a function.

C. Use the connectedCallback() method.

D. Call $A.enqueueAction passing in the method to call.

Buy Now
Questions 11

Given the following containment hierarchy:

What is the correct way to communicate the new value of a property named ''passthrough'' to my-parent component if the property is defined within my-child-component?

A. Option A

B. Option B

C. Option C

D. Option D

Buy Now
Questions 12

Universal Containers (UC) has an CRP system that stores customer information.

When an Account is created in Salesforce, the FRP system's REST endpoint for creating new customers must automatically be called with the Account information, If the call to the ERP system fails, the Account should still be created. Accounts in UC org are only created, one at a time, by users in the customer on-boarding department.

What should a developer to make the call to the CRP system's REST endpoint7

A. REST call from JavaScript

B. Headless Quick Action

C. apex Continuation

D. call a Queueable from a Trigger

Buy Now
Questions 13

Consider the following code snippet:

Which governor limit is likely to be exceeded when the trigger runs when a scope of 200 newly inserted accounts?

A. Total number of DML statements issued

B. Total number of records processed as a result of DML

C. Total number of SOQL queries issued

D. Total number of SOQL queries issued

Buy Now
Exam Code: PDII
Exam Name: Salesforce Certified Platform Developer II (Plat-Dev-301)
Last Update: Jul 06, 2026
Questions: 445
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$49.99

VCE

$55.99

PDF + VCE

$65.99