nerdexam
Google

PROFESSIONAL-MACHINE-LEARNING-ENGINEER · Question #10

You work with a data engineering team that has developed a pipeline to clean your dataset and save it in a Cloud Storage bucket. You have created an ML model and want to use the data to refresh your m

The correct answer is C. Configure a Cloud Storage trigger to send a message to a Pub/Sub topic when a new file is. The requirement is event-driven: trigger a Kubeflow Pipelines job automatically when a new file appears in Cloud Storage. Option C is correct because Cloud Storage can publish object-creation notifications directly to a Pub/Sub topic; a subscriber (such as a Cloud Function) then

Submitted by takeshi77· Apr 18, 2026ML pipeline operationalization

Question

You work with a data engineering team that has developed a pipeline to clean your dataset and save it in a Cloud Storage bucket. You have created an ML model and want to use the data to refresh your model as soon as new data is available. As part of your CI/CD workflow, you want to automatically run a Kubeflow Pipelines training job on Google Kubernetes Engine (GKE). How should you architect this workflow?

Options

  • AConfigure your pipeline with Dataflow, which saves the files in Cloud Storage.
  • BUse App Engine to create a lightweight python client that continuously polls Cloud Storage for
  • CConfigure a Cloud Storage trigger to send a message to a Pub/Sub topic when a new file is
  • DUse Cloud Scheduler to schedule jobs at a regular interval.

How the community answered

(19 responses)
  • A
    16% (3)
  • B
    5% (1)
  • C
    68% (13)
  • D
    11% (2)

Explanation

The requirement is event-driven: trigger a Kubeflow Pipelines job automatically when a new file appears in Cloud Storage. Option C is correct because Cloud Storage can publish object-creation notifications directly to a Pub/Sub topic; a subscriber (such as a Cloud Function) then receives the message and programmatically submits a Kubeflow Pipelines run on GKE. This is fully event-driven, serverless, and requires no polling. Option A misframes the problem-Dataflow is for data processing, not for triggering training jobs, and does not explain the trigger mechanism. Option B (polling with App Engine) is inefficient, wasteful, and not a CI/CD best practice. Option D (Cloud Scheduler) is time-based and would trigger jobs on a fixed schedule regardless of whether new data exists, which does not satisfy the 'as soon as new data is available' requirement.

Topics

#Cloud Storage triggers#Pub/Sub#Event-driven architecture#MLOps

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-MACHINE-LEARNING-ENGINEER Practice