Google Cloud Professional Cloud Database Engineer — Question 162
You are using Memorystore for Redis to cache frequently accessed data and improve your application’s performance. In the event of a complete regional outage, the application will failover to another region. You want to ensure that the Memorystore instance in the new region does not start from an empty cache after failover. What should you do?
Answer options
- A. Use Memorystore Standard Tier. Disable read replicas.
- B. Use Memorystore Standard Tier. Configure at least one read replica.
- C. Schedule exports of the Memorystore instance. Specify a dual-region Cloud Storage bucket as the export destination.
- D. Enable Redis RDB snapshots for Memorystore.
Correct answer: C
Explanation
The correct answer is C because scheduling exports to a dual-region Cloud Storage bucket ensures that the cache data is preserved and can be accessed in the new region after failover. Option A and B do not address the need for data persistence during a regional outage, and option D, while useful for backups, does not provide the immediate cache recovery required for failover scenarios.