Free Platform-Developer-I Exam Dumps

Question 16

A developer has the following requirements:
• Calculate the total amount on an Order.
• Calculate the line amount for each Line Item based on quantity selected and price.
• Move Line Items to a different Order if a Line Item is not in stock.
Which relationship implementation supports these requirements on its own7

Correct Answer:A

Question 17

Universal Containers stores the availability date on each Line Item of an Order and Orders are only shipped when all of the Line Items are available. Which method should be used to calculate the estimated ship date for an Order?

Correct Answer:D

Question 18

If apex code executes inside the execute() method of an Apex class when implementing the Batchable interface, which statement are true regarding governor limits? Choose 2 answers

Correct Answer:AB

Question 19

A developer wants to get access to the standard price book in the org while writing a test class that covers an OpportunityLineItem trigger. Which method allows access to the price book?

Correct Answer:C

Question 20

The following automations already exist on the Account object;
• A workflow rule that updates a field when a certain criteria is met
• A custom validation on a field
• A How that updates related contact records
A developer created a trigger on the Account object.
What should the developer consider while testing the trigger code?

Correct Answer:D