A company needs to automatically delete sensitive information after seven years. This could delete almost a million records every day. How can this be achieved?
A.
Use aggregate functions to query for records older than seven years, and then delete the AggregateResult objects
B.
Perform a SOSL statement to find records older than 7 years, and then delete the entire result set
C.
Schedule a batch Apex process to run every day that queries and deletes records older than seven years
D.
Schedule an @future process to query records older than seven years, and then recursively invoke itself in 1,000 record batches to delete them
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.
singhkar
Highly Voted 3 years, 5 months agostan_malta
Most Recent 1 year agoshanky1823
2 years ago