Question 2
A business created an online event platform. The firm conducts quizzes and creates leaderboards based on the quiz results for each event. The organization maintains leaderboard data in Amazon DynamoDB and preserves it for 30 days after the conclusion of an event. The firm then deletes the outdated leaderboard data through a scheduled process.
The DynamoDB table has a fixed write capacity defined. When the scheduled deletion task runs during months with a high volume of events, the DynamoDB write API calls are throttled.
A developer must construct a long-term solution that permanently deletes historical leaderboard data and maximizes write performance.
Which solution satisfies these criteria?
Configure a TTL attribute for the leaderboard data.
Use DynamoDB Streams to schedule and delete the leaderboard data.
Use AWS Step Functions to schedule and delete the leaderboard data.
Set a higher write capacity when the scheduled delete job runs.
Correct answer: C