What is the most efficient way to ensure a value is selected every time a record is saved?

A custom picklist field, Food_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 most efficient way to ensure a value is selected every time a record is saved?
A. Mark the field as Required on the field definition.
B. Set "Use the first value in the list as the default value" as True.
C. Mark the field as Required on the object’s page layout.
D. Set a validation rule to enforce a value is selected.

CRT-450: Salesforce Certified Platform Developer I

Free dumps for CRT-450 in PDF format.

High quality CRT-450 PDF and software. VALID exam to help you pass.

Download Printable PDF. VALID exam to help you PASS.

6 thoughts on “What is the most efficient way to ensure a value is selected every time a record is saved?

  1. I m woundering that the answer is D(Set a validation rule to enforce a value is selected)
    because the question says ” a custom fields EXISTS”
    it means the definition was already done

    3
    1
  2. The correct answer is A because you use a validation rule when you have easy Logic, like a condition, you can use a validation rule too but is not a good practice

    19
    1. J
      D is also not wrong but we don’t need to apply the validation rule when we can set the field required at the time of it’s creation. So, A is the right answer

      5
      1

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.