Platform-Developer-II Dumps

Platform-Developer-II Free Practice Test

Salesforce Platform-Developer-II: Platform Developer II

QUESTION 1

- (Exam Topic 1)
The maximum view state size of a visualforce page is .

Correct Answer: E

QUESTION 2

- (Exam Topic 3)
A developer recently released functionality to production that performs complex commission calculations in Apex code called from an Opportunity trigger. Users report that the calculations seem incorrect because the values they see for commissions are wrong.
The developer has representative test data in their developer sandbox.
Which three tools or techniques should the developer use to execute the code and pause it at key lines to visually inspect values of various Apex variables?
Choose 3 answers

Correct Answer: ABD

QUESTION 3

- (Exam Topic 1)
An Apex Trigger creates a Contract record every time an Opportunity record is marked as Closed and Won. This trigger is working great, except (due to a recent acquisition) historical Opportunity records need to be loaded into the Salesforce instance. When a test batch of records are loaded, the Apex Trigger creates Contract records. A developer is tasked with preventing Contract records from being created when mass loading the Opportunities, but the daily users still need to have the Contract records created. What is the most extendable way to update the Apex Trigger to accomplish this?

Correct Answer: A

QUESTION 4

- (Exam Topic 1)
A developer needs to create a Lightning page for entering Order Information. An error message should be displayed if the zip code entered as part of the Order's shipping address is not numeric.
What is a recommended way for the error message be displayed to the end user?

Correct Answer: D

QUESTION 5

- (Exam Topic 1)
A company has a custom object. Order___c, that has a custom picklist field. Status___c, with values of New, In Progress," or Fulfilled and a lookup field, Contact_c, to Contact.
Which SOQL query wrii return a unique list of all the Contact records that have no Fulfilled Orders?

Correct Answer: D