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

Exam CRT-450 All Questions

View all questions & answers for the CRT-450 exam

Exam CRT-450 topic 1 question 114 discussion

Actual exam question from Salesforce's CRT-450
Question #: 114
Topic #: 1
[All CRT-450 Questions]

A developer needs to create an audit trail for records that are sent to the recycle bin.
Which type of trigger is most appropriate to create?

  • A. after delete
  • B. after undelete
  • C. before undelete
  • D. before delete
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
BeatrizBernardo
1 year, 5 months ago
Selected Answer: A
after delete is the correct answer because we want to create an audit file of the record after it's deleted
upvoted 2 times
...
JeanDutra
1 year, 10 months ago
Selected Answer: A
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_triggers_syntax.htm
upvoted 3 times
...
Dean5555
2 years, 1 month ago
Selected Answer: A
You sure Mike? https://help.salesforce.com/s/articleView?id=sf.code_define_trigger.htm&type=5&language=en_US
upvoted 3 times
...
ApexMike
2 years, 1 month ago
Selected Answer: D
There is no such thing in as After Delete. You have Before Delete or After Undelete. D is correct
upvoted 1 times
briccoli11
1 year, 4 months ago
I think you mean there's no such thing as After Undelete. After Delete does exist & I think it makes the most sense as the answer
upvoted 1 times
dfgt
8 months, 2 weeks ago
After Undelete does exist. There is no Before Undelete trigger tho.
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 ...