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 # 111 Topic 12 Discussion

Amazon Web Services AWS Certified Developer - Associate DVA-C03 Question # 111 Topic 12 Discussion

DVA-C03 Exam Topic 12 Question 111 Discussion:
Question #: 111
Topic #: 12

An application makes requests to an Amazon DynamoDB table that is configured with provisioned throughput. The table has a partition key of UserID .

A developer needs to identify items in the table that have a status attribute of " Inactive " . The developer must add a specific email address to the appropriate attribute for all inactive items. The developer attempts to use an AWS Lambda function to update the table items. However, the function fails with the following error: ConditionalCheckFailedException .

How can the developer resolve this error?


A.

Update the condition expression section of the request to check whether the status attribute equals " Inactive " before making the update request.


B.

Update the condition expression section of the request to check whether the email attribute exists in the item before making the update request.


C.

Include error-handling logic in the Lambda function to retry the update operation when a ConditionalCheckFailedException error occurs.


D.

Update the condition expression in the request to check whether the email address is in the expected format before making the update request.


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.