Topic 1 Question 60
You are configuring a brand new Cloud SQL for PostgreSQL database instance in Google Cloud. Your application team wants you to deploy one primary instance, one standby instance, and one read replica instance. You need to ensure that you are following Google-recommended practices for high availability. What should you do?
Configure the primary instance in zone A, the standby instance in zone C, and the read replica in zone B, all in the same region.
Configure the primary and standby instances in zone A and the read replica in zone B, all in the same region.
Configure the primary instance in one region, the standby instance in a second region, and the read replica in a third region.
Configure the primary, standby, and read replica instances in zone A, all in the same region.
ユーザの投票
コメント(4)
A: Configure the primary instance in zone A, the standby instance in zone C, and the read replica in zone B, all in the same region.
👍 2pk3492022/12/24The HA configuration provides data redundancy. A Cloud SQL instance configured for HA is also called a regional instance and has a primary and secondary zone within the configured region. Within a regional instance, the configuration is made up of a primary instance and a standby instance. Through synchronous replication to each zone's persistent disk, all writes made to the primary instance are replicated to disks in both zones before a transaction is reported as committed. In the event of an instance or zone failure, the standby instance becomes the new primary instance. Users are then rerouted to the new primary instance. This process is called a failover.
👍 2pk3492022/12/24- 正解だと思う選択肢: A
HA standby instance can't be located in different region, and Google recommends to use different zones for all three, so answer is A https://cloud.google.com/sql/docs/postgres/high-availability#failover-overview
👍 2chelbsik2022/12/25
シャッフルモード