Salesforce Certified Platform Developer II Exam
Certified Platform Developer II (Page 41 )

Updated On: 1-Feb-2026

The Contact object in an org is configured with workflow rules that trigger field updates. The fields are not updating, even though the end user expects them to. The developer creates a debug log to troubleshoot the problem.

What should the developer specify in the debug log to see the values of the workflow rule conditions and debug the problem?

  1. ERROR level for the Database log category
  2. INFO level for the Workflow log category
  3. ERROR level for the Workflow log category
  4. INFO level for the Database log category

Answer(s): B






The test method above tests in Apex trigger that the developer knows will make a lot of queries when a lot of Accounts are simultaneously updated to be customers.

The test method fails at the Line 20 because of too many SOQL queries.
What is the correct way to fix this?

  1. Change the DataFactory class to create fewer Accounts so that the number of queries in the trigger is reduced
  2. Add Test.startTest() before and Test.stopTest() after both Line 7 of the code and Line 20 of the code
  3. Add Test.startTest() before Line 18 of the code and add Test.stopTest() after line 18 of the code
  4. Replace most of the Apex Trigger with Process Builder processes to reduce the number of queries in the trigger

Answer(s): C



Consider the following code snippet, depicting an Aura component:

Which two interfaces can the developer implement to make the component available as a quick action?
(Choose two.)

  1. force:hasRecordId
  2. force:lightningQuickAction
  3. force:hasSObjectName
  4. force:lightningQuickActionWithoutHeader

Answer(s): B,D


Reference:

https://developer.salesforce.com/docs/component-library/bundle/force:lightningQuickAction/documentation



A developer is integrating with a legacy on-premise SQL database.
What should the developer use to ensure the data being integrated is matched to the right records in
Salesforce?

  1. Formula field
  2. Lookup field
  3. External Object
  4. External Id field

Answer(s): C



An org has a requirement that addresses on Contacts and Accounts should be normalized to a company standard by Apex code any time that they are saved.
What is the optimal way to implement this?

  1. Apex trigger on Contact that calls the Account trigger to normalize the address
  2. Apex triggers on Contact and Account that normalize the address
  3. Apex trigger on Account that calls the Contact trigger to normalize the address
  4. Apex triggers on Contact and Account that call a helper class to normalize the address

Answer(s): A



Viewing page 41 of 86
Viewing questions 201 - 205 out of 424 questions



Post your Comments and Discuss Salesforce Certified Platform Developer II exam prep with other Community members:

Join the Certified Platform Developer II Discussion