GCP Professional Data Engineer Practice Question

Your company runs an ecommerce platform on Google Cloud. A Cloud SQL for MySQL database in us-central1 currently serves all writes. New objectives have been set:

  • Zero data loss and automatic fail-over if the primary zone in us-central1 becomes unavailable (RPO 0 s, RTO < 1 min within the region).
  • During a regional outage of us-central1, recover the service with at most 5 minutes of data loss and 15 minutes of downtime.
  • Analytics engineers in europe-west1 must be able to run read-only queries that will not affect transactional latency on the primary.
  • The solution should minimise operational overhead and cost.

Which design best satisfies the objectives?

  • Deploy separate Cloud SQL HA instances in us-central1 and europe-west1 and maintain bidirectional replication at the application layer for active/active writes.

  • Create a Cloud SQL instance with High Availability in us-central1 and add a cross-region read replica in europe-west1. Direct analytics traffic to the replica and promote it manually if the primary region becomes unavailable.

  • Migrate the database to a Cloud Spanner multi-region configuration spanning us-central1 and europe-west1.

  • Keep a single Cloud SQL instance in us-central1 and schedule hourly exports to Cloud Storage, then import the dumps into an instance in europe-west1 for disaster recovery.

GCP Professional Data Engineer
Maintaining and automating data workloads
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot