Real-time Gaming Leaderboard with ElastiCache Persistence
Short answer
C Deploy an Amazon ElastiCache for Redis cluster with AOF persistence to provide fast, persistent access to player rankings.
Question
Key Takeaways
The core trap is confusing volatile caching with persistent storage; Redis must be configured with AOF or RDB snapshots to meet the 'persists on disks' requirement unlike Memcached.
This question evaluates the selection of an in-memory data store for low-latency gaming leaderboards that requires disk persistence. The correct solution leverages Amazon ElastiCache for Redis to balance speed and durability.
Common mistake: Candidates often choose Memcached (D) because it is simpler, but it lacks built-in persistence features, causing data loss on restarts which violates the scenario constraints.
Expert Analysis
Why the Answer Is Correct
Amazon ElastiCache for Redis (Option C) is the optimal choice because it provides sub-millisecond latency suitable for near real-time rankings while supporting data persistence via Append-Only File (AOF) or RDB snapshots. This ensures that player review data survives application or node restarts, satisfying the durability requirement without the operational overhead of managing EC2 instances or complex S3/CloudFront setups.
Why the Other Options Are Wrong
Option A (S3/CloudFront) introduces significant latency due to object storage semantics and caching invalidation challenges, failing the 'near real-time' test. Option B (EC2) incurs high operational overhead for patching, scaling, and managing database software manually. Option D (Memcached) is a pure in-memory cache with no persistence mechanism, meaning all data would be lost upon restart, directly contradicting the prompt's requirements.
Community Comment Notes
Community consensus strongly supports Redis due to its specific persistence capabilities. As user officedepotadmin noted, "Redis supports data persistence by snapshotting data to disk... ensuring that the data is not lost." Another commenter emphasized using AOF specifically: "To be more exact, you should use Amazon ElastiCache for Redis with AOF (Append-Only File) persistence." Users also highlighted Redis features like Sorted Sets which are ideal for leaderboard logic.
Official Reference
This link opens the official vendor documentation in a new tab.
Exam Strategy
Always check for persistence requirements when comparing ElastiCache engines. If the question demands data survival after restarts, choose Redis over Memcached. If it demands absolute lowest latency with no persistence needs, Memcached might be considered, but Redis is generally preferred for modern stateful apps.
Frequently Asked Questions
Why not use DynamoDB for this?
Does Memcached have any persistence?
Community Votes
100% of anonymous learners picked answer C. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 4 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 4
-
officedepotadmin 👍 4 Answered CAmazon ElastiCache for Redis provides in-memory caching which ensures low latency and high throughput, perfect for near real-time access to player reviews and rankings. Redis supports data persistence by snapshotting data to disk (RDB snapshots) and appending changes to a log (AOF), ensuring that the data is not lost even if the application restarts.
-
Bwhizzy 👍 2 Answered CREDIS • Multi AZ with Auto-Failover • Read Replicas to scale reads and have high availability • Data Durability using AOF persistence • Backup and restore features • Supports Sets and Sorted Sets
-
LeonSauveterre 👍 1 Answered CTo be more exact, you should use Amazon ElastiCache for Redis with AOF (Append-Only File) persistence. BTW, all the "duster"s in the options should be "cluster"s.
-
Salilgen 👍 1 Answered Chttps://aws.amazon.com/blogs/database/building-a-real-time-gaming-leaderboard-with-amazon-elasticache-for-redis/
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All SAA-C03 Questions
Access 120 questions with complete answers and detailed explanations.
View Full SAA-C03 Practice Test →