ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 6 - Professional Cloud Database Engineer discussion

Report
Export

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?

A.
Restore the Cloud SQL instance from the automatic backups in region 3.
Answers
A.
Restore the Cloud SQL instance from the automatic backups in region 3.
B.
Restore the Cloud SQL instance from the automatic backups in another zone in region 1.
Answers
B.
Restore the Cloud SQL instance from the automatic backups in another zone in region 1.
C.
Check 'Lag Bytes' in the monitoring dashboard for the primary instance in the read replica instance. Check the replication status using pg_catalog.pg_last_wal_receive_lsn(). Then, fail over to region 2 by promoting the read replica instance.
Answers
C.
Check 'Lag Bytes' in the monitoring dashboard for the primary instance in the read replica instance. Check the replication status using pg_catalog.pg_last_wal_receive_lsn(). Then, fail over to region 2 by promoting the read replica instance.
D.
Check your instance operational log for the automatic failover status. Look for time, type, and status of the operations. If the failover operation is successful, no action is necessary. Otherwise, manually perform gcloud sql instances failover .
Answers
D.
Check your instance operational log for the automatic failover status. Look for time, type, and status of the operations. If the failover operation is successful, no action is necessary. Otherwise, manually perform gcloud sql instances failover .
Suggested answer: C

Explanation:

https://cloud.google.com/sql/docs/postgres/replication/cross-region-replicas#disaster_recovery

asked 18/09/2024
Bob Tole
46 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first