Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam Professional Cloud Architect topic 1 question 70 discussion

Actual exam question from Google's Professional Cloud Architect
Question #: 70
Topic #: 1
[All Professional Cloud Architect Questions]

You are using a single Cloud SQL instance to serve your application from a specific zone. You want to introduce high availability. What should you do?

  • A. Create a read replica instance in a different region
  • B. Create a failover replica instance in a different region
  • C. Create a read replica instance in the same region, but in a different zone
  • D. Create a failover replica instance in the same region, but in a different zone
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
AWS56
Highly Voted 4 years, 3 months ago
Agree D
upvoted 35 times
tartar
3 years, 9 months ago
D is ok
upvoted 7 times
...
kumarp6
3 years, 6 months ago
Yes D is right
upvoted 4 times
...
kimharsh
1 year, 11 months ago
this Question is very Old and should be deleted from the exam , there is no Failover replica now , to do an HA we just confer it for the SQL instance that we have .
upvoted 23 times
...
nwk
1 year, 11 months ago
https://cloud.google.com/sql/docs/mysql/replication#:~:text=Read%20replicas%20neither%20provide%20high%20availability%20nor%20offer%20it.&text=A%20primary%20instance%20cannot%20failover,any%20way%20during%20an%20outage.&text=Maintenance%20windows%20cannot%20be%20set,windows%20with%20the%20primary%20instance. - Read replicas neither provide high availability nor offer it. Agree D
upvoted 7 times
jay9114
1 year, 7 months ago
That link is helpful! I navigated to the "quick reference for Cloud SQL read replicas" and read the "failover" and "high availability" topics. They state: 1. Failover - "A primary instance cannot failover to a read replica, and read replicas are unable to failover in any way during an outage." 2. High Availability - "Read replicas neither provide high availability nor offer it."
upvoted 2 times
spuyol
3 months ago
Sorry for this, but in the same link you can read: High availability Read replicas allow you to enable high availability on the replicas. (What I understand is that Read Replicas give you high availability on reads, of course, not in writes).
upvoted 1 times
...
...
...
...
GunjGupta
Highly Voted 3 years, 11 months ago
Cloud SQL is regional. For high availability, we need to think fo a failover strategy. So Option D meets the requirement. create failover replica in the same region but in different Zone
upvoted 15 times
...
0verK0alafied
Most Recent 1 week, 5 days ago
Selected Answer: D
The 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. https://cloud.google.com/sql/docs/mysql/high-availability#HA-configuration
upvoted 1 times
...
Gall
3 months ago
Selected Answer: D
"Note: Read replicas do not provide failover capability. To provide failover capability for an instance, see Configuring an instance for high availability." https://cloud.google.com/sql/docs/mysql/replication/
upvoted 2 times
...
parthkulkarni998
4 months, 3 weeks ago
Selected Answer: D
Correct answer would be D as a failover replica acts as a redundant copy incase of zone failure. However, option C causes confusion because a read replica can provide availability for reads, in case of zone failure for primary, but they cant provide support for writes. They would only work for reads.
upvoted 1 times
...
Roro_Brother
4 months, 3 weeks ago
Selected Answer: D
D, its regional product and failover is required for HA
upvoted 1 times
...
thewalker
5 months, 4 weeks ago
C 1. Failover replica is a legacy way and is not available in GCP now - B and D are not the options: https://cloud.google.com/sql/docs/mysql/high-availability#legacy_mysql_high_availability_option 2. Cloud SQL is regional resource. However, cross-region read replicas are allowed now in Cloud SQL (https://cloud.google.com/blog/products/databases/introducing-cross-region-replica-for-cloud-sql) - A and C are options. Chosen C, as there is no requirement or mention of cross-regional / global db.
upvoted 1 times
hogtrough
3 months, 4 weeks ago
Read replica is not a valid choice for HA configurations. It does not provide automatic failover that is required for HA. It may be called something different or this answer has changed, but D is still the best option.
upvoted 1 times
...
...
piiizu
7 months, 2 weeks ago
The key is High Availability, not Resilience or Disaster Recovery. Therefore my answer is C
upvoted 1 times
...
someone2011
8 months ago
D. In HA config, the second replica is caled stand by. The process of replacing the primary damaged node is called failover. https://cloud.google.com/sql/docs/postgres/high-availability
upvoted 2 times
...
didek1986
8 months ago
Selected Answer: C
C for sure
upvoted 1 times
...
red_panda
11 months ago
Selected Answer: C
C. Failover is so old and deprecated
upvoted 4 times
...
LaxmanTiwari
11 months, 4 weeks ago
this Question is very Old and should be deleted from the exam , there is no Failover replica now , to do an HA we just confer it for the SQL instance that we have .. agreed tested as well
upvoted 1 times
...
JC0926
1 year ago
Selected Answer: D
Option C is not the best choice because it suggests creating a read replica instance, which is designed to handle read traffic and provide better performance in read-heavy workloads, but it is not intended for high availability. On the other hand, Option D suggests creating a failover replica instance in the same region but in a different zone. Failover replicas are designed specifically for high availability, as they maintain an up-to-date copy of the primary instance's data. If the primary instance becomes unresponsive or fails, Cloud SQL automatically switches to the failover replica with minimal downtime. In summary, to introduce high availability for your Cloud SQL instance, you should create a failover replica instance in the same region but in a different zone (Option D) rather than creating a read replica instance (Option C), which doesn't provide high availability in case of primary instance failures.
upvoted 4 times
DevOpsifier
10 months, 4 weeks ago
thanks!
upvoted 1 times
...
...
JC0926
1 year, 1 month ago
Selected Answer: D
D C is also not ideal for high availability because creating a read replica in the same region but in a different zone does not provide automatic failover. A read replica is used for scaling reads and can improve performance, but it is not a failover mechanism.
upvoted 1 times
...
cert2020
1 year, 2 months ago
Agree D. https://cloud.google.com/sql/docs/mysql/configure-ha The legacy configuration for high availability used a failover replica instance. The new configuration does not use a failover replica. Instead, it uses Google's regional persistent disks, which synchronously replicate data at the block level between two zones in a region.
upvoted 1 times
...
black_magic
1 year, 2 months ago
The high availability configuration for Cloud SQL has recently changed. Failover replicas will no longer be included in the new Google recommended configuration and will be considered legacy. Google is moving towards persistent regional disks. This question as well as the solutions should be updated. "The legacy configuration for high availability used a failover replica instance. The new configuration does not use a failover replica. Instead, it uses Google's regional persistent disks, which synchronously replicate data at the block level between two zones in a region. If you have an existing MySQL instance that uses the legacy high availability configuration, you can update your configuration to use the current version." Source: https://cloud.google.com/sql/docs/mysql/configure-ha
upvoted 2 times
...
MaryMei
1 year, 2 months ago
https://cloud.google.com/sql/docs/mysql/replication only read replicas exists
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...