An engineer needs to create a Cloud SQL MySQL instance that can automatically failover to a standby in a different zone within the same region. Which configuration should be used?
Trap 1: Read replica in same zone
A read replica is a separate instance that replicates asynchronously. It does not provide automatic failover.
Trap 2: Zonal availability configuration
Zonal availability means a single-zone instance with no HA. Failure of the zone leads to downtime.
Trap 3: Cross-region failover replica
Cloud SQL does not support automatic failover across regions. Cross-region read replicas can be manually promoted but failover is not automatic.
- A
Read replica in same zone
Why wrong: A read replica is a separate instance that replicates asynchronously. It does not provide automatic failover.
- B
Regional HA configuration
This creates a synchronous standby in a different zone within the same region, enabling automatic failover under 60 seconds.
- C
Zonal availability configuration
Why wrong: Zonal availability means a single-zone instance with no HA. Failure of the zone leads to downtime.
- D
Cross-region failover replica
Why wrong: Cloud SQL does not support automatic failover across regions. Cross-region read replicas can be manually promoted but failover is not automatic.