nerdexam
GoogleGoogle

PROFESSIONAL-CLOUD-DATABASE-ENGINEER · Question #55

PROFESSIONAL-CLOUD-DATABASE-ENGINEER Question #55: Real Exam Question with Answer & Explanation

The correct answer is C: Create a Cloud Function, and call the Cloud Function using Cloud Scheduler.. Cloud Scheduler triggers actions at regular fixed intervals, whereas Cloud Tasks triggers actions based on how the individual task object is configured. https://cloud.google.com/tasks/docs/comp-tasks-sched

Managing Database Operations

Question

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?

Options

  • ACreate a VM in Compute Engine, and run a cron job.
  • BCreate a Cloud Composer instance, and create a directed acyclic graph (DAG).
  • CCreate a Cloud Function, and call the Cloud Function using Cloud Scheduler.
  • DCreate a Cloud Function, and call the Cloud Function from a Cloud Tasks queue.

Explanation

Cloud Scheduler triggers actions at regular fixed intervals, whereas Cloud Tasks triggers actions based on how the individual task object is configured. https://cloud.google.com/tasks/docs/comp-tasks-sched

Topics

#Serverless Computing#Scheduled Automation#Cloud Functions#Cloud Scheduler

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-DATABASE-ENGINEER PracticeBrowse All PROFESSIONAL-CLOUD-DATABASE-ENGINEER Questions