Solved

A Nightly Batch Job Loads 1 Million New Records into a DynamoDB

Question 252

Multiple Choice

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 . Use DeleteItem using a ConditionExpression .
B) Use BatchWriteItem to empty all of the rows. BatchWriteItem to empty all of the rows.
C) Write a recursive function that scans and calls out DeleteItem . Write a recursive function that scans and calls out
D) Create and then delete the table after the task has completed.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents