Free Certified Platform Developer II Exam Braindumps
Certified Platform Developer II Questions 181–185 (page: 38)

Updated On: 10-Feb-2026

When testing batch classes, what must a developer do? (Choose two.)

  1. Use seeAllData=true
  2. Encapsulate code in Test.startTest() and Test.stopTest()
  3. Call the class' "execute" method
  4. Limit the amount of records you test to < 200

Answer(s): B,D

Explanation:

If you use "seeAllData=true," you are a bad person



If a developer wanted to display error messages with the standard Salesforce UI styling, what would they use?

  1. <apex:pageMessages>
  2. <apex:message>
  3. <apex:outputText>
  4. <apex:error>

Answer(s): A



During the Visualforce Page execution, what step follows immediately after "Evaluate constructors on controller and extensions"?

  1. Create the view state
  2. Evaluate constructors, extensions, and expression on attribute definitions on any custom components present
  3. Evaluate expressions, <apex:page> attribute actions, and other method calls (getters/setters) on main page
  4. Send HTML to Browser

Answer(s): B



Where in a query can you use Geolocation and Distance? (Choose two.)

  1. Select clause
  2. Filter clause
  3. Order By clause
  4. Group By clause

Answer(s): B,C



What Salesforce tool lets you deploy/retrieve metadata, check status of apex jobs, and check responses of REST calls?

  1. Force.com Migration Tool
  2. Developer Console
  3. Workbench
  4. Streaming API

Answer(s): C



Viewing page 38 of 86
Viewing questions 186 - 190 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!