
Answer-first summary for fast verification
Answer: Create a new Memorystore for Redis instance with Standard Tier. Set capacity to 5 GB and create multiple read replicas. Delete the old instance.
Upgrading to the Standard Tier and adding read replicas is an effective way to scale and manage increased read load. The additional capacity (5 GB) provides more space for data, and read replicas help distribute the read load across multiple instances. This approach ensures high availability with automatic failover in the Standard Tier, minimizing downtime in case of an instance failure. Additionally, Redis clients can seamlessly connect to read replicas without requiring extensive code modifications, enabling a quick deployment.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
You are currently streaming order data through a Dataflow pipeline and writing the aggregated results to a Memorystore instance. The Memorystore for Redis instance you have is provisioned with Basic Tier and has a capacity of 4 GB. Currently, this instance is supporting read-only access for 40 clients. However, you anticipate that the number of read-only clients will increase significantly to a few hundred. To support this increased demand, you need to ensure that the availability of read and write access is not impacted. Additionally, any changes you implement to meet this demand should be able to be quickly deployed. What should you do?
A
Create a new Memorystore for Redis instance with Standard Tier. Set capacity to 4 GB and read replica to No read replicas (high availability only). Delete the old instance.
B
Create a new Memorystore for Redis instance with Standard Tier. Set capacity to 5 GB and create multiple read replicas. Delete the old instance.
C
Create a new Memorystore for Memcached instance. Set a minimum of three nodes, and memory per node to 4 GB. Modify the Dataflow pipeline and all clients to use the Memcached instance. Delete the old instance.
D
Create multiple new Memorystore for Redis instances with Basic Tier (4 GB capacity). Modify the Dataflow pipeline and new clients to use all instances.