PROFESSIONAL-CLOUD-DEVELOPER · Question #388
PROFESSIONAL-CLOUD-DEVELOPER Question #388: Real Exam Question with Answer & Explanation
The correct answer is A: Re-implement the leaderboard data to be stored in Memorystore for Redis.. Memorystore for Redis is an in-memory data store that provides sub-millisecond latency and is ideal for real-time leaderboard use cases, significantly improving performance for rapidly changing, high-read workloads compared to Cloud SQL.
Question
Your team developed a web-based game that has many simultaneous players. Recently, users have started to complain that the leaderboard tallies the top scores too slowly. You investigated the issue and discovered that the application stack is currently using Cloud SQL for PostgreSQL. You want to improve the leaderboard performance as much as possible to provide a better user experience. What should you do?
Options
- ARe-implement the leaderboard data to be stored in Memorystore for Redis.
- BOptimize the SQL queries to minimize slow-running queries.
- CMigrate the database and store the data in AlloyDB.
- DUpdate Cloud SQL for PostgreSQL to the latest version.
Explanation
Memorystore for Redis is an in-memory data store that provides sub-millisecond latency and is ideal for real-time leaderboard use cases, significantly improving performance for rapidly changing, high-read workloads compared to Cloud SQL.
Topics
Community Discussion
No community discussion yet for this question.