ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 575 - DVA-C01 discussion

Report
Export

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
Answers
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.
Answers
B.
Enable the TTL attribute on the DynamoDB table.
C.
Implement a conditional put by using the attribute_exists(transactionlD) condition expression.
Answers
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.
Answers
D.
Implement a conditional put by using the attribute_not_exists(transactionlD) condition expression.
Suggested answer: C
asked 16/09/2024
Aziz ZENNOUN
47 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first