CertKeen

Google Cloud Professional Cloud Architect · Free practice question 11 of 12

Datastream change data capture into BigQuery

Fothergill Foods wants near-real-time analytics in BigQuery on orders stored in a Cloud SQL for MySQL database. The deciding constraints are minimal load on the source database and no custom replication code. What should the architect recommend?

  1. A.A nightly mysqldump loaded into BigQuery with bq load
  2. B.Hourly scheduled queries that read the whole orders table through a federated connection to Cloud SQL
  3. C.Application code that writes every order to both MySQL and BigQuery
  4. D.A Datastream stream that reads the MySQL binary log and writes changes to BigQuery
Show answer and explanation

Correct answer: D. A Datastream stream that reads the MySQL binary log and writes changes to BigQuery

Why: Datastream is a serverless change data capture service that reads the MySQL binary log, which places little load on the source, and replicates changes into BigQuery continuously. Full-table federated reads every hour load the source and are not near real time. Nightly dumps are stale, and dual writes are custom code that can drift out of sync.

More free Google Cloud Professional Cloud Architect questions