Before you begin
- Labs create a Google Cloud project and resources for a fixed time
- Labs have a time limit and no pause feature. If you end the lab, you'll have to restart from the beginning.
- On the top left of your screen, click Start lab to begin
Check that the Database migration source profile for the stand-alone VM has been created.
/ 20
Check that there is a Cloud SQL instance with instance ID as per dynamic value and one time migration is performed.
/ 20
Check that there is a continuous migration job that is running.
/ 20
Check that the record 974 has been updated in both places.
/ 20
Check that the Cloud SQL for MySQL destination instance for continuous migration has been promoted.
/ 20
In a challenge lab you’re given a scenario and a set of tasks. Instead of following step-by-step instructions, you will use the skills learned from the labs in the course to figure out how to complete the tasks on your own! An automated scoring system (shown on this page) will provide feedback on whether you have completed your tasks correctly.
When you take a challenge lab, you will not be taught new Google Cloud concepts. You are expected to extend your learned skills, like changing default values and reading and researching error messages to fix your own mistakes.
To score 100% you must successfully complete all tasks within the time period!
This lab is recommended for students enrolled in the Migrate MySQL Data to Cloud SQL using Database Migration Service skill badge. Are you ready for the challenge?
Read these instructions. Labs are timed and you cannot pause them. The timer, which starts when you click Start Lab, shows how long Google Cloud resources are made available to you.
This hands-on lab lets you do the lab activities in a real cloud environment, not in a simulation or demo environment. It does so by giving you new, temporary credentials you use to sign in and access Google Cloud for the duration of the lab.
To complete this lab, you need:
Certain Compute Engine resources live in regions and zones. A region is a specific geographical location where you can run your resources. Each region has one or more zones.
Run the following gcloud commands in Cloud Shell to set the default region and zone for your lab:
Your employer, Cymbal Superstore, has existing MySQL databases running on a Compute Engine instance. They want to migrate this database to two new Cloud SQL instances using two different migration strategies.
As the Data Adminstrator, you must perform a one-time migration using the external IP address of the compute instance to gain access to the source database. For the second migration, you must use VPC Peering to access the source database to remove the dependency on the external IP address.
Before you cut over to the newly migrated database, you must confirm that the migration has been successful. To confirm, you make some changes to the source database after the continuous migration job has been started, and then check that those changes are propagated by the Database Migration Service.
After you've confirmed a successful migration, you must promote the destination instance (Cloud SQL for MySQL) to a stand-alone database for reading and writing data.
The credentials for this source database are provided in the table below:
| Property | Value |
|---|---|
| Username | admin |
| Password | changeme |
To complete this task, you must create a one-time migration of a stand-alone MySQL database to Cloud SQL.
Once you have migrated this database to a Cloud SQL instance you can confirm that the data has populated the Cloud SQL MySQL database by connecting to the new Cloud SQL MySQL database and running the following query:
If the data are migrated, this query should return a row count of 5030.
To complete this task, you must create a continuous Database Migration Service migration job to migrate a stand-alone MySQL database to a second Cloud SQL instance using VPC peering.
To complete this task, you must start the continuous migration job you have created. Wait until the job is in the Running state before checking your progress below.
You successfully executed two types of migrations:
Furthermore, you demonstrated the ability to promote the resulting Cloud SQL for MySQL database, making it a stand-alone database.
This self-paced lab is part of the Migrate MySQL Data to Cloud SQL using Database Migration Service skill badge. Completing this skill badge course earns you the badge above, to recognize your achievement. Share your badge on your resume and social platforms, and announce your accomplishment using #GoogleCloudBadge.
This skill badge course is part of Google Cloud’s Database Engineer learning path. If you have already completed the other skill badges in this learning path, search the catalog for other skill badges in which you can enroll.
...helps you make the most of Google Cloud technologies. Our classes include technical skills and best practices to help you get up to speed quickly and continue your learning journey. We offer fundamental to advanced level training, with on-demand, live, and virtual options to suit your busy schedule. Certifications help you validate and prove your skill and expertise in Google Cloud technologies.
Manual Last Updated December 9, 2025
Lab Last Tested December 11, 2025
Copyright 2026 Google LLC. All rights reserved. Google and the Google logo are trademarks of Google LLC. All other company and product names may be trademarks of the respective companies with which they are associated.
This content is not currently available
We will notify you via email when it becomes available
Great!
We will contact you via email if it becomes available
One lab at a time
Confirm to end all existing labs and start this one