
Answer-first summary for fast verification
Answer: Make an RDB backup of the Redis database, use the gsutil utility to copy the RDB file into a Cloud Storage bucket, and then import the RDB file into the Memorystore for Redis instance.
The correct answer is A. The import and export feature uses the native RDB snapshot feature of Redis to import data into or export data out of a Memorystore for Redis instance. This method is the most efficient in terms of time, cost, and effort. It leverages Cloud Storage buckets for storing RDB files, which allows for easy data migration within Google Cloud or outside of it. This method follows Google's recommended practices for migrating Redis databases to Memorystore for Redis.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You have an existing Redis database hosted in your on-premises data center, and you want to migrate it to a Memorystore for Redis instance on Google Cloud Platform. Your goal is to adhere to Google-recommended practices to ensure the migration is carried out efficiently and effectively, with minimal cost, time, and effort involved. How should you proceed with the migration?
A
Make an RDB backup of the Redis database, use the gsutil utility to copy the RDB file into a Cloud Storage bucket, and then import the RDB file into the Memorystore for Redis instance.
B
Make a secondary instance of the Redis database on a Compute Engine instance and then perform a live cutover.
C
Create a Dataflow job to read the Redis database from the on-premises data center and write the data to a Memorystore for Redis instance.
D
Write a shell script to migrate the Redis data and create a new Memorystore for Redis instance.
No comments yet.