nerdexam
GoogleGoogle

PROFESSIONAL-CLOUD-DATABASE-ENGINEER · Question #91

PROFESSIONAL-CLOUD-DATABASE-ENGINEER Question #91: Real Exam Question with Answer & Explanation

The correct answer is D: Determine whether Cloud SQL for PostgreSQL in region R2 is a near-real-time copy of region R1. Verify that the replica has processed all the transactions it has received from the primary. This ensures that when promoted, the replica reflects all transactions that were received before the primary became unavailable. https://cloud.google.com/sql/docs/postgres/replication/cro

Maintaining and troubleshooting a Cloud SQL solution

Question

You are the DBA of an online tutoring application that runs on a Cloud SQL for PostgreSQL database. You are testing the implementation of the cross-regional failover configuration. The database in region R1 fails over successfully to region R2, and the database becomes available for the application to process data. During testing, certain scenarios of the application work as expected in region R2, but a few scenarios fail with database errors. The application-related database queries, when executed in isolation from Cloud SQL for PostgreSQL in region R2, work as expected. The application performs completely as expected when the database fails back to region R1. You need to identify the cause of the database errors in region R2. What should you do?

Options

  • ADetermine whether the versions of Cloud SQL for PostgreSQL in regions R1 and R2 are different.
  • BDetermine whether the database patches of Cloud SQI for PostgreSQL in regions R1 and R2 are
  • CDetermine whether the failover of Cloud SQL for PostgreSQL from region R1 to region R2 is in
  • DDetermine whether Cloud SQL for PostgreSQL in region R2 is a near-real-time copy of region R1

Explanation

Verify that the replica has processed all the transactions it has received from the primary. This ensures that when promoted, the replica reflects all transactions that were received before the primary became unavailable. https://cloud.google.com/sql/docs/postgres/replication/cross-region- replicas#verify_failover_criteria

Topics

#Cloud SQL#PostgreSQL#Failover#Replication Lag

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-DATABASE-ENGINEER PracticeBrowse All PROFESSIONAL-CLOUD-DATABASE-ENGINEER Questions