Your operations team manages an AlloyDB for PostgreSQL primary cluster that supports a busy retail web application. The DBA must ensure that if an accidental DELETE is run, the team can recover to any specific second that occurred within the last 24 hours without interrupting the running production cluster. The solution should rely on native Google Cloud features and require as little ongoing maintenance as possible. What should you do?
Set up logical replication to a standby cluster in another region and fail over to that cluster when data is lost.
Take periodic persistent-disk snapshots of the primary instance's disks and use them to rebuild the cluster when necessary.
Enable continuous automated backups with a 24-hour retention window, then use a point-in-time restore to create a new cluster at the required timestamp.
Schedule an on-demand backup every night and, if needed, restore that backup to a new cluster.
Continuous automated backups in AlloyDB capture a steady stream of WAL (write-ahead log) records and let you perform point-in-time recovery (PITR) to any moment within the configured retention window (1-35 days, 14 days by default). By enabling this feature with at least a 24-hour window, you satisfy the requirement to restore to any specific second in the past 24 hours. A point-in-time restore is performed by creating a new AlloyDB cluster at the desired timestamp, leaving the production cluster untouched. On-demand (manual) backups, disk snapshots, or logical replication do not provide second-level granularity across an entire day or require significantly more administration and cost.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is point-in-time recovery (PITR) in AlloyDB?
Open an interactive chat with Bash
What are write-ahead logs (WAL) and their role in backups?
Open an interactive chat with Bash
How does continuous automated backup differ from manual backups in AlloyDB?
Open an interactive chat with Bash
What is the Write-Ahead Log (WAL) in AlloyDB for PostgreSQL?
Open an interactive chat with Bash
How does Point-in-Time Recovery (PITR) work in AlloyDB for PostgreSQL?
Open an interactive chat with Bash
What is the difference between automated and manual backups in AlloyDB?
Open an interactive chat with Bash
GCP Associate Cloud Engineer
Ensuring successful operation of a cloud solution
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .