Topic 1 Question 442
A developer is working on an ecommerce application that stores data in an Amazon RDS for MySQL cluster. The developer needs to implement a caching layer for the application to retrieve information about the most viewed products.
Which solution will meet these requirements?
Edit the RDS for MySQL cluster by adding a cache node. Configure the cache endpoint instead of the cluster endpoint in the application.
Create an Amazon ElastiCache for Redis cluster. Update the application code to use the ElastiCache for Redis cluster endpoint.
Create an Amazon DynamoDB Accelerator (DAX) cluster in front of the RDS for MySQL cluster. Configure the application to connect to the DAX endpoint instead of the RDS endpoint.
Configure the RDS for MySQL cluster to add a standby instance in a different Availability Zone. Configure the application to read the data from the standby instance.
ユーザの投票
コメント(1)
- 正解だと思う選択肢: B
The best solution to implement a caching layer for the application to retrieve information about the most viewed products is:
Explanation: Amazon ElastiCache for Redis is a fully managed, in-memory data store that supports caching. It is commonly used to implement caching layers in applications because it can provide fast, low-latency access to frequently accessed data. In this case, caching the most viewed products would allow the application to quickly retrieve this data without querying the RDS for MySQL database every time, which would reduce the load on the database and improve performance.
How it works: The application would update to use the ElastiCache for Redis cluster endpoint to store and retrieve the most viewed products. Redis supports various data structures, such as hashes, lists, and sets, which can be efficiently used to store the product data.
👍 1examuserss2025/01/02
シャッフルモード