exam questions

Exam AWS Certified Solutions Architect - Professional All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional exam

Exam AWS Certified Solutions Architect - Professional topic 1 question 805 discussion

A gaming company created a game leaderboard by using a Multi-AZ deployment of an Amazon RDS database. The number of users is growing, and the queries to get individual player rankings are getting slower over time. The company expects a surge in users for an upcoming version and wants to optimize the design for scalability and performance.
Which solution will meet these requirements?

  • A. Migrate the database to Amazon DynamoDB. Store the leaderboard data in two different tables. Use Apache HiveQL JOIN statements to build the leaderboard.
  • B. Keep the leaderboard data in the RDS DB instance. Provision a Multi-AZ deployment of an Amazon ElastiCache for Redis cluster.
  • C. Stream the leaderboard data by using Amazon Kinesis Data Firehose with an Amazon S3 bucket as the destination. Query the S3 bucket by using Amazon Athena for the leaderboard.
  • D. Add a read-only replica to the RDS DB instance. Add an RDS Proxy database proxy.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
wahlbergusa
Highly Voted 2 years, 10 months ago
B. https://aws.amazon.com/blogs/database/building-a-real-time-gaming-leaderboard-with-amazon-elasticache-for-redis/
upvoted 17 times
sashsz
2 years, 7 months ago
Can't be D, because: For RDS DB instances in replication configurations, you can associate a proxy only with the writer DB instance, not a read replica. https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-proxy.html
upvoted 4 times
...
SureNot
2 years ago
What about DynamoDB? I heard it's the best solution for leaderbords. But not sure about 2 tables and HiveQL..
upvoted 1 times
...
...
asfsdfsdf
Highly Voted 2 years, 4 months ago
Selected Answer: B
Question is a about a latency issue with rankings and leaderboard - this is clearly a use case for sorted sets with Redis ES... so B D was correct if the issue was general in all queries and not specific for rankings
upvoted 7 times
...
ggrodskiy
Most Recent 1 year, 11 months ago
Correct B
upvoted 1 times
...
kadev
2 years, 3 months ago
D A. must refactor coding for Dynamo sdk B. Redis for caching, not for surge in users =>And to do this, you mush add more lines coding to query from DB and commit to redis C. ignore ofcourse D. Easy way, "queries to get" => read sql => add more replicas + rds proxy
upvoted 3 times
...
TechX
2 years, 5 months ago
Selected Answer: D
D for me, you can't you S3 to perform read/write for game. It's too slow. You need read performance, so D is the best answer
upvoted 1 times
...
Yamchi
2 years, 7 months ago
Definitely B, refer to the following link: https://aws.amazon.com/blogs/database/building-a-real-time-gaming-leaderboard-with-amazon-elasticache-for-redis/
upvoted 4 times
...
peddyua
2 years, 9 months ago
D Q: What use cases does RDS Proxy address? Applications with unpredictable workloads: Applications that support highly variable workloads may attempt to open a burst of new database connections. RDS Proxy’s connection governance allows customers to gracefully scale applications dealing with unpredictable workloads by efficiently reusing database connections. First, RDS Proxy enables multiple application connections to share a database connection for efficient use of database resources. Second, RDS Proxy allows customers to maintain predictable database performance by regulating the number of database connections that are opened. Third, RDS Proxy removes unserviceable application requests to preserve overall performance and availability of the application.
upvoted 4 times
...
Bigbearcn
2 years, 9 months ago
Selected Answer: B
B looks good.
upvoted 1 times
...
cannottellname
2 years, 10 months ago
D seems more appropriate here. As rank of individual user is sluggish - which cannot be cached for each and every user. RDS Proxy will help with multiple connections over a single connection to DB and thus, better performance for DB also.
upvoted 4 times
...
tkanmani76
2 years, 10 months ago
C looks good.
upvoted 1 times
tkanmani76
2 years, 9 months ago
Changing to B
upvoted 1 times
...
...
Smartphone
2 years, 11 months ago
B looks more close.
upvoted 1 times
Smartphone
2 years, 11 months ago
Changing it to D. RDS Proxy makes applications more resilient to database failures by automatically connecting to a standby DB instance while preserving application connections. Using RDS Proxy, you can handle unpredictable surges in database traffic that otherwise might cause issues due to oversubscribing connections or creating new connections at a fast rate. https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-proxy.html
upvoted 4 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 ...