Celebrate 2025 with Discount Offer - Coupon code:

Salesforce PDII Exam Questions

Certification Exams

Downloadable PDF versions

100% Confidential

Updated Regularly

Advanced Features

Number Of Questions: 193

$59.00

Exam Details

Exam Name:

Salesforce Certified Platform Developer II

Exam Code:

PDII

Total Questions in Exam:

193

Demo Questions

Q1. A Lightning web component exists in the system and displays information about the record in context as a medal. Salesforce administrators need to use this component within the Lightning App Builder, Which two settings should the developer configure within the xml resource file?

A.ASpecify the target to be lightning_RecordPage

B. Set the IsExposed=d attribute to true.

C. Specify the target to be lightning_AppPage

D. Set the IsVisible attribute to true

Correct Answer: A, B

Q2. Universal Containers ne=ds to integrate with several external systems. The process Is Initiated when a record Is created in Salesforce, The remote systems do not require Salesforce to wait for a response before continuing. What is the recommended best solution to accomplish this?

A.PushTopic event

B. Qutbound message

C. Trigger with HTTP callout

D. Platform event

Correct Answer: B

Q3. A page throws an ‘Attempt to dereference a null object’ error for a Contact. What change in the controller will fix the error?

A.Declare a static final Contact at the top of the controller.

B. Use a condition in the getter to return a new Contact if it is null.

C. Change the setter’s signature to return a Contact.

D. Change the getter's signature to be static Contact.

Answer: B

Q4. A company has an Apex process that makes multiple extensive database operations and web service callouts. The database processes and web services can take a long time to run and must be run sequentially. How should the developer write this Apex code without running into governor limits and system limitations?

A.Use Queueable Apex to chain the jobs to run sequentially.

B. Use Apex Scheduler to schedule each process.

C. Use multiple 3zutuze methods for each process and callout.

D. Use Limits class to stop entire process once governor limits are reached.

Answer: A

Q5. A developer wrote a test class that successfully asserts a trigger on Account, It fires and updates data correctly In a sandbox environment. A Salesforce admin with a custom profile attempts to deploy this trigger via a change set into the production environment, but the test class falls with an Insufficient privileges error. What should a developer do to fix the problem?

A.Configure the production environment to enable"Run All Tests as Admin User.”

B. Add System.runAs() to the test class to execute the trigger as a user with the correctobjectpermissions.

C. Add seeallData=true to the test class to work within the sharing model for the productionenvironment.

D. Verify that Test. startTest() Is not Inside a For loop in the test class,

Answer: B

$59.00

Reviews

There are no reviews yet.

Be the first to review “Salesforce PDII Exam Questions”

Your email address will not be published. Required fields are marked *