nerdexam
Google

PROFESSIONAL-CLOUD-DATABASE-ENGINEER · Question #25

You are designing a highly available (HA) Cloud SQL for PostgreSQL instance that will be used by 100 databases. Each database contains 80 tables that were migrated from your on-premises environment…

The correct answer is C. Deploy 4 Cloud SQL instances in the us-central1 region with HA enabled, and create read. With 100 databases and 80 tables each, the workload needs to be distributed across multiple Cloud SQL instances to stay within instance limits and maintain performance. Deploying 4 Cloud SQL instances in us-central1 with HA enabled provides high availability via synchronous…

Designing and planning a database solution

Question

You are designing a highly available (HA) Cloud SQL for PostgreSQL instance that will be used by 100 databases. Each database contains 80 tables that were migrated from your on-premises environment to Google Cloud. The applications that use these databases are located in multiple regions in the US, and you need to ensure that read and write operations have low latency. What should you do?

Options

  • ADeploy 2 Cloud SQL instances in the us-central1 region with HA enabled, and create read
  • BDeploy 2 Cloud SQL instances in the us-central1 region, and create read replicas in us-east1 and
  • CDeploy 4 Cloud SQL instances in the us-central1 region with HA enabled, and create read
  • DDeploy 4 Cloud SQL instances in the us-central1 region, and create read replicas in us-central1,

How the community answered

(39 responses)
  • A
    5% (2)
  • B
    13% (5)
  • C
    79% (31)
  • D
    3% (1)

Explanation

With 100 databases and 80 tables each, the workload needs to be distributed across multiple Cloud SQL instances to stay within instance limits and maintain performance. Deploying 4 Cloud SQL instances in us-central1 with HA enabled provides high availability via synchronous standby replicas in a different zone within the same region. Adding read replicas in other US regions (e.g., us-east1, us-west1) ensures low-latency reads for applications in those regions. HA enabled (vs. not enabled in option D) is critical to meet the 'highly available' requirement. Options A and B use only 2 instances, which is insufficient for distributing 100 databases at the required scale.

Topics

#Cloud SQL#High Availability#Read Replicas#Multi-Region Deployment#Database Scaling

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-DATABASE-ENGINEER Practice