Free Certified Platform Developer II Exam Braindumps
Certified Platform Developer II Questions 201–205 (page: 42)

Updated On: 10-Feb-2026

After a Platform Event is defined in a Salesforce org, events can be published via which two mechanisms? (Choose two.)

  1. Internal Apps can use Outbound Messages
  2. External Apps can use the standard Streaming API
  3. Internal Apps can use Process Builder
  4. External Apps require a custom Apex web service

Answer(s): C,D



A company recently deployed a Visualforce page with a custom controller that has a data grid of information about Opportunities in the org. Users report that they receive a “Maximum view state size limit” error message under certain conditions.

According to Visualforce best practice, which three actions should the developer take to reduce the view state? (Choose three.)

  1. Use the transient keyword in the Apex controller for variables that do not maintain state
  2. Use the final keyword in the controller for variables that will not change
  3. Use the private keyword in the controller for variables
  4. Refine any SOQL queries to return only data relevant to the page
  5. Use filters and pagination to reduce the amount of data

Answer(s): A,D,E



Which statement is considered a best practice for writing bulk safe Apex Triggers?

  1. Add records to collections and perform DML operations against these collections
  2. Instead of DML statements, use the Database methods with allOrNone set to False
  3. Add LIMIT 50000 to every SOQL statement
  4. Perform all DML operations from within a Future Method

Answer(s): A





Consider the code above.
When a user clicks on the Link of a Contact’s name, what happens?

  1. Nothing happens; the commandLink is missing an action attribute
  2. The current page refreshes, showing the Contact’s details
  3. The outputPanel refreshes, showing the Contact’s details
  4. A new page opens, showing the Contact’s details

Answer(s): C



Which annotation exposes an Apex class as a RESTful web service?

  1. @AuraEnabled
  2. @HttpInvocable
  3. @RestResource
  4. @RemoteAction

Answer(s): C



Viewing page 42 of 86
Viewing questions 206 - 210 out of 424 questions


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

AI Tutor AI Tutor 👋 I’m here to help!