CRT-450 Practice Test

CRT-450 Practice Test practice questions, page 2 of 18, with answer review and explanations.

Question 6

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?

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

Question 7

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

Question 8

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

Question 9

Which two platform features align to the Controller portion of MVC architecture? (Choose two.)

  1. Process Builder actions
  2. Workflow rules
  3. Standard objects
  4. Date fields

Question 10

A developer needs to test an Invoicing system integration. After reviewing the number of transactions required for the test, the developer estimates that the test data will total about 2 GB of data storage. Production data is not required for the integration testing. Which two environments meet the requirements for testing? (Choose two.)

  1. Developer Sandbox
  2. Full Sandbox
  3. Developer Edition
  4. Partial Sandbox
  5. Developer Pro Sandbox