ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 125 - DVA-C01 discussion

Report
Export

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

Explanation:

"Deleting an entire table is significantly more efficient than removing items one-by-one, which essentially doubles the write throughput as you do as many delete operations as put operations"

asked 16/09/2024
Ranjan Gupta
33 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first