Free CRT-450 Exam Braindumps (page: 7)

Page 7 of 96

A newly hired developer discovers that there are multiple triggers on the case object.
What should the developer consider when working with triggers?

  1. Developers must dictate the order of trigger execution.
  2. Trigger execution order is based on creation date and time.
  3. Unit tests must specify the trigger being tested.
  4. Trigger execution order is not guaranteed for the same sObject.

Answer(s): D



In a single record, a user selects multiple values from a multi-select picklist.
How are the selected values represented in Apex?

  1. As a List<String> with each value as an element in the list
  2. As a String with each value separated by a comma
  3. As a String with each value separated by a semicolon
  4. As a Set<String> with each value as an element in the set

Answer(s): C



When an Account's custom picklist field called Customer Sentiment is changed to a value of "Confused", a new related Case should automatically be created.
Which two methods should a developer use to create this case? (Choose two.)

  1. Process Builder
  2. Apex Trigger
  3. Custom Button
  4. Workflow Rule

Answer(s): A,B



A developer needs to display all of the available fields for an object.
In which two ways can the developer retrieve the available fields if the variable myObject represents the name of the object? (Choose two.)

  1. Use myObject.sObjectType.getDescribe().fieldSet() to return a set of fields.
  2. Use mySObject.myObject.fields.getMap() to return a map of fields.
  3. Use Schema.describeSObjects(new String[]{myObject})[0].fields.getMap() to return a map of fields.
  4. Use getGlobalDescribe().get(myObject).getDescribe().fields.getMap() to return a map of fields.

Answer(s): B,C






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

CRT-450 Exam Discussions & Posts