You are running a transactional application on Cloud SQL for PostgreSQL in Google Cloud. The database is running in a high availability configuration within one region. You have encountered issues with data and want to restore to the last known pristine version of the database. What should you do?
Suggested Answer: C
Get Premium Professional Cloud Database Engineer Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
Using import/export from last week is slow for large scale databases and will restore database from last week.
33 comments · newest first
LE
Lenita
24 hours ago
I feel like D is too old. Last week's dump? Not ideal.
RE
Rebbecca
6 days ago
A could work, but it might not be as precise as C.
CE
Celia
11 days ago
But what about option A? Cloning from a read replica sounds safe.
RO
Roy
16 days ago
Agreed! It’s quick and restores to a specific time.
EV
Eva
22 days ago
I think option C is the best. PITR is reliable.
DA
Danica
27 days ago
Plus, it’s built for these situations.
JE
Jestine
1 month ago
Right! C gives us precision.
CA
Carrol
1 month ago
Yeah, I’d avoid that. We need the latest data.
AR
Arthur
1 month ago
Option D seems risky. Last week's dump? Too old!
MA
Malcolm
2 months ago
True, but it might not capture the exact state needed.
JE
Jestine
2 months ago
But what about option A? Cloning from a read replica could work too.
DA
Danica
2 months ago
Agreed! It’s quick and restores to a specific time.
TU
Tu
2 months ago
I think option C is the best. PITR is reliable.
JA
Jaime
2 months ago
I guess C is the most reliable option.
MO
Mose
2 months ago
I feel confident with C as well.
EV
Eveline
3 months ago
Exactly, C ensures minimal data loss.
UN
Una
3 months ago
Yeah, last week's dump might miss recent changes.
JA
Jaime
3 months ago
D could work too, but it’s not as recent.
MA
Marti
3 months ago
True, C gives you a specific point in time.
MO
Mose
3 months ago
But A might not get you the exact state you need.
UN
Una
3 months ago
I prefer A. Cloning from a read replica seems safer.
EV
Eveline
4 months ago
PITR is designed for this. Quick recovery!
MA
Marti
4 months ago
Why C?
EV
Eveline
4 months ago
I think option C is the best.
ED
Edward
4 months ago
B is interesting, but why change zones?
LI
Linwood
4 months ago
Wait, can you really restore from two hours ago? Sounds risky.
JE
Jennie
5 months ago
D seems outdated, why not use PITR?
VA
Vanna
5 months ago
I think A could work too, but not as efficient.
RE
Renea
5 months ago
C is the best option for quick recovery!
BR
Brent
5 months ago
Importing a dump file seems risky since it might not have the latest data, but I guess it could be an option if everything else fails.
KA
Kaycee
7 months ago
I practiced a question similar to this, and I feel like using PITR is the most straightforward way to get back to a specific time.
LA
Lai
7 months ago
I think creating a clone from a read replica could work, but I can't recall if it has to be in the same region or if it can be in a different zone.
FR
France
7 months ago
I remember something about point-in-time recovery being really useful for restoring databases, but I'm not sure if it's the best option here.