Skip to main content

Question 201

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, time and effort. What should you do?

  • 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.