exam questions

Exam Professional Cloud Database Engineer All Questions

View all questions & answers for the Professional Cloud Database Engineer exam

Exam Professional Cloud Database Engineer topic 1 question 48 discussion

Actual exam question from Google's Professional Cloud Database Engineer
Question #: 48
Topic #: 1
[All Professional Cloud Database Engineer Questions]

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?

  • A. Use the Google Cloud Console or gcloud CLI to manually create a new clone database.
  • B. Use the Google Cloud Console or gcloud CLI to manually create a new failover replica from backup.
  • C. Verify that the new replica is created automatically.
  • D. Start the original primary instance and resume replication.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
dija123
5 months, 1 week ago
Selected Answer: C
Agree with C
upvoted 1 times
...
DevBugger
7 months ago
Selected Answer: C
For MySQL, this should be C
upvoted 1 times
...
PKookNN
9 months ago
Selected Answer: C
For MySQL, this should be C
upvoted 1 times
...
kyou1313
9 months ago
Selected Answer: C
When a Cloud SQL read replica becomes unavailable, Cloud SQL automatically tries to create a new replica to replace the failed one. This process is part of the automated failover mechanism in Cloud SQL. B. Manually creating a new failover replica from backup might involve additional steps and may not be necessary for a temporary unavailability of the read replica.
upvoted 2 times
...
whoosh
10 months, 1 week ago
Selected Answer: C
"During a zonal outage, traffic stops to read replicas in that zone. After the zone becomes available again, any read replicas in the zone resume replication from the primary instance." https://cloud.google.com/sql/docs/mysql/high-availability#read_replicas
upvoted 1 times
...
kfiryo
11 months, 1 week ago
C is the correct answer. "During a zonal outage, traffic stops to read replicas in that zone. After the zone becomes available again, any read replicas in the zone resume replication from the primary instance." https://cloud.google.com/sql/docs/mysql/high-availability#read_replicas
upvoted 1 times
ArtistS
10 months, 2 weeks ago
I think is D, if sth wrong it didn;t creat automatically. So B is correct
upvoted 1 times
ArtistS
10 months, 2 weeks ago
srr it is B, I type it by mistake
upvoted 1 times
...
...
...
learnazureportal
1 year, 1 month ago
B is correct answer. Creating a new failover replica from a backup is a reliable way to restore replication and ensure that the read replica is up-to-date.
upvoted 1 times
...
[Removed]
1 year, 3 months ago
Selected Answer: B
B is correct
upvoted 1 times
...
Sandipcst
1 year, 4 months ago
C Recovery Process: Once Zone-B becomes available again, Cloud SQL will initiate the recovery process for the impacted read replica. The recovery process involves the following steps: 1. Synchronization: Cloud SQL will compare the data in the recovered read replica with the primary instance in Zone-A. If there is any data divergence due to the unavailability period, Cloud SQL will synchronize the read replica with the primary instance to ensure data consistency. 2. Catch-up Replication: The recovered read replica will start catching up on the changes that occurred on the primary instance during its unavailability. It will apply the necessary updates from the primary instance's binary logs (binlogs) to bring the replica up to date. 3. Resuming Read Traffic: Once the synchronization and catch-up replication processes are complete, the read replica in Zone-B will resume its normal operation. It will be able to serve read traffic and stay updated with subsequent changes from the primary instance.
upvoted 2 times
...
KennyHuang
1 year, 5 months ago
Selected Answer: C
By verifying that the new replica is created automatically, you can ensure that the read replica instance is functioning and replication is maintained even after the temporary unavailability of the replica in Zone B.
upvoted 2 times
wolfie09
1 year, 4 months ago
A read replica is not recreated automatically.
upvoted 1 times
...
...
Pilot50
1 year, 6 months ago
Selected Answer: D
https://cloud.google.com/sql/docs/mysql/replication#:~:text=If%20replication%20is,a%20new%20one.
upvoted 2 times
...
Pilot50
1 year, 6 months ago
Selected Answer: D
Resume replication
upvoted 1 times
...
marpayer
1 year, 9 months ago
B is wrong, failover replica is NOT a read replica A and C makes no sense
upvoted 2 times
...
sp57
1 year, 10 months ago
How is B correct? You don't create a replica from backup, and there's no mention of HA that would point to "failover" distinction. But don't like other answers either. Will go with B unless enlightened by subsequent contributor,
upvoted 1 times
...
GCP72
1 year, 10 months ago
Selected Answer: B
B is the correct answer
upvoted 3 times
...
chelbsik
1 year, 10 months ago
Selected Answer: B
Vote for B
upvoted 2 times
...
chelbsik
1 year, 10 months ago
C - makes no sense D - nobody said primary instance was offline, plus you can't stop/resture replication on the primary instance, only on read replica A makes no sense: you can't create clone database from read replica, and if it means to create one from the primary instance - how would that help to insure that replica is still working? I'll go for B
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago