You are using Compute Engine on Google Cloud and your data center to manage a set of MySQL databases in a hybrid configuration. You need to create replicas to scale reads and to offload part of the management operation. What should you do?
C.
D is nonsense, so can be eliminated. The question tells us we’re already managing BOTH sets of MySQL instances, one on prem and the other in GCE. The question also says an objective is to offload part of the management. That can only mean leverage a managed service. The Data(base) Migration Service is a managed service used to instantiate a new migrated DB in Cloud SQL (or AlloyDB for PostgreSQL but that’s not in scope here). The question isn’t asking about database migration, so we can eliminate B. A could be used to create replicas, but doesn’t help with offloading management operations. That leaves C which does use a managed service which could be leveraged to create replicas.
A is correct - se external server replication -==> This option allows you to set up replication between your on-premises MySQL server (in your data center) and a MySQL server running on GOOGLE CLOUD COMPUTE ENGINE.
By using external server replication, you can set up and manage replication between your on-premises MySQL database and a replica instance in Google Cloud. This enables you to scale reads, offload management operations, and distribute the workload between your data center and Google Cloud, providing the desired benefits in a hybrid configuration.
Agree with B.
- Multi-cloud continuous replication
Much like the read replicas across regions, if data exists in another cloud provider, a migration job can be set up which continuously replicates the database <<into Google Cloud for multi-cloud read-availability>>. Database Migration Service doesn't support a dual-write scenario, that is writing to and reading from both the source and destination.
https://cloud.google.com/database-migration/docs/overview#use_cases
A
A: CORRECT. External server replication meant to serve the case as the question describe: DC -> GSQL.
B: WRONG. DMS intends for one time migration + CDC but does not mean to serve as primary + replica fashion. The replica is not ready to serve the traffic.
C: WRONG. Cloud SQL for MySQL external replica meant to serve the replica is outside of Google cloud, which means GSQL -> GSQL or GSQL -> DC.
D: WRONG. This option is for one time only.
Reference:
https://cloud.google.com/sql/docs/mysql/replication/external-server
https://cloud.google.com/sql/docs/mysql/replication
https://cloud.google.com/database-migration/docs/overview#use_cases
I strongly believe it is A. Since the database is already in your datacenter. So you need to replicate your datacenter database to cloud to offload management. External Server Replication will replicate your database on to cloud sql.
https://cloud.google.com/sql/docs/mysql/replication/external-server
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.
dynamic_dba
Highly Voted 1 year, 8 months agoTNT87
Most Recent 1 month agodunhill
4 months agoPime13
6 months, 3 weeks agoJason_Cloud_at
9 months, 1 week agoBIGQUERY_ALT_ALT
12 months agoewelaz
1 year, 1 month agoKapello10
1 year, 2 months agolearnazureportal
1 year, 2 months agoKennyHuang
1 year, 6 months agoleroygordo
1 year, 8 months agoH_S
1 year, 8 months agoH_S
1 year, 8 months agoNirca
1 year, 8 months agozanhsieh
1 year, 9 months agozanhsieh
1 year, 9 months agoTharun1125438
1 year, 10 months agossaporylo
1 year, 10 months agopk349
1 year, 11 months ago