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

Exam Professional Data Engineer All Questions

View all questions & answers for the Professional Data Engineer exam

Exam Professional Data Engineer topic 1 question 218 discussion

Actual exam question from Google's Professional Data Engineer
Question #: 218
Topic #: 1
[All Professional Data Engineer Questions]

You have a Cloud SQL for PostgreSQL instance in Region’ with one read replica in Region2 and another read replica in Region3. An unexpected event in Region’ requires that you perform disaster recovery by promoting a read replica in Region2. You need to ensure that your application has the same database capacity available before you switch over the connections. What should you do?

  • A. Enable zonal high availability on the primary instance. Create a new read replica in a new region.
  • B. Create a cascading read replica from the existing read replica in Region3.
  • C. Create two new read replicas from the new primary instance, one in Region3 and one in a new region.
  • D. Create a new read replica in Region1, promote the new read replica to be the primary instance, and enable zonal high availability.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
josech
6 months, 1 week ago
Selected Answer: C
https://cloud.google.com/sql/docs/mysql/replication#cross-region-read-replicas
upvoted 3 times
nadavw
3 months ago
requires 2 new read replicas as the read replica that wasn't promoted isn't capable to be a replica any more as the primary isa gone
upvoted 1 times
...
...
CGS22
7 months, 3 weeks ago
Selected Answer: C
The best option here is C. Create two new read replicas from the new primary instance, one in Region3 and one in a new region. Here's the breakdown: Capacity Restoration: Promoting the Region2 replica makes it the new primary. You need to replicate from this new primary to maintain redundancy and capacity. Creating two replicas (Region3, new region) accomplishes this. Geographic Distribution: Distributing replicas across regions ensures availability if another regional event occurs. Speed: Creating new replicas from the promoted primary is likely faster than promoting another existing replica.
upvoted 2 times
BigDataBB
7 months, 2 weeks ago
Who said that i can use a 4° region? If have constraint that i can't go out from that 3 regions? By My opinion will be a right solution if the new replica will in another zona of the region 1 or 3. may be the best solution is the case D
upvoted 1 times
BigDataBB
7 months, 2 weeks ago
https://cloud.google.com/sql/docs/postgres/replication/cross-region-replicas?hl=en
upvoted 1 times
...
...
...
JyoGCP
9 months, 1 week ago
Selected Answer: C
Option C
upvoted 1 times
...
raaad
10 months, 3 weeks ago
Selected Answer: C
After promoting the read replica in Region2 to be the new primary instance, creating additional read replicas from it can help distribute the read load and maintain or increase the database's total capacity.
upvoted 4 times
...
e70ea9e
11 months ago
Selected Answer: C
Immediate Failover: Promoting the read replica in Region2 quickly restores database operations in a different region, aligning with disaster recovery goals. Capacity Restoration: Creates two new read replicas from the promoted primary instance (formerly the read replica in Region2). This replaces the lost capacity in Region1 and adds a read replica in a new region for further redundancy.
upvoted 2 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 ...