Which is the MOST efficient and cost-effective method to provide an empty table?

A nightly batch job loads 1 million new records into a DynamoDB table. The records are only needed for one hour, and the table needs to be empty by the next night’s batch job.
Which is the MOST efficient and cost-effective method to provide an empty table?
A. Use DeleteItem using a ConditionExpression.
B. Use BatchWriteItem to empty all of the rows.
C. Write a recursive function that scans and calls out DeleteItem.
D. Create and then delete the table after the task has completed.

amazon-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.