Free CRT-450 Exam Braindumps (page: 15)

Page 14 of 96

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

Answer(s): B,D



How should a developer create a new custom exception class?

  1. public class CustomException extends Exception{}
  2. CustomException ex = new (CustomException)Exception();
  3. public class CustomException implements Exception{}
  4. (Exception)CustomException ex = new Exception();

Answer(s): A



What is a benefit of using an after insert trigger over using a before insert trigger?

  1. An after insert trigger allows a developer to bypass validation rules when updating fields on the new record.
  2. An after insert trigger allows a developer to insert other objects that reference the new record.
  3. An after insert trigger allows a developer to make a callout to an external service.
  4. An after insert trigger allows a developer to modify fields in the new record without a query.

Answer(s): B



A developer created a Lightning component to display a short text summary for an object and wants to use it with multiple Apex classes.
How should the developer design the Apex classes?

  1. Have each class define method getObject() that returns the sObject that is controlled by the Apex class.
  2. Extend each class from the same base class that has a method getTextSummary() that returns the summary.
  3. Have each class implement an interface that defines method getTextSummary() that returns the summary.
  4. Have each class define method getTextSummary() that returns the summary.

Answer(s): C






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

CRT-450 Exam Discussions & Posts