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.
Question
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)- A12% (3)
- B4% (1)
- C19% (5)
- D65% (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.
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.
Dataflow batch pipelines do not meet the continuous, sub-millisecond prediction requirement, even with model refresh.
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.
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
Community Discussion
No community discussion yet for this question.