Free DEX-450 Exam Braindumps (page: 3)

Page 2 of 115

When viewing a Quote, the sales representative wants to easily see how many discounted items are included in the Quote Line Items.
What should a developer do to meet this requirement?

  1. Create a trigger on the Quote object that queries the Quantity field on discounted Quote Line Items.
  2. Create a Workflow Rule on the Quote Line Item object that updates a field on the parent Quote when the item is discounted.
  3. Create a roll-up summary field on the Quote object that performs a SUM on the quote Line Item Quantity field, filtered for only discounted Quote Line Items.
  4. Create a formula field on the Quote object that performs a SUM on the Quote Line Item Quantity field, filtered for only discounted Quote Line Items.

Answer(s): C



While writing a test class that covers an OpportunityLineItem trigger, a Developer is unable to create a standard PriceBook since one already exists in the org.
How should the Developer overcome this problem?

  1. Use Test.getStandardPricebookId() to get the standard PriceBook ID.
  2. Use @IsTest(SeeAllData=true) and delete the existing standard PriceBook.
  3. Use Test.loadData() and a Static Resource to load a standard Pricebook.
  4. Use @TestVisible to allow the test method to see the standard PriceBook.

Answer(s): A



Which two Apex data types can be used to reference a Salesforce record ID dynamically? (Choose two.)

  1. ENUM
  2. sObject
  3. External ID
  4. String

Answer(s): A,D



Where can a developer identify the time taken by each process in a transaction using Developer Console log inspector?

  1. Performance Tree tab under Stack Tree panel
  2. Execution Tree tab under Stack Tree panel
  3. Timeline tab under Execution Overview panel
  4. Save Order tab under Execution Overview panel

Answer(s): C






Post your Comments and Discuss Salesforce DEX-450 exam with other Community members:

DEX-450 Discussions & Posts