Salesforce PDI Exam (page: 5)
Salesforce Certified Platform Developer I
Updated on: 28-Jul-2025

Viewing Page 5 of 77

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



Which set of roll-up types are available when creating a roll-up summary field?

  1. COUNT, SUM, MIN, MAX
  2. AVERAGE, SUM, MIN, MAX
  3. SUM, MIN, MAX
  4. AVRAGE, COUNT, SUM, MIN, MAX

Answer(s): A



Viewing Page 5 of 77



Share your comments for Salesforce PDI exam with other users:

TestPD1 8/10/2023 12:22:00 PM

question 18 : response isnt a ?
EUROPEAN UNION


TestPD1 8/10/2023 12:19:00 PM

question 17 : responses arent b and c ?
EUROPEAN UNION