nerdexam
Google

PROFESSIONAL-MACHINE-LEARNING-ENGINEER · Question #255

Your work for a textile manufacturing company. Your company has hundreds of machines, and each machine has many sensors. Your team used the sensory data to build hundreds of ML models that detect…

The correct answer is D. Deploy a Dataflow streaming pipeline with the Runlnference API, and use automatic model. To cost-effectively deploy hundreds of models for 24/7 sub-millisecond anomaly detection with daily retraining, deploy a Dataflow streaming pipeline using the RunInference API with automatic model refresh.

Submitted by femi9· Apr 18, 2026ML pipeline operationalization

Question

Your work for a textile manufacturing company. Your company has hundreds of machines, and each machine has many sensors. Your team used the sensory data to build hundreds of ML models that detect machine anomalies. Models are retrained daily, and you need to deploy these models in a cost-effective way. The models must operate 24/7 without downtime and make sub millisecond predictions. What should you do?

Options

  • ADeploy a Dataflow batch pipeline and a Vertex AI Prediction endpoint.
  • BDeploy a Dataflow batch pipeline with the Runlnference API, and use model refresh.
  • CDeploy a Dataflow streaming pipeline and a Vertex AI Prediction endpoint with autoscaling.
  • DDeploy a Dataflow streaming pipeline with the Runlnference API, and use automatic model

How the community answered

(26 responses)
  • A
    12% (3)
  • B
    4% (1)
  • C
    19% (5)
  • D
    65% (17)

Why each option

To cost-effectively deploy hundreds of models for 24/7 sub-millisecond anomaly detection with daily retraining, deploy a Dataflow streaming pipeline using the RunInference API with automatic model refresh.

ADeploy a Dataflow batch pipeline and a Vertex AI Prediction endpoint.

Dataflow batch pipelines are not suitable for real-time, sub-millisecond predictions, and while Vertex AI Prediction endpoints offer low latency, coupling them with batch processing won't meet the streaming requirement.

BDeploy a Dataflow batch pipeline with the Runlnference API, and use model refresh.

Dataflow batch pipelines do not meet the continuous, sub-millisecond prediction requirement, even with model refresh.

CDeploy a Dataflow streaming pipeline and a Vertex AI Prediction endpoint with autoscaling.

While a Dataflow streaming pipeline and Vertex AI Prediction endpoint with autoscaling can provide real-time predictions, directly integrating models via the RunInference API within Dataflow is often more cost-effective and simpler for large-scale, embedded model use cases with dynamic model updates than managing hundreds of separate Vertex AI endpoints.

DDeploy a Dataflow streaming pipeline with the Runlnference API, and use automatic modelCorrect

A Dataflow streaming pipeline with the RunInference API is ideal for continuous, real-time processing of sensor data and sub-millisecond predictions, handling hundreds of models efficiently. Automatic model refresh ensures models are updated daily without downtime, directly addressing the requirements for 24/7 operation, cost-effectiveness, and responsiveness.

Concept tested: Dataflow streaming with RunInference for real-time serving and model refresh

Source: https://cloud.google.com/dataflow/docs/guides/runinference/overview

Topics

#Real-time inference#Model deployment#MLOps pipelines#Streaming data processing

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-MACHINE-LEARNING-ENGINEER Practice