AWS Certified Developer – Associate (DVA-C02) — Question 296

A photo sharing application uses Amazon S3 to store image files. All user images are manually audited for inappropriate content by a third-party company. The audits are completed 1-24 hours after user upload and the results are written to an Amazon DynamoDB table, which uses the S3 object key as a primary key. The database items can be queried by using a REST API created by the third-party company.

An application developer needs to implement an automated process to tag all S3 objects with the results of the content audit.

What should the developer do to meet these requirements in the MOST operationally efficient way?

Answer options

Correct answer: B

Explanation

Option B is correct because AWS Step Functions standard workflows can natively pause execution using a Wait state for up to one year, allowing the manual 1-24 hour audit to complete before invoking the second Lambda function to apply the tags. Option A is incorrect because SQS visibility timeout has a maximum limit of 12 hours, making a 24-hour delay impossible. Options C and D are less operationally efficient as they require polling all untagged objects or managing infrastructure (EC2), which introduces unnecessary overhead and scaling issues.