ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 89 - Professional Cloud Database Engineer discussion

Report
Export

You use Python scripts to generate weekly SQL reports to assess the state of your databases and determine whether you need to reorganize tables or run statistics. You want to automate this report but need to minimize operational costs and overhead. What should you do?

A.
Create a VM in Compute Engine, and run a cron job.
Answers
A.
Create a VM in Compute Engine, and run a cron job.
B.
Create a Cloud Composer instance, and create a directed acyclic graph (DAG).
Answers
B.
Create a Cloud Composer instance, and create a directed acyclic graph (DAG).
C.
Create a Cloud Function, and call the Cloud Function using Cloud Scheduler.
Answers
C.
Create a Cloud Function, and call the Cloud Function using Cloud Scheduler.
D.
Create a Cloud Function, and call the Cloud Function from a Cloud Tasks queue.
Answers
D.
Create a Cloud Function, and call the Cloud Function from a Cloud Tasks queue.
Suggested answer: C

Explanation:

Cloud Scheduler triggers actions at regular fixed intervals, whereas Cloud Tasks triggers actions based on how the individual task object is configured.

Reference: https://cloud.google.com/tasks/docs/comp-tasks-sched

asked 18/09/2024
Mateusz Zielinski
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first