Salesforce PDI Exam (page: 13)
Salesforce Certified Platform Developer I
Updated on: 05-Aug-2025

Viewing Page 13 of 77

What is the requirement for a class to be used as a custom Visualforce controller?

  1. Any top-level Apex class that has a constructor that returns a PageReference
  2. Any top-level Apex class that extends a PageReference
  3. Any top-level Apex class that has a default, no-argument constructor
  4. Any top-level Apex class that implements the controller interface

Answer(s): D



What is a capability of the <ltng:require> tag that is used for loading external Javascript libraries in Lightning Component? (Choose three.)

  1. Loading files from Documents.
  2. One-time loading for duplicate scripts.
  3. Specifying loading order.
  4. Loading scripts in parallel.
  5. Loading externally hosted scripts.

Answer(s): B,C,D



A developer needs to join data received from an integration with an external system with parent records in Salesforce. The data set does not contain the Salesforce IDs of the parent records, but it does have a foreign key attribute that can be used to identify the parent.
Which action will allow the developer to relate records in the data model without knowing the Salesforce ID?

  1. Create and populate a custom field on the parent object marked as Unique.
  2. Create a custom field on the child object of type External Relationship.
  3. Create and populate a custom field on the parent object marked as an External ID.
  4. Create a custom field on the child object of type Foreign Key.

Answer(s): D



Universal Containers wants Opportunities to be locked from editing when reaching the Closed/Won stage.
Which two strategies should a developer use to accomplish this? (Choose two.)

  1. Use a Visual Workflow.
  2. Use a validation rule.
  3. Use the Process Automation Settings.
  4. Use a Trigger.

Answer(s): B,D



An apex trigger fails because it exceeds governor limits. Which two techniques should a developer use to resolve the problem? Choose 2 answers

  1. Use the database class to handle DML operations
  2. Use maps to reference related records
  3. Use SOQL aggregate queries to retrieve child records
  4. Use lists for all DML operations

Answer(s): B,D



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