ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 481 - SAA-C03 discussion

Report
Export

A company has developed a new video game as a web application. The application is in a three-tier architecture in a VPC with Amazon RDS for MySQL in the database layer. Several players will compete concurrently online. The game's developers want to display a top-10 scoreboard in near-real time and offer the ability to stop and restore the game while preserving the current scores.

What should a solutions architect do to meet these requirements?

A.
Set up an Amazon ElastiCache for Memcached cluster to cache the scores for the web application to display.
Answers
A.
Set up an Amazon ElastiCache for Memcached cluster to cache the scores for the web application to display.
B.
Set up an Amazon ElastiCache for Redis cluster to compute and cache the scores for the web application to display.
Answers
B.
Set up an Amazon ElastiCache for Redis cluster to compute and cache the scores for the web application to display.
C.
Place an Amazon CloudFront distribution in front of the web application to cache the scoreboard in a section of the application.
Answers
C.
Place an Amazon CloudFront distribution in front of the web application to cache the scoreboard in a section of the application.
D.
Create a read replica on Amazon RDS for MySQL to run queries to compute the scoreboard and serve the read traffic to the web application.
Answers
D.
Create a read replica on Amazon RDS for MySQL to run queries to compute the scoreboard and serve the read traffic to the web application.
Suggested answer: B

Explanation:

This answer is correct because it meets the requirements of displaying a top-10 scoreboard in near-real time and offering the ability to stop and restore the game while preserving the current scores. Amazon ElastiCache for Redis is a blazing fast in-memory data store that provides sub-millisecond latency to power internet-scale real-time applications. You can use Amazon ElastiCache for Redis to set up an ElastiCache for Redis cluster to compute and cache the scores for the web application to display. You can use Redis data structures such as sorted sets and hashes to store and rank the scores of the players, and use Redis commands such as ZRANGE and ZADD to retrieve and update the scores efficiently. You can also use Redis persistence features such as snapshots and append-only files (AOF) to enable point-in-time recovery of your data, which can help you stop and restore the game while preserving the current scores.

https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/WhatIs.html

https://redis.io/topics/data-types

https://redis.io/topics/persistence

asked 16/09/2024
D Chauhan
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first