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

Viewing Page 2 of 77

For which three items can a trace flag be configured? (Choose three.)

  1. Apex Trigger
  2. Apex Class
  3. Process Builder
  4. User
  5. Visualforce

Answer(s): A,B,D



What are two uses for External IDs? (Choose two.)

  1. To create relationships between records imported from an external system.
  2. To create a record in a development environment with the same Salesforce ID as in another environment
  3. To identify the sObject type in Salesforce
  4. To prevent an import from creating duplicate records using Upsert

Answer(s): A,D



Which three declarative fields are correctly mapped to variable types in Apex? (Choose three.)

  1. Number maps to Decimal.
  2. Number maps to Integer.
  3. TextArea maps to List of type String.
  4. Date/Time maps to Dateline.
  5. Checkbox maps to Boolean.

Answer(s): A,D,E



A developer working on a time management application wants to make total hours for each timecard available to application users. A timecard entry has a Master-Detail relationship to a timecard.
Which approach should the developer use to accomplish this declaratively?

  1. A Visualforce page that calculates the total number of hours for a timecard and displays it on the page
  2. A Roll-Up Summary field on the Timecard Object that calculates the total hours from timecard entries for that timecard
  3. A Process Builder process that updates a field on the timecard when a timecard entry is created
  4. An Apex trigger that uses an Aggregate Query to calculate the hours for a given timecard and stores it in a custom field

Answer(s): B



How can a developer set up a debug log on a specific user?

  1. It is not possible to setup debug logs for users other than yourself.
  2. Ask the user for access to their account credentials, log in as the user and debug the issue.
  3. Create Apex code that logs code actions into a custom object.
  4. Set up a trace flag for the user, and define a logging level and time period for the trace.

Answer(s): D



Viewing Page 2 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