Free CERTIFIED-PLATFORM-DEVELOPER-II Salesforce CERTIFIED-PLATFORM-DEVELOPER-II Practice Test Question

Loading demo links...

Showing 7–9 of 28 questions

Question 7 (Topic 1)

A developer is writing a complex application involving triggers, workflow rules, Apex classes, and processes. The developer needs to carefully consider the order of execution when developing the application. 1. Before Triggers 2. After Triggers 3. Post commit logic such as sending email 4. DML committed to the database 5. Workflow rules 6. Roll-up summary calculations In what order do the following operations execute?

Select an option, then click Submit answer.

  • 1, 2, 5, 6, 4, 3
  • 1, 5, 6, 2, 4, 3
  • 1, 2, 4, 5, 6, 3
  • 1, 6, 5, 2, 4, 3
Question 8 (Topic 1)

A company exposes a REST web service and wants to establish two-way SSL between Salesforce and the REST web service. A certificate signed by an appropriate certificate authority has been provided to the developer. What modification is necessary on the Salesforce side? (Choose two.)

Select an option, then click Submit answer.

  • Create an entry for the certificate in Certificate and Key Management
  • Update the code to use HttpRequest.setClientCertificateName()
  • Configure two-factor authentication with the provided certificate
  • Update the code to use HttpRequest.setHeader() to set an Authorization header
Question 9 (Topic 1)

A developer has created a Visualforce page that uses a third-party JavaScript framework. The developer has decided to supply data to the JavaScript functions using JavaScript Remoting for Apex Controllers. What is the correct syntax to declare a remote method in Apex? (Choose two.)

Select an option, then click Submit answer.

  • @RemoteAction global static String getTable()
  • @RemoteAction global String getTable()
  • @RemoteAction public static String getTable()
  • @RemoteObject global static String getTable()