List of questions
Related questions
Question 575 - DVA-C01 discussion
An application adds a processing date to each transaction that it receives. The application writes each transaction to an Amazon DynamoDB table by using the Putitem operation. Each transaction has a unique ID (transactionlD). Sometimes the application receives transactions more than once.
A developer notices that duplicate transactions in DynamoDB have the latest processing date instead of the date when the transaction was first received. Duplicate records happen infrequently, and most of the transactions are unique. What is the MOST cost-effective solution that the developer can implement to ensure that Putltem does not update an existing record?
A.
Call the Getltem operation first to confirm that the record does not exist. Then call Putltem
B.
Enable the TTL attribute on the DynamoDB table.
C.
Implement a conditional put by using the attribute_exists(transactionlD) condition expression.
D.
Implement a conditional put by using the attribute_not_exists(transactionlD) condition expression.
Your answer:
0 comments
Sorted by
Leave a comment first