PDII Salesforce Certified Platform Developer II (PDII)

Loading demo links...

Showing 1–3 of 20 questions

Question 1

A comply his reference data stored m multiple custom metadata records that represent del auh information and delete behavior for certain geographic regions.

When a contact is inserted, the default information should be set on the contact from the custom metadata records based on the contact's address information. Additionally, if a user attempts to delete a contact that belongs to a flagged region, the user must get an error message.

Depending on company personnel resources, what are two ways to

automate this?

Choose 2 answers

Select all that apply, then click Submit answer.

  • Apex mvocaWe method

  • Remote action

  • Flow Builder

  • Apex trigger

Question 2

A developer is creating unit tests for code that makes SOAP web service callouts. The developer needs to insert some test data as a part of the unit tests setup.

What are three actions to enable this functionality? (Choose three.)

Select all that apply, then click Submit answer.

  • Surround the callout with Test.startTest(), Test.stopTest()

  • Surround the data insertion with Test.startTest(), Test.stopTest()

  • Implement the WebServiceMock interface

  • Update code to call Test.setMock()

  • Implement the HttpCalloutMock interface

Question 3

When developing a Visualforce page that will be used by a global organization that does business in many languages and many currencies, which feature should be used? (Choose three.)

Select all that apply, then click Submit answer.

  • Custom Labels

  • convertCurrency()

  • Global Labels

  • Translation Workbenc

  • getLocalCurrency()