AWS Certified Database – Specialty — Question 265

A gaming company is building a mobile game that will have as many as 25,000 active concurrent users in the first 2 weeks after launch. The game has a leaderboard that shows the 10 highest scoring players over the last 24 hours. The leaderboard calculations are processed by an AWS Lambda function, which takes about 10 seconds. The company wants the data on the leaderboard to be no more than 1 minute old.

Which architecture will meet these requirements in the MOST operationally efficient way?

Answer options

Correct answer: A

Explanation

Amazon Timestream is a purpose-built time-series database ideal for tracking and querying player scores over a rolling 24-hour window. Using Amazon ElastiCache for Redis to store the leaderboard results ensures sub-millisecond latency for the high volume of concurrent users reading the leaderboard. Triggering the Lambda calculation function every minute via EventBridge keeps the cached leaderboard current within the required threshold while minimizing database load.