Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Certified Platform App Builder All Questions

View all questions & answers for the Certified Platform App Builder exam

Exam Certified Platform App Builder topic 1 question 505 discussion

Actual exam question from Salesforce's Certified Platform App Builder
Question #: 505
Topic #: 1
[All Certified Platform App Builder Questions]

The Sales Operations team at AW Computing deletes accounts for a variety of reasons. The sales ops director is worried that the Sales team may delete accounts that sales reps are actively selling into.

How should the app builder keep accounts with open opportunities from being deleted?

  • A. Remove the Delete permission from the Sales Rep profile.
  • B. Remove the delete button on the account layout.
  • C. Create an Apex Trigger on the Account object.
  • D. Create a validation rule on the Account object.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
sfreesway
Highly Voted 1 year, 5 months ago
Selected Answer: C
Cant be A as it says delete from Sales rep profile when its the Sales Team deleting Cant be B as from the question it sounds like the need to delete is still needed Cant be D as VD rules only work on the SObject that they're defined on So gotta be C
upvoted 6 times
...
DavidSFDev9
Most Recent 8 months, 4 weeks ago
The D would be the most practical in a real-life scenario. However the validation rule by itself wouldn't be enough as the answer suggests, it would need a field on the Account object. In my opinion the best option would be to create a rollup summary field on the Account object that shows the number of open opportunities associated and reference it in a validation rule. However as the answer doesn't say that, the only option that makes sense is the Apex trigger (C).
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

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.

SaveCancel
Loading ...