Black Friday Reward - Upto 80% off - Ends in 0d 00h 00m 00s - Coupon code: VIP80

Amazon Web Services AWS Certified Developer - Associate DVA-C03 Question # 55 Topic 6 Discussion

Amazon Web Services AWS Certified Developer - Associate DVA-C03 Question # 55 Topic 6 Discussion

DVA-C03 Exam Topic 6 Question 55 Discussion:
Question #: 55
Topic #: 6

An application writes transactions to an Amazon DynamoDB table by using the PutItem operation. Each transaction has a unique transactionId. Sometimes duplicate transactions are received. The developer wants to ensure that a duplicate PutItem does not overwrite an existing item. Duplicate transactions are rare.

What is the MOST cost-effective solution?


A.

Call GetItem before calling PutItem.


B.

Enable TTL on the table.


C.

Use a conditional put with attribute_exists(transactionId).


D.

Use a conditional put with attribute_not_exists(transactionId).


Get Premium DVA-C03 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.