Google Cloud SQL Enterprise Plus Advanced DR Setup
Short answer
C Create a cross-region read replica version 8.0.34, in the us-west1 region. Designate it as the failover DR replica, and test switchover by using the gcloud switchover command.
Question
Key Takeaways
Tests the distinction between standard async replicas and Enterprise Plus Advanced DR, where only designated replicas offer synchronous-like zero-loss protection.
Learn how to configure zero-data-loss disaster recovery in Cloud SQL for MySQL Enterprise Plus using Advanced DR and cross-region replicas.
Common mistake: Selecting Option D because `promote-replica` is a common command, but it fails to meet the 'zero data loss' requirement as it handles asynchronous replicas.
Expert Analysis
The scenario requires a disaster recovery (DR) setup for Cloud SQL for MySQL Enterprise Plus with a strict requirement of zero data loss. In Google Cloud, achieving zero data loss is only possible through synchronous replication. Standard cross-region read replicas use asynchronous replication, which carries a risk of data loss during a failover event. However, the Enterprise Plus edition introduces Advanced DR, a feature that allows you to designate a cross-region read replica as a failover DR replica. This configuration utilizes synchronous replication to ensure no transactions are lost when the primary instance becomes unavailable.
To implement this, you must create a cross-region read replica in the target region (us-west1) that matches the source version (8.0.34) and then designate it using the specific DR management commands. Option C correctly identifies creating a matching version replica and designating it as the failover DR replica. The standard switchover command for testing or executing the transition in an Advanced DR setup is gcloud sql instances patch or similar DR-specific orchestration, but critically, the option text provided in the prompt's accepted answer points to the designation step as the key differentiator.
Option A suggests 'cascading' which is not the mechanism for zero-loss DR. Option B uses a mismatched version (8.0.37), which is invalid for direct replication from an 8.0.34 primary without intermediate upgrades. Option D relies on promote-replica, which promotes an asynchronous replica and does not guarantee zero data loss. Therefore, the core concept tested is the capability of Enterprise Plus Advanced DR to provide synchronous-like guarantees via designated replicas.
Exam Strategy
When questions specify 'zero data loss' or 'synchronous' requirements for Cloud SQL, immediately look for 'Enterprise Plus' and 'Advanced DR' keywords. Standard read replicas are asynchronous and cannot guarantee zero loss. Always verify that the replica version matches the primary version exactly before considering the configuration valid.
Frequently Asked Questions
What is the minimum edition required for Advanced DR?
Can I use a different major version for the DR replica?
Community Votes
50% of anonymous learners picked answer C. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 2 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 2
-
AwesomeGCP 👍 1 Answered CThe correct answer is C. Create a cross-region read replica version 8.0.34, in the us-west1 region. Designate it as the failover DR replica, and test switchover by using the gcloud switchover command.Why Option C is CorrectAdvanced Disaster Recovery (DR) in Enterprise Plus: Cloud SQL Enterprise Plus edition introduces Advanced DR, which allows you to designate a cross-region read replica as a designated failover DR replica.Zero Data Loss via Switchover: The gcloud sql instances switchover command performs a planned role reversal. During switchover, Cloud SQL stops writes to the primary, waits for replication lag to reach zero, promotes the DR replica to the new primary, and reconfigures the old primary as a replica—guaranteeing zero data loss. This is the recommended method for DR testing/drills. Minor Version Parity Requirement: For MySQL 8.0 DR replicas, the replica must match the exact minor version of the primary instance (version 8.0.34).
-
Bang_Jago 👍 1 Answered Dini d bang
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.