Spring Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code = simple70

Pass the Salesforce Developers PDII Questions and answers with Dumpstech

Exam PDII Premium Access

View all detail and faqs for the PDII exam

Practice at least 50% of the questions to maximize your chances of passing.
Viewing page 5 out of 5 pages
Viewing questions 41-50 out of questions
Questions # 41:

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

Questions # 42:

A company uses Salesforce to sell products to customers. They also have an external product information management (PIM) system that is the system of record for products. Whenever a product is created or updated in the PIM, a product must be created or updated as a Product2 record in Salesforce and a PricebookEntry record must be created or updated automatically. The PricebookEntry should be created in a Pricebook2 that is specified in a custom setting. What should the developer use to satisfy these requirements?

Options:

A.

SObject Tree REST

B.

Custom Apex REST

C.

Invocable Action

D.

Event Monitoring

Questions # 43:

A company has a Lightning page with many Lightning Components, some that cache reference data. 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?

Options:

A.

Salesforce Lightning Inspector Storage tab12

B.

Salesforce Lightning Inspector Event Log tab34

C.

Salesforce Lightning Inspector Actions tab56

D.

Salesforce Lightning Inspector Transactions tab78

Questions # 44:

Universal Containers uses Salesforce to track orders in an Order__c object. The Order__c object has private organization-wide defaults. The Order__c object has a custom field, Quality_Controller__c, that is a Lookup to User and is used to indicate that the specified User is performing quality control on the Order__c. What should be used to automatically give read only access to the User set in the Quality_Controller__c field?

Options:

A.

User managed sharing

B.

Record ownership

C.

Apex managed sharing

D.

Criteria-based sharing

Questions # 45:

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?

Options:

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.

Questions # 46:

Which Salesforce feature allows a developer to see when a user last logged in to Salesforce if real-time notification is not required?

Options:

A.

Asynchronous Data Capture Events

B.

Calendar Events

C.

Event Monitoring Log

D.

Developer Log

Questions # 47:

There is an Apex controller and a Visualforce page in an org that displays records with a custom filter consisting of a combination of picklist values selected by the user. The page takes too long to display results for some of the input combinations, while for other input choices it throws the exception, "Maximum view state size limit exceeded". What step should the developer take to resolve this issue?

Options:

A.

Adjust any code that filters by picklist values since they are not indexed.

B.

Remove instances of the transient keyword from the Apex controller to avoid the view state error.

C.

Split the layout to filter records in one Visualforce page and display the list of records in a second page using the same Apex controller.

D.

Use a StandardSetController or SOQL LIMIT in the Apex controller to limit the number of records displayed at a time.

Viewing page 5 out of 5 pages
Viewing questions 41-50 out of questions