Free Certified Platform Developer II Exam Braindumps
Certified Platform Developer II Questions 91–95 (page: 20)

Updated On: 10-Feb-2026

Which API can be used to execute unit tests? (Choose three.)

  1. Streaming API
  2. Test API
  3. Tooling API
  4. SOAP API
  5. Metadata API

Answer(s): C,D,E



Which statement is true about using ConnectApi namespace (also called Chatter in Apex)? (Choose two.)

  1. Chatter in Apex methods honor the 'with sharing' and 'without sharing' keywords
  2. Chatter in Apex operations are synchronous, and they occur immediately
  3. Chatter in Apex methods do not run in system mode; they run in the context of the current user
  4. Many test methods related to Chatter in Apex require the IsTest (SeeAllData=true) annotation

Answer(s): C,D



A developer receives a LimitException: Too many query rows: 50001 error when running code.
What debugging approach using the Developer Console provides the fastest and most accurate mechanism to identify a specific component that may be returning an unexpected number of rows?

  1. Count the number of Row Limit warning messages in the Debug Logs
  2. Add System.debug(System.getQueryRows()) to the code to track SOQL usage
  3. Filter the Debug Log on SOQL_EXECUTE_END statements to track the results of each SOQL Query
  4. Use the Execution Overview to see the number of rows returned by each Executed Unit

Answer(s): C



A developer is writing a Visualforce page to display a list of all of the checkbox fields found on a custom object.
What is the recommended mechanism the developer should use to accomplish this?

  1. Schema Class
  2. Apex API
  3. Schema Builder
  4. Metadata API

Answer(s): A



A developer has created a Team Member sObject that has a Master-Detail relationship to a Project sObject and a Lookup relationship to the User sObject. The developer must ensure that a User listed on a Team Member record has Read-Write access to the parent Project record.

How can the developer accomplish this if the Project sObject has a Private sharing model and thousands of Project records?

  1. Create a Controller that uses the Without Sharing keyword
  2. Create a Criteria-Based Sharing Rule on the Project sObject
  3. Create a Team Member Trigger that inserts Project_Share records
  4. Create a Project Sharing Rule that shares to the Team Member Group

Answer(s): C



Viewing page 20 of 86
Viewing questions 96 - 100 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!