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:
Verified
Q247: A Developer is working on a serverless
Q248: A Developer writes an AWS Lambda function
Q249: While developing an application that runs on
Q250: An application is running on a cluster
Q251: An AWS Lambda function generates a 3MB
Q253: A company has a web application that
Q254: A Developer wants to find a list
Q255: A Developer has created a new AWS
Q256: To include objects defined by the AWS
Q257: A Developer is writing a mobile application
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents