GCP Professional Cloud Architect Practice Question
Your team is running a proof-of-concept to migrate a 10 TB on-premises MySQL database to Cloud SQL for MySQL by using Database Migration Service (DMS). Compliance requires an automated report confirming that every target table's row counts and column-level checksums match the source before cut-over. You already have a Cloud Build pipeline that orchestrates the DMS jobs for both staging and production. Which approach best satisfies the validation requirement while maximizing reuse of the existing CI/CD tooling?
Add a post-replication step to Cloud Build that builds (or pulls) a custom Docker image containing the open-source Data Validation Tool, runs it to compare source and target MySQL row counts and column-level checksums, and fails the build if mismatches exceed the configured threshold.
Invoke Cloud Data Loss Prevention (DLP) API scans on both databases from Cloud Build and compare the number of sensitive-data findings to confirm that the two datasets are identical.
Configure Database Migration Service to generate a built-in data consistency report that automatically blocks cut-over if mismatches are found, and have Cloud Deploy proceed only after the report passes.
Trigger a Cloud Function that exports full SQL dumps from both databases, computes whole-file checksums with Cloud Storage, and requires manual review of the checksum values before proceeding.
The open-source Data Validation Tool (DVT) from Google is purpose-built to compare data between source and target stores supported by Database Migration Service, including on-premises MySQL and Cloud SQL for MySQL. DVT can compute row counts and column-level checksums and exits with a non-zero status when discrepancies exceed configured thresholds, allowing Cloud Build to fail the pipeline automatically. Although Google does not publish an official container image, the DVT repository includes a Dockerfile; you can build a custom Docker image in Cloud Build or invoke the CLI directly in a Cloud Build step. This integrates validation into the existing pipeline for both staging and production without introducing unrelated services or relying on non-existent DMS features. Cloud DLP focuses on sensitive-data discovery, SQL dump comparisons require manual effort, and DMS does not generate automatic consistency reports that can gate cut-over.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is the Data Validation Tool (DVT)?
Open an interactive chat with Bash
How does Cloud Build integrate with the Data Validation Tool?
Open an interactive chat with Bash
Why not use Cloud DLP or Database Migration Service built-in features for validation?
Open an interactive chat with Bash
What is the Data Validation Tool (DVT) used for in database migrations?
Open an interactive chat with Bash
How does using a custom Docker image streamline the data validation process?
Open an interactive chat with Bash
Why is the Cloud DLP API unsuitable for data consistency validation in this scenario?
Open an interactive chat with Bash
GCP Professional Cloud Architect
Analyzing and optimizing technical and business processes
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .