PROFESSIONAL-DATA-ENGINEER · Question #133
You need to migrate a Redis database from an on-premises data center to a Memorystore for Redis instance. You want to follow Google recommended practices and perform the migration for minimal cost…
The correct answer is 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. Explanation/Reference: 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. The use of the native RDB format prevents lock-in and makes it very easy to move data within Google…
Question
Options
- AMake 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
- BMake a secondary instance of the Redis database on a Compute Engine instance and then perform a live cutover.
- CCreate a Dataflow job to read the Redis database from the on-premises data center and write the data to a Memorystore for Redis instance.
- DWrite a shell script to migrate the Redis data and create a new Memorystore for Redis instance.
How the community answered
(20 responses)- A85% (17)
- C5% (1)
- D10% (2)
Explanation
Explanation/Reference: 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. The use of the native RDB format prevents lock-in and makes it very easy to move data within Google Cloud or outside of Google Cloud. Import and export uses Cloud Storage buckets to store RDB files. https://cloud.google.com/memorystore/docs/redis/import-export-overview
Topics
Community Discussion
No community discussion yet for this question.