exam questions

Exam AWS Certified Database - Specialty All Questions

View all questions & answers for the AWS Certified Database - Specialty exam

Exam AWS Certified Database - Specialty topic 1 question 346 discussion

Exam question from Amazon's AWS Certified Database - Specialty
Question #: 346
Topic #: 1
[All AWS Certified Database - Specialty Questions]

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?

  • A. Deliver the player data to an Amazon Timestream database. Create an Amazon ElastiCache for Redis cluster. Configure the Lambda function to store the results in Redis. Create a scheduled event with Amazon EventBridge to invoke the Lambda function once every minute. Reconfigure the game server to query the Redis cluster for the leaderboard data.
  • B. Deliver the player data to an Amazon Timestream database. Create an Amazon DynamoDB table. Configure the Lambda function to store the results in DynamoDCreate a scheduled event with Amazon EventBridge to invoke the Lambda function once every minute. Reconfigure the game server to query the DynamoDB table for the leaderboard data.
  • C. Deliver the player data to an Amazon Aurora MySQL database. Create an Amazon DynamoDB table. Configure the Lambda function to store the results in MySQL. Create a scheduled event with Amazon EventBridge to invoke the Lambda function once every minute. Reconfigure the game server to query the DynamoDB table for the leaderboard data.
  • D. Deliver the player data to an Amazon Neptune database. Create an Amazon ElastiCache for Redis cluster. Configure the Lambda function to store the results in Redis. Create a scheduled event with Amazon EventBridge to invoke the Lambda function once every minute. Reconfigure the game server to query the Redis cluster for the leaderboard data.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
tsangckl
1 year, 1 month ago
Selected Answer: A
The most operationally efficient architecture for this use case would be Option A. Here’s why:
upvoted 1 times
tsangckl
1 year, 1 month ago
Amazon Timestream is a time series database service that makes it easy to store and analyze trillions of events per day at 1/10th the cost of relational databases. It’s ideal for processing high-volume, time-stamped data like gaming leaderboard scores.
upvoted 1 times
tsangckl
1 year, 1 month ago
Amazon ElastiCache for Redis offers fully managed Redis and provides sub-millisecond latency to power real-time applications. It’s perfect for storing the leaderboard data and serving it quickly to the game server.
upvoted 1 times
tsangckl
1 year, 1 month ago
AWS Lambda is a serverless compute service that lets you run your code without provisioning or managing servers. It’s suitable for processing the leaderboard calculations. Amazon EventBridge is a serverless event bus that makes it easy to connect applications together. It can be used to schedule the invocation of the Lambda function every minute, ensuring the leaderboard data is no more than 1 minute old. The game server querying the Redis cluster for the leaderboard data ensures fast response times, given Redis’ in-memory data structure store capabilities. This architecture meets the requirements of having up-to-date leaderboard data (no more than 1 minute old), handling high concurrent users, and doing so in an operationally efficient manner. The other options involve technologies that may not be as efficient for this specific use case. For example, DynamoDB and Aurora MySQL are not as fast as Redis for read-heavy workloads like a gaming leaderboard, and Neptune is a graph database, which is not necessary for this use case.
upvoted 1 times
...
...
...
...
PGGuy
1 year, 3 months ago
A: sounds good to me B: Use EventBridge to schedule Lambda, not DynamoDCreate (never heard of it) C: Why creating the DynamoDb? not operationally efficient D: Neptune is not for this use case
upvoted 2 times
...
MultiAZ
1 year, 4 months ago
Selected Answer: B
All options are dumb. In any case, both A and B will do the work. However, B is more operationally efficient, as you do not need a cluster.
upvoted 2 times
...
rrshah83
1 year, 4 months ago
Selected Answer: D
Redis for leaderboard scores + Neptune for player data. Player data is not time series.
upvoted 2 times
...
rrshah83
1 year, 4 months ago
Selected Answer: A
Elasticache + persistent store (Timestream in this case)... https://aws.amazon.com/blogs/gametech/rethinking-game-leaderboards-with-amazon-memory-db-for-redis/
upvoted 3 times
rrshah83
1 year, 4 months ago
Sorry D, Redis + Neptune for player data. Player data is not time series.
upvoted 1 times
...
...
marll88
1 year, 5 months ago
I think A. https://aws.amazon.com/blogs/news/building-a-real-time-gaming-leaderboard-with-amazon-elasticache-for-redis/
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago