Courseiva
mediumMultiple ChoiceObjective-mapped

Google ACE Practice Question: A financial application requires a relational…

A financial application requires a relational database with automatic failover to a standby in a different zone, with minimal configuration overhead. Which Cloud SQL configuration provides this?

⚠ Common exam trap

Google Cloud often tests the misconception that a read replica can serve as a failover target, but read replicas use asynchronous replication and require manual promotion, making them unsuitable for automatic failover with minimal configuration.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Cloud SQL with High Availability (HA) configuration

Cloud SQL's High Availability (HA) configuration provides automatic failover to a standby instance in a different zone using synchronous replication and a regional persistent disk. This meets the requirement for minimal configuration overhead because it is a built-in feature that requires no application-level logic or manual intervention.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Cloud SQL with a read replica in a different zone

    Why it's wrong here

    A Cloud SQL read replica in a different zone is designed to offload read traffic, not to serve as a failover target. The replica uses asynchronous replication, which can lag behind the primary, causing potential data loss if promoted. Promotion is a manual operation — you must initiate it, update connection strings, and handle the transition, whereas high availability requires zero manual intervention and preserves the same instance endpoint.

  • Cloud SQL with High Availability (HA) configuration

    Why this is correct

    Cloud SQL with High Availability (HA) configuration is the correct choice because it automatically provisions a standby instance in a different zone within the same region and uses synchronous replication to keep it current. When the primary fails, Cloud SQL detects the outage and automatically promotes the standby, typically within seconds, and the public IP address remains the same so existing applications can reconnect without code changes. This gives you a simple, managed, zone-redundant solution that meets the requirement for automatic failover with no application-level logic.

  • Cloud Spanner multi-region instance

    Why it's wrong here

    Cloud Spanner is a globally distributed, horizontally scalable NewSQL database with synchronous replication across regions, designed for worldwide consistency and 99.999% availability. For a single application that only needs protection against a zone-level failure, deploying a multi-region Spanner instance is an extreme overprovisioning in both cost and operational complexity. The question's requirement is for a single Cloud SQL application's high availability, and Spanner is not a drop-in replacement for Cloud SQL's relational API and tooling.

  • Two separate Cloud SQL instances with application-level failover logic

    Why it's wrong here

    Two separate Cloud SQL instances with application-level failover logic means your application must detect primary failure, promote the secondary, and handle replication lag or data inconsistency manually. Cloud SQL does not automatically replicate data between two standalone instances unless you configure external replication, so you must build and manage a custom data sync mechanism. This approach reintroduces the very complexity and risk of split-brain that a managed HA solution eliminates, and it does not provide the same automated health checking and failover guarantees.

About these practice questions

This ACE question is part of Courseiva's 769-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This ACE practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the ACE exam.