Topic 1 Question 330
Your company manages an application that captures stock data in an internal database. You need to create an API that provides real-time stock data to users. You want to return stock data to users as quickly as possible, and you want your solution to be highly scalable. What should you do?
Create a BigQuery dataset and table to act as the internal database. Query the table when user requests are received.
Create a Memorystore for Redis instance to store all stock market data. Query this database when user requests are received.
Create a Bigtable instance. Query the table when user requests are received. Configure a Pub/Sub topic to queue user requests that your API will respond to.
Create a Memorystore for Redis instance, and use this database to store the most accessed stock data. Query this instance first when user requests are received, and fall back to the internal database.
ユーザの投票
コメント(1)
- 正解だと思う選択肢: D
By using Memorystore for Redis as a caching layer for the most frequently accessed stock data, you can significantly reduce latency and improve scalability. In this design, your API queries Redis first for real-time data, and if the data isn’t available there, it falls back to the internal database. This approach minimizes the response time for common requests while maintaining access to complete data when necessary.
👍 1Sandesh242025/03/01
シャッフルモード