Exam PDI Topic 2 Question 169 Discussion
Actual exam question for Salesforce's PDI exam
Question #: 169
Topic #: 2
Question #: 169
Topic #: 2
A custom picklist field, Pool Preference_c, exists on a custom object. The picklist contains the following options: 'Vegan', 'Kosher', 'No Preference'. The developer must ensure a value is populated every time a record is created or updated.
What is the optimal way to ensure a value is selected every time a record is saved?
What is the optimal way to ensure a value is selected every time a record is saved?
Suggested Answer: D Vote an answer
* Marking the field as required on the field definition ensures that the field is always populated during record creation or update. This enforces the rule at the database level.
* Other Options:
* Option A: Setting a default value ensures a value is present initially but does not enforce a value during updates.
* Option B: Writing a trigger is less efficient and adds unnecessary complexity.
* Option C: Marking the field as required on the page layout is UI-specific and does not enforce the rule during API or code-based operations.
:Field Level Requirements
* Other Options:
* Option A: Setting a default value ensures a value is present initially but does not enforce a value during updates.
* Option B: Writing a trigger is less efficient and adds unnecessary complexity.
* Option C: Marking the field as required on the page layout is UI-specific and does not enforce the rule during API or code-based operations.
:Field Level Requirements
by Ruby at Jun 29, 2026, 10:38 AM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).