Intrigued by the art of cloud architecture? Discover how to design, develop, and manage robust, secure, scalable, and dynamic solutions on Google Cloud as you prepare for the Professional Cloud Architect exam!
Prepare and test your skills
Prepare and test your skills
Worked example. The correct answer is already marked and every option is explained below, so there is nothing to select here. To answer questions yourself, start the free trial.
An enterprise is designing a highly resilient database architecture on Google Cloud for a mission-critical transactional service. The workload has the following architectural and reliability requirements:
Following the Google Cloud Well-Architected Framework for reliability, which database architecture should you implement?
Implement asynchronous replication locally between the primary and standby replicas using periodic pgBackRest WAL archiving, and configure synchronous streaming replication across geographically distant regions.
Implement synchronous streaming replication between the primary and standby replicas managed by Patroni and a distributed consensus store (such as etcd) within the primary region, and configure asynchronous streaming replication to the secondary disaster recovery region.
Implement synchronous multi-region streaming replication across multiple geographical regions and configure manual failover runbooks triggered by Cloud Monitoring alert notifications.
Deploy a single standalone active database instance in each region, relying on scheduled daily snapshot backups and point-in-time WAL replay for cross-region recovery.
This architecture combines intra-region high availability (HA) using synchronous streaming replication with inter-region disaster recovery (DR) using asynchronous streaming replication. High availability is automated and coordinated using Patroni alongside a distributed consensus system such as etcd, Consul, or ZooKeeper.
Synchronous replication across distant geographic regions introduces substantial network round-trip latency that severely slows down transactional writes. By confining synchronous replication to local low-latency nodes and using asynchronous replication for cross-region disaster recovery, this solution balances stringent RPO/RTO requirements with optimal application performance.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.
Still curious? Scout, our AI tutor, can explain this concept further and answer your follow-up questions.