Google Cloud Professional Cloud Database Engineer — Question 112

You are migrating an on-premises application to Google Cloud. The application requires a high availability (HA) PostgreSQL database to support business-critical functions. Your company's disaster recovery strategy requires a recovery time objective (RTO) and recovery point objective (RPO) within 30 minutes of failure. You plan to use a Google Cloud managed service. What should you do to maximize uptime for your application?

Answer options

Correct answer: C

Explanation

The correct answer is C because deploying Cloud SQL for PostgreSQL with HA and creating a cross-region read replica ensures that the application can quickly recover from a disaster with minimal downtime. Option A is insufficient since it only has a read replica in a different zone, which does not guarantee high availability. Option B relies on periodic backups, which may not meet the RTO and RPO requirements. Option D involves a more complex migration to Cloud Spanner, which is not necessary to achieve high availability for PostgreSQL.