Cyber Monday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Google Exam Professional Cloud Database Engineer Topic 4 Question 42 Discussion

Actual exam question for Google's Professional Cloud Database Engineer exam
Question #: 42
Topic #: 4
[All Professional Cloud Database Engineer Questions]

You are managing a Cloud SQL for PostgreSQL instance in Google Cloud. You have a primary instance in region 1 and a read replica in region 2. After a failure of region 1, you need to make the Cloud SQL instance available again. You want to minimize data loss and follow Google-recommended practices. What should you do?

Show Suggested Answer Hide Answer

Contribute your Thoughts:

Eleni
2 months ago
I'd go with C. Promoting the read replica is the way to go, and checking the replication status is a smart move to ensure data integrity.
upvoted 0 times
Georgene
2 months ago
I agree, promoting the read replica after checking the replication status is the recommended practice. C it is.
upvoted 0 times
...
Rozella
2 months ago
Agreed, checking the replication status is crucial to avoid data loss. Let's go with C.
upvoted 0 times
...
Novella
2 months ago
I think C is the best option. Promoting the read replica seems like the safest choice.
upvoted 0 times
...
...
Elli
2 months ago
Haha, I bet option D would be the one the IT guy who just woke up from a nap would recommend. 'Just check the logs, bro, it'll be fine!'
upvoted 0 times
...
Berry
2 months ago
I'm not sure about that. I think we should restore the Cloud SQL instance from the automatic backups in another zone in region 1.
upvoted 0 times
...
Lashawn
2 months ago
I'm not sure about option B. Restoring from a backup in the same region as the failed instance doesn't seem like it would minimize data loss.
upvoted 0 times
Beckie
2 months ago
Exactly, it's important to prioritize data consistency and minimizing data loss in scenarios like this.
upvoted 0 times
...
Gladys
2 months ago
Restoring from a backup in a different region might not have the most up-to-date data compared to the read replica in region 2.
upvoted 0 times
...
Ilene
2 months ago
I agree, option C seems to follow Google-recommended practices for minimizing data loss in this situation.
upvoted 0 times
...
Carissa
2 months ago
Option C sounds like the best choice. Checking the replication status and failing over to the read replica in region 2 seems like the safest bet.
upvoted 0 times
...
...
Nan
3 months ago
I agree with Laura. That seems like the best option to minimize data loss and follow Google-recommended practices.
upvoted 0 times
...
Laura
3 months ago
I think we should check the replication status using pg_catalog.pg_last_wal_receive_lsn and then fail over to region 2 by promoting the read replica instance.
upvoted 0 times
...
Florencia
3 months ago
C seems like the right choice here. The instructions mention following Google-recommended practices, and that's exactly what option C suggests - checking the replication status and failing over to the read replica.
upvoted 0 times
Barrie
2 months ago
Let's go with option C then.
upvoted 0 times
...
Pok
2 months ago
That sounds like the most reliable choice.
upvoted 0 times
...
Holley
2 months ago
I agree, C involves checking replication status and failing over to the read replica.
upvoted 0 times
...
Golda
3 months ago
I think C is the best option here.
upvoted 0 times
...
...

Save Cancel