Google Professional Cloud Database Engineer Question 239
Select 3Google Cloud PlatformYour organization runs a mission-critical application on a Cloud SQL instance. To ensure high availability and disaster recovery, a failover replica has been configured, and automated backups are enabled. The team wants to periodically test the failover and disaster recovery strategies. Which actions should you take to validate the setup effectively?
- A
Simulate a failover by forcing a manual failover of the Cloud SQL instance.
- B
Test restoring a backup to a new Cloud SQL instance in a different region.
- C
Initiate a high CPU workload on the primary instance to observe failover behavior.
- D
Verify that read replicas automatically become writable during failover.
- E
Perform a regional outage simulation to ensure the failover replica takes over.
Show answer and explanation
Correct answers: A, B, E
Explanation
To effectively test high availability and disaster recovery strategies, it is essential to simulate real-world failure scenarios. This includes testing manual failovers, ensuring that backups can be restored to a new instance in a different region, and simulating regional outages. These actions validate that the setup meets the organization's reliability and recovery objectives.
- A. Correct.
Simulating a failover with a manual failover is a valid method to test high availability. This ensures that the failover process works as expected.
- B. Correct.
Testing a backup restore to a new instance in a different region validates the disaster recovery strategy, ensuring that backups can be used to recover data in case of a catastrophic failure.
- C. Incorrect.
While high CPU workloads can test performance, they are not directly relevant for testing failover or disaster recovery strategies.
- D. Incorrect.
Read replicas are not intended to become writable during failover. This is not a valid strategy for testing high availability or disaster recovery.
- E. Correct.
Simulating a regional outage is a critical test to ensure that the failover replica can handle the workload when the primary region is unavailable.