Google Sample Question 27 of 27

You need to create a SQL pipeline. The pipeline runs an aggregate SQL transformation on a BigQuery table every two hours and appends the result to another existing BigQuery table. You need to configure the pipeline to retry if errors occur. You want the pipeline to send an email notification after three consecutive failures. What should you do?

Source: Google Cloud OFFICIAL

Official sample question published by Google Cloud. WiseOwlLearns is not affiliated with Google LLC.

All explanations and Option Analyzer™ content are generated by WiseOwlLearns and are not endorsed by Google Cloud.

A Create a BigQuery scheduled query to run the SQL transformation with schedule options that repeats every two hours, and enable email notifications.
B Use the BigQueryUpsertTableOperator in Cloud Composer, set the retry parameter to three, and set the email_on_failure parameter to true.
C Create a BigQuery scheduled query to run the SQL transformation with schedule options that repeats every two hours, and enable notification to Pub/Sub topic. Use Pub/Sub and Cloud Run functions to send an email after three failed executions.
D Use the BigQueryInsertJobOperator in Cloud Composer, set the retry parameter to three, and set the email_on_failure parameter to true. ✓ Correct
🦉 Explanation by WiseOwl Tutor™ — not endorsed by Google

A is not correct because BigQuery scheduled query does not have retry options. B is not correct because BigQueryUpsertTableOperator is used to create/update table properties and not to run SQL transformation. C is not correct because BigQuery scheduled query does not have retry options even though custom notification logic can be built as a Cloud Run function. D is correct because the BigQueryInsertJobOperator operator can run sql transformation queries on a BigQuery table and append the results to another BigQuery table. With retry=3 and email_on_failure=True, the operator retries 3 times and then sends email notification if all the 3 retries are exhausted

Ready to practice?

These 27 official sample questions are free to practice on WiseOwlLearns — no account required. Get real-time tutoring from WiseOwl Tutor™ and step-by-step elimination reasoning from Option Analyzer™.