nerdexam
Google

PROFESSIONAL-CLOUD-DATABASE-ENGINEER · Question #29

You are managing a Cloud SQL for MySQL environment in Google Cloud. You have deployed a primary instance in Zone A and a read replica instance in Zone B, both in the same region. You are notified…

The correct answer is C. Verify that the new replica is created automatically. Cloud SQL for MySQL automatically manages read replica availability. When a read replica experiences a brief outage (such as a zone-level disruption), Cloud SQL will automatically restart and recover the replica without manual intervention. After the 10-minute outage, the…

Operating a Cloud Database Environment

Question

You are managing a Cloud SQL for MySQL environment in Google Cloud. You have deployed a primary instance in Zone A and a read replica instance in Zone B, both in the same region. You are notified that the replica instance in Zone B was unavailable for 10 minutes. You need to ensure that the read replica instance is still working. What should you do?

Options

  • AUse the Google Cloud Console or gcloud CLI to manually create a new clone database.
  • BUse the Google Cloud Console or gcloud CLI to manually create a new failover replica from
  • CVerify that the new replica is created automatically.
  • DStart the original primary instance and resume replication.

How the community answered

(37 responses)
  • A
    5% (2)
  • C
    92% (34)
  • D
    3% (1)

Explanation

Cloud SQL for MySQL automatically manages read replica availability. When a read replica experiences a brief outage (such as a zone-level disruption), Cloud SQL will automatically restart and recover the replica without manual intervention. After the 10-minute outage, the replica should self-heal. The correct action is simply to verify that the replica has automatically recovered and is replicating correctly. Option A (manually creating a new clone) is unnecessary and introduces unnecessary overhead. Option B (manually creating a new failover replica) is also unnecessary - failover replicas serve a different purpose (automatic failover for the primary) and manual creation is not needed here. Option D (starting the primary instance) is irrelevant since the primary in Zone A was not affected.

Topics

#Cloud SQL#Read Replicas#Automatic Recovery#Managed Databases

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-DATABASE-ENGINEER Practice