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

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

You finished migrating an on-premises MySQL database to Cloud SQL. You want to ensure that the daily export of a table, which was previously a cron job running on the database server, continues. You want the solution to minimize cost and operations overhead. What should you do?

  • A. Use Cloud Scheduler and Cloud Functions to run the daily export.
  • B. Create a streaming Datatlow job to export the table.
  • C. Set up Cloud Composer, and create a task to export the table daily.
  • D. Run the cron job on a Compute Engine instance to continue the export.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
chelbsik
Highly Voted 1 year, 4 months ago
Selected Answer: A
A is Google recommended couple
upvoted 10 times
...
DPonly
Most Recent 8 months ago
Selected Answer: A
https://cloud.google.com/blog/topics/developers-practitioners/scheduling-cloud-sql-exports-using-cloud-functions-and-cloud-scheduler
upvoted 1 times
...
dynamic_dba
1 year, 1 month ago
A. Minimize cost and operational overhead eliminates D. Cloud Composer is a workflow orchestration service for managing workflow pipelines that span across clouds and on premises data centers. Eliminate C. Dataflow processes data. Eliminate B. A is the best answer. https://cloud.google.com/blog/topics/developers-practitioners/scheduling-cloud-sql-exports-using-cloud-functions-and-cloud-scheduler
upvoted 3 times
...
zanhsieh
1 year, 2 months ago
Selected Answer: C
C A: Cloud Scheduler and Cloud Functions can't run on the on-premises MySQL database. B: Dataflow is mostly good for real time job. Again, need special tweaking to access the on-premises DB. C: Best answer. Composer deals with various kinds of inputs. Also handle retry / HA for free. D: Run cron job on a GCE instance then we have to maintain GCE instance stability.
upvoted 1 times
...
orbo
1 year, 3 months ago
Selected Answer: B
The correct answer is "Create a streaming Datatlow job to export the table" because it is the most cost-effective and efficient solution. A streaming Datatlow job will allow you to export the table in real time, without having to manually run a cron job. This will save you time and money, and it will also ensure that the data is always up to date.
upvoted 1 times
...
pk349
1 year, 4 months ago
Please ignore last two submits: A: Use Cloud Scheduler *** and Cloud Functions to run the daily export.
upvoted 3 times
...
pk349
1 year, 4 months ago
A: Use Database Migration Service
upvoted 2 times
...
pk349
1 year, 4 months ago
AUse Database Migration Service *** to connect to your on-premises database, and choose continuous replication. After the on-premises database is migrated, promote the Cloud SQL for MySQL instance, and connect applications to your Cloud SQL instance. The mysqldump client utility performs logical backups, producing a set of SQL statements that can be executed to reproduce the original database object definitions and table data. It dumps one or more MySQL databases for backup or transfer to another SQL server. The mysqldump command can also generate output in CSV, other delimited text, or XML format.
upvoted 1 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