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 20 discussion

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

Your customer is running a MySQL database on-premises with read replicas. The nightly incremental backups are expensive and add maintenance overhead. You want to follow Google-recommended practices to migrate the database to Google Cloud, and you need to ensure minimal downtime. What should you do?

  • A. Create a Google Kubernetes Engine (GKE) cluster, install MySQL on the cluster, and then import the dump file.
  • B. Use the mysqldump utility to take a backup of the existing on-premises database, and then import it into Cloud SQL.
  • C. Create a Compute Engine VM, install MySQL on the VM, and then import the dump file.
  • D. Create an external replica, and use Cloud SQL to synchronize the data to the replica.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
dynamic_dba
Highly Voted 1 year, 7 months ago
D. The question says backups and maintenance are an issue, so moving to a managed service (Cloud SQL) would be the right thing to do. That eliminates C and A. Option B could (depending upon the DB size) require a lot of downtime to export, copy the dump file to Cloud Storage, then import into Cloud SQL. Therefore, the least amount of downtime would be D. https://cloud.google.com/sql/docs/mysql/replication/configure-replication-from-external
upvoted 8 times
...
RaphaelG
Most Recent 9 months, 2 weeks ago
The only issue that I have with the D answer is that an external replica is an explicit Cloud SQL concept not a MySQL concept; external replica is when you have a primary instance already in Cloud SQL, however, if you have your MySQL on premises then you are dealing with replication from an external server. I have read documentation for CloudSQL for MySQL before and I am more convinced with B to be frank
upvoted 4 times
...
kkjw
1 year, 1 month ago
External replica is a setup with primary on cloud an the replica external to the cloud .eg.e on prem.. which is the reverse of what the question is looking for
upvoted 2 times
ArtistS
10 months, 3 weeks ago
Yep, D sounds wired, the question said it should import from the on-premise. So my opinion is B
upvoted 1 times
...
...
KennyHuang
1 year, 5 months ago
Selected Answer: D
This approach provides a seamless migration process with minimal impact on the application's availability.
upvoted 2 times
...
BenMS
1 year, 7 months ago
Selected Answer: D
Another good explanation from dynamic_dba.
upvoted 2 times
...
EueChan
1 year, 7 months ago
Selected Answer: D
I agree with D
upvoted 2 times
...
H_S
1 year, 8 months ago
Selected Answer: D
D is the better option
upvoted 3 times
...
Nirca
1 year, 8 months ago
Selected Answer: D
minimal downtime!!! And the customer has read replicas + backups are expensive. D is the better option
upvoted 4 times
...
PrtkKA
1 year, 8 months ago
Selected Answer: D
D : External read replica will help achive minimal down time.
upvoted 2 times
...
SidsA
1 year, 8 months ago
Correct answer is D: Create cloudsql replica of on-prem server and promote with almost-no downtime by pointing app to cloudsql. mysqldump is heavy and time-consuming operation (even though if you run it on on-prem read-replica, it will be identical to migrating to cloudsql using managed database migration service.
upvoted 4 times
...
SandyZA
1 year, 10 months ago
D create a read replica on cloud then promote it
upvoted 3 times
...
GCP72
1 year, 10 months ago
Selected Answer: B
B is correct answer
upvoted 2 times
...
range9005
1 year, 10 months ago
Selected Answer: B
https://cloud.google.com/database-migration/docs/mysql/mysql-dump
upvoted 3 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