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

Updated On: 1-Feb-2026

A developer needs to implement a system audit feature that allows users, assigned to a custom profile named “Auditors”, to perform searches against the historical records in the Account object. The developer must ensure the search is able to return history records that are between 12 and 24 months old.


Given the code below, which select statement should be inserted below as a valid way to retrieve the Account History records ranging from 12 to 24 month old?





Answer(s): D



When developing a Lightning web component, which setting displays lightning-layout-items in one column on small devices, such as mobile phones, and in two columns on tables-size and desktop-size screens?

  1. Set size=“6” mobile-device-size=“12”
  2. Set size=“6” small-device-size=“12”
  3. Set size=“12” medium-device-size=“6”
  4. Set size=“12” tablet-device-size=“6”

Answer(s): C



A developer has created a Lightning web component that uses the getRecord wire adapter.
Which three things should the developer do in a Jest test to validate the wire method is working as expected? (Choose three.)

  1. Use an assert statement to validate results.
  2. Import wire from lwc.
  3. Use the emit() API.
  4. Create a JSON file with mock data.
  5. Import getRecord from lightning/uiRecordApi.

Answer(s): B,C,E



Which statement is true regarding savepoints?

  1. Static variables are not reverted during a rollback.
  2. Reference to savepoints can cross trigger invocations.
  3. You can roll back to any savepoint variable created in any order.
  4. Savepoints are not limited by DML statement governor limits.

Answer(s): A



Which technique can run custom logic when a Lightning web component is loaded?

  1. Use an init event to call a function.
  2. Call $A.enqueueAction and pass in the method to call.
  3. Use the connectedCallback() method.
  4. Use the renderedCallback() method.

Answer(s): C



Viewing page 7 of 86
Viewing questions 31 - 35 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