Salesforce Platform Developer II Exam Practice Test

Page: 1 / 14
Total 167 questions
Question 1
Question 2

Refer to the exhibit

Users of this Visualforce page complain that the page does a full refresh every time the Search button Is pressed.

What should the developer do to ensure that a partial refresh Is made so that only the section identified with opportunity List is re-drawn on the screen?



Answer : B


Question 3

Consider the queries in the options below and the following Information:

* For these queries, assume that there are more than 200,000 Account records.

* These records Include soft-deleted records; that is, deleted records that are still in the Recycle Bin.

* There are two fields that are marked as External Id on the

Account. These fields are customer_Number_c and ERR_Key_ s.

Which two queries are optimized for large data volumes?

Choose 2 answers



Answer : B, C


Question 4

A developer has a test class that creates test data before making a mock callout but now receives a 'You have uncommitted work pending. Please commit or rollback before calling out' error.

Which step should be taken to resolve the error?



Answer : D


Question 5

Universal Containers ne=ds to integrate with several external systems. The process Is Initiated when a record Is created in Salesforce, The remote systems do not require Salesforce to wait for a response before continuing.

What is the recommended best solution to accomplish this?



Answer : B


Question 6

When the code is executed, the callout is unsuccessful and the following error appears within the Developer Console:

System.CalloutException: Unauthorized endpoint

Which recommended approach should the developer implement

to resolve the callout exception?



Answer : B


Question 7

Which scenario requires a developer to use an Apex callout

Instead of Outbound Messaging?



Answer : A


Page:    1 / 14   
Total 167 questions