PROFESSIONAL-DATA-ENGINEER · Question #338
PROFESSIONAL-DATA-ENGINEER Question #338: Real Exam Question with Answer & Explanation
Sign in or unlock PROFESSIONAL-DATA-ENGINEER to reveal the answer and full explanation for question #338. The question stem and answer options stay visible for context.
Question
You are deploying an Apache Airflow directed acyclic graph (DAG) in a Cloud Composer 2 instance. You have incoming files in a Cloud Storage bucket that the DAG processes, one file at a time. The Cloud Composer instance is deployed in a subnetwork with no Internet access. Instead of running the DAG based on a schedule, you want to run the DAG in a reactive way every time a new file is received. What should you do?
Options
- A1. Enable Private Google Access in the subnetwork, and set up Cloud Storage notifications to a Pub/Sub topic.
- B1. Enable the Cloud Composer API, and set up Cloud Storage notifications to trigger a Cloud Function.
- C1. Enable the Airflow REST API, and set up Cloud Storage notifications to trigger a Cloud Function instance.
- D1. Enable the Airflow REST API, and set up Cloud Storage notifications to trigger a Cloud Function instance.
Unlock PROFESSIONAL-DATA-ENGINEER to see the answer
You've previewed enough free PROFESSIONAL-DATA-ENGINEER questions. Unlock PROFESSIONAL-DATA-ENGINEER for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.