0% found this document useful (0 votes)
580 views5 pages

Latest Salesforce PDII Professional Certification Exam

The document contains a set of practice questions and answers for the Salesforce Platform Developer II (PDII) exam. It includes various scenarios related to Visualforce pages, Customer Community licenses, external web service integration, and Lightning Page performance issues. Each question is accompanied by multiple-choice options and the correct answer is provided for each scenario.

Uploaded by

s720nvj1pcph
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
580 views5 pages

Latest Salesforce PDII Professional Certification Exam

The document contains a set of practice questions and answers for the Salesforce Platform Developer II (PDII) exam. It includes various scenarios related to Visualforce pages, Customer Community licenses, external web service integration, and Lightning Page performance issues. Each question is accompanied by multiple-choice options and the correct answer is provided for each scenario.

Uploaded by

s720nvj1pcph
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Salesforce

PDII
Questions & Answers
Platform Developer II

(Demo Version - Limited Content)


Questions & Answers PDF Page 2

Version: 16.0

Topic 1, Exam Pool A

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 lazy loading to load the data on demand, instead of in the controller's constructor.
B. use an <apex:actionPoller> in the page to load all of the data asynchronously.
C. use Javascript to move data processing to the browser instead of the controller.
D. Use the transient keyword for the List variables used in the custom controller.

Answer: A

Question: 2

Universal Containers wants to use a Customer Community with Customer Community Plus licenses
so their customers can track how many of containers they are renting and when they are due back.
Many of their customers are global companies with complex Account hierarchies, representing
various departments within the same organization. One of the requirements is that certain
community users within the same Account hierarchy be able to see several departments' containers,
based on a junction object that relates the Contact to the various Account records that represent the
departments. Which solution solves these requirements?

A. A Custom Report Type and a report Lightning Component on the Community Home Page
B. An Apex Trigger that creates Apex Managed Sharing records based on the junction object's
relationships
C. A Custom List View on the junction object with filters that will show the proper records based on
owner
D. A Visualforce page that uses a Custom Controller that specifies without sharing to expose the
records

Answer: A

Question: 3

Universal Containers wants to use an external Web Service provided by a third-party vendor to
validate that shipping and billing addresses are correct. The current vendor uses basic password

https://www.certcollections.com
http://www.justcerts.com
Questions & Answers PDF Page 3

authentication, but Universal Containers might switch to a different vendor who uses OAuth. What
would allow Universal Containers to switch vendors without updating the code to handle
authentication?

A. Custom Setting (List)


B. Custom Metadata
C. Named Credential
D. Dynamic Endpoint

Answer: C

Question: 4

A company has a Lightning Page with many Lightning Components, some that cache reference dat
a. It is reported that the page does not always show the most current reference data. What can a
developer use to analyze and diagnose the problem in the Lightning Page?

A. Salesforce Lightning Inspector Storage Tab


B. Salesforce Lightning Inspector Actions Tab
C. Salesforce Lightning Inspector Event Log Tab
D. Salesforce Lightning Inspector Transactions Tab

Answer: A

Question: 5

A company has code to update a Request and Request Lines and make a callout to their external ERP
system's REST endpoint with the updated records.

The CalloutUtil. makeRestCallout fails with a 'You have uncommitted work pending. Please commit
or rollback before calling out' error. What should be done to address the problem?

https://www.certcollections.com
http://www.justcerts.com
Questions & Answers PDF Page 4

A. Change the CalloutUtil.makeRestCallout to an @InvocableMethod method.


B. Remove the Database.setSavepoint and Database.rollback.
C. Move the CalloutUtil.makeRestCallout method call below the catch block.
D. Change the CalloutUtil.makeRestCallout to an @future method

Answer: D

https://www.certcollections.com
http://www.justcerts.com
Thank you for trying
Our PDII Exam Dumps PDF Demo

Try PDII practice question


If you want to try PDII Exam Practice
Test Questions So go to below link and
try it!

https://www.certcollections.com/pdii-exam-ques
tions

You might also like