exam questions

Exam Professional Cloud Database Engineer All Questions

View all questions & answers for the Professional Cloud Database Engineer exam

Exam Professional Cloud Database Engineer topic 1 question 68 discussion

Actual exam question from Google's Professional Cloud Database Engineer
Question #: 68
Topic #: 1
[All Professional Cloud Database Engineer Questions]

Your online delivery business that primarily serves retail customers uses Cloud SQL for MySQL for its inventory and scheduling application. The required recovery time objective (RTO) and recovery point objective (RPO) must be in minutes rather than hours as a part of your high availability and disaster recovery design. You need a high availability configuration that can recover without data loss during a zonal or a regional failure. What should you do?

  • A. Set up all read replicas in a different region using asynchronous replication.
  • B. Set up all read replicas in the same region as the primary instance with synchronous replication.
  • C. Set up read replicas in different zones of the same region as the primary instance with synchronous replication, and set up read replicas in different regions with asynchronous replication.
  • D. Set up read replicas in different zones of the same region as the primary instance with asynchronous replication, and set up read replicas in different regions with synchronous replication.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
dynamic_dba
Highly Voted 2 years, 1 month ago
A. Google’s documentation (https://cloud.google.com/sql/faq) states MySQL read replicas use asynchronous replication. That eliminates B, C and D because they all say to use read replicas with synchronous replication. That leaves A. A states read replicas (plural) in a different region which suggests more than one read replica, each in a different zone. With the primary instance in region A (zone 1) and presumably a failover replica also in region A (zone 2), read replicas in region B (zone 1 and 2) would provide HA in the event of a region or zone failure.
upvoted 12 times
Jay_Krish
1 year, 5 months ago
No you're wrong. D doesn't say synchronous. And I think option A with having HA in different regions (rather than zones) would increase latency. Usually for HA it's assigned within the same region but different zone. I think the option would be D
upvoted 2 times
jpx92681
9 months, 1 week ago
Yes, i was wondering about latency, however, I have seen dynamic DBA is very consistent with good answers, probably he is missing that point.. and you're right it says asynchronous..
upvoted 1 times
jpx92681
9 months, 1 week ago
Nevermind, after re-reading, it says synchronous at the end. Ill go for A.
upvoted 1 times
...
...
...
...
pk349
Highly Voted 2 years, 4 months ago
C: Set up read replicas in different zones *** of the same region as the primary instance with *** synchronous replication, and set up read replicas in different regions with asynchronous replication.
upvoted 10 times
...
rglearn
Most Recent 6 months ago
Selected Answer: C
no data loss means synchronous replication. Read replica in different zone will provide zonal level tolerance. Read replica in different region will provide regional tolerance.
upvoted 1 times
...
rglearn
6 months, 1 week ago
Selected Answer: C
synchronous replication will guarantee no data loss.
upvoted 1 times
...
daniel.morales
11 months ago
Selected Answer: A
Cloud SQL for Postgres is using streaming replication which is asynchronous by default
upvoted 2 times
...
daniel.morales
11 months ago
Selected Answer: A
Cloud SQL for Postgres is using streaming replication which is asynchronous by default
upvoted 1 times
...
ignitemg
11 months, 2 weeks ago
A. Because replication is asynchronous, when a regional outage occurs and a failover is attempted, some recent transactions that were committed to the primary may be lost (not replicated to the replica) - (https://cloud.google.com/sql/docs/postgres/replication/cross-region-replicas)
upvoted 1 times
...
Pime13
12 months ago
Selected Answer: A
How is my data replicated? MySQL instances: MySQL instances provide a high availability configuration and MySQL read replicas. MySQL read replicas use asynchronous replication. PostgreSQL instances provide a high availability configuration and read replicas. SQL Server instances provide a high availability configuration and read replicas. https://cloud.google.com/sql/faq
upvoted 1 times
...
Jay_Krish
1 year, 5 months ago
Selected Answer: D
Set up read replicas in different zones of the same region as the primary instance with asynchronous replication, and set up read replicas in different regions with synchronous replication. Synchronous is for data consistency and Asynchronous is for speed. So option D covers all aspects discussed.
upvoted 1 times
...
DMBP3
1 year, 5 months ago
The answer is A. Please see this link - https://cloud.google.com/sql/faq When it comes to read replica, there is no synchronous replication. How is my data replicated? MySQL instances: MySQL instances provide a high availability configuration and MySQL read replicas. MySQL read replicas use asynchronous replication.
upvoted 1 times
...
juliorevk
1 year, 6 months ago
If they meant for C to be a standby instance with synchronous replication and then a read replica in other regions with asynchronous replication then it would make sense. However, since it says read replicas only and read replicas do not get async replicated, then it should be A. Hard to say though because A isn't going to protect from data loss either. No really good answer here and badly worded question.
upvoted 2 times
...
nqthien041292
1 year, 7 months ago
Selected Answer: C
Vote C
upvoted 2 times
...
DBAgain
1 year, 9 months ago
I'm hung up on the phrase "without data loss". There is always a chance for some loss of data with asynchronous replication. However, Cloud SQL doesn't support synchronous replication on read replicas (as others have stated). There are NO VALID ANSWERS provided, and the authors of the question clearly have no idea what they're talking about.
upvoted 3 times
...
isribalaji
1 year, 10 months ago
Selected Answer: A
Cloud SQL read replicas do not use synchronous replication. Instead, they use asynchronous replication. This means that there is a delay between when a change is made to the primary instance and when it is replicated to the read replica. The delay is typically a few seconds, but it can be longer depending on the network latency between the two instances. These leaves A at the end!
upvoted 2 times
...
Nirca
2 years, 1 month ago
Selected Answer: C
"without data loss" = "sync replication"
upvoted 1 times
...
H_S
2 years, 1 month ago
Selected Answer: C
Non doubt
upvoted 1 times
...
Teraflow
2 years, 2 months ago
Selected Answer: C
C is correct answer
upvoted 3 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago