nerdexam
Google

PROFESSIONAL-CLOUD-DATABASE-ENGINEER · Question #182

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…

The correct answer is D. Enable Redis RDB snapshots for Memorystore. By enabling Redis RDB snapshots on your Memorystore instance, you get periodic point-in-time dumps of your cache written to Cloud-Storage. If an entire region goes down (so there’s no in- region replica to fail over to), Memorystore will restore the new instance from the most…

Ensuring database reliability

Question

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-

Options

  • AUse Memorystore Standard Tier. Disable read replicas.
  • BUse Memorystore Standard Tier. Configure at least one read replica.
  • CSchedule exports of the Memorystore instance. Specify a dual-region Cloud Storage bucket as the
  • DEnable Redis RDB snapshots for Memorystore.

How the community answered

(38 responses)
  • A
    3% (1)
  • B
    11% (4)
  • C
    3% (1)
  • D
    84% (32)

Explanation

By enabling Redis RDB snapshots on your Memorystore instance, you get periodic point-in-time dumps of your cache written to Cloud-Storage. If an entire region goes down (so there’s no in- region replica to fail over to), Memorystore will restore the new instance from the most recent RDB snapshot rather than starting empty. This gives fast failover with a warm cache and only minimal staleness (bounded by your snapshot interval).

Topics

#Memorystore for Redis#Disaster Recovery#Data Persistence#RDB Snapshots

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-DATABASE-ENGINEER Practice