
Answer-first summary for fast verification
Answer: Upgrade to a Standard Tier Memorystore for Redis instance with 5 GB capacity and multiple read replicas, then decommission the old instance.
The correct approach is **A**. Upgrading to a Standard Tier Memorystore for Redis with increased capacity and multiple read replicas ensures scalability and performance for hundreds of read-only clients without compromising write availability. Read replicas distribute the read load, enhancing performance. Decommissioning the old instance post-upgrade ensures resource efficiency and a smooth transition. - **B** is incorrect because switching to Memcached involves significant changes to the pipeline and clients, introducing complexity and potential downtime. - **C** is not ideal as managing multiple Basic Tier instances is cumbersome and less cost-effective than utilizing read replicas in a single Standard Tier instance. - **D** fails to address the need for scalability with read replicas, limiting performance improvements for read-heavy workloads.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
You are managing a Dataflow pipeline that streams order data, aggregating results into a Memorystore for Redis instance. Currently, it's a Basic Tier, 4 GB capacity instance, serving 40 read-only clients. How would you scale this setup to support hundreds of read-only clients, ensuring availability for both read and write operations, and facilitating quick deployment of changes?
A
Upgrade to a Standard Tier Memorystore for Redis instance with 5 GB capacity and multiple read replicas, then decommission the old instance.
B
Switch to a Memorystore for Memcached instance with at least three nodes, each with 4 GB memory. Adjust the Dataflow pipeline and clients accordingly, then remove the old Redis instance.
C
Deploy several new Basic Tier Memorystore for Redis instances, each with 4 GB capacity. Update the Dataflow pipeline and clients to distribute the load across these instances.
D
Transition to a Standard Tier Memorystore for Redis instance with 4 GB capacity and high availability only (no read replicas), then delete the previous instance.