DVA-C02 · Question #335
DVA-C02 Question #335: Real Exam Question with Answer & Explanation
Sign in or unlock DVA-C02 to reveal the answer and full explanation for question #335. The question stem and answer options stay visible for context.
Question
A company runs its website on AWS. The company posts daily polls on its website and publishes the poll results next day. The website stores user responses in an Amazon DynamoDB table. After the poll results are published, the company does not need to keep the user responses. A developer needs to implement a solution that will automatically remove old user responses from the DynamoDB table. The developer adds a new expiration_date attribute to the DynamoDB table. The developer plans to use the expiration_date attribute for the automation. Which solution will meet these requirements with the LEAST development effort?
Options
- ACreate an AWS Lambda function to delete old user responses based on the expiration_date
- BCreate an AWS Fargate task in Amazon Elastic Container Service (Amazon ECS) to delete old
- CCreate an AWS Glue job to delete old user responses based on the expiration_date attribute.
- DEnable TTL on the DynamoDB table and specify the expiration_date attribute. Expire old user
Unlock DVA-C02 to see the answer
You've previewed enough free DVA-C02 questions. Unlock DVA-C02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.