ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 225 - Certified Platform Developer II discussion

Report
Export

A company needs to automatically delete sensitive information after 7 years. This could delete almost a million records every day.

How can this be achieved?

A.
Schedule an ©future process to Query records older than 7 years, and then recursively invoke itself in 1,000 record batches to delete them.
Answers
A.
Schedule an ©future process to Query records older than 7 years, and then recursively invoke itself in 1,000 record batches to delete them.
B.
Perform a SOSL statement to find records older than 7 years, and then delete the entire result set.
Answers
B.
Perform a SOSL statement to find records older than 7 years, and then delete the entire result set.
C.
Use aggregate functions to query for records older than 7 years, and then delete the AggregateResult objects.
Answers
C.
Use aggregate functions to query for records older than 7 years, and then delete the AggregateResult objects.
D.
Schedule a batch Apex process to run every day that Queries and deletes records older than 7 years.
Answers
D.
Schedule a batch Apex process to run every day that Queries and deletes records older than 7 years.
Suggested answer: D
asked 23/09/2024
Arun Pandian
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first