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?

QuestionsCategory: Certified Platform Developer IIA company needs to automatically delete sensitive information after seven years. This could delete almost a million records every day. How can this be achieved?
Admin Staff asked 4 months ago
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








 

Suggested Answer: A

Community Answer: C



This question is in Certified Platform Developer II Exam
For getting Salesforce Certified Platform Developer II











Disclaimers:
The website is not related to, affiliated with, endorsed or authorized by Salesforce. 
Trademarks, certification & product names are used for reference only and belong to Salesforce.
The website does not contain actual questions and answers from Salesforce's Certification Exams.

Next Post

Recommended

Welcome Back!

Login to your account below

Create New Account!

Fill the forms below to register

Retrieve your password

Please enter your username or email address to reset your password.