Salesforce Platform Developer I (legacy) — Question 248
Universal Containers wants Opportunities to no longer be editable when it reaches the Closed/Won stage.
Which two strategies can a developer use to accomplish this? (Choose two.)
Answer options
- A. Use a before-save Apex trigger.
- B. Use a validation rule.
- C. Use an automatically launched Approval Process.
- D. Use an auto-response rule.
Correct answer: A, B
Explanation
The correct answers are A and B because a before-save Apex trigger can prevent changes to the Opportunity record when it reaches the Closed/Won stage, and a validation rule can enforce conditions that make the record uneditable. Options C and D do not serve the purpose of restricting edits to the Opportunity record based on its stage.