nerdexam
Google

PROFESSIONAL-MACHINE-LEARNING-ENGINEER · Question #141

You are working on a system log anomaly detection model for a cybersecurity organization. You have developed the model using TensorFlow, and you plan to use it for real-time prediction. You need to…

The correct answer is C. Deploy the model to a Vertex AI endpoint, and invoke this endpoint in the Dataflow job. Using private endpoints to serve online predictions with Vertex AI provides a low-latency, secure connection to the Vertex AI online prediction service. This guide shows how to configure private endpoints on Vertex AI by using VPC Network Peering to peer your network with the…

Submitted by yuriko_h· Apr 18, 2026ML pipeline operationalization

Question

You are working on a system log anomaly detection model for a cybersecurity organization. You have developed the model using TensorFlow, and you plan to use it for real-time prediction. You need to create a Dataflow pipeline to ingest data via Pub/Sub and write the results to BigQuery. You want to minimize the serving latency as much as possible. What should you do?

Options

  • AContainerize the model prediction logic in Cloud Run, which is invoked by Dataflow.
  • BLoad the model directly into the Dataflow job as a dependency, and use it for prediction.
  • CDeploy the model to a Vertex AI endpoint, and invoke this endpoint in the Dataflow job.
  • DDeploy the model in a TFServing container on Google Kubernetes Engine, and invoke it in the

How the community answered

(31 responses)
  • A
    3% (1)
  • B
    13% (4)
  • C
    81% (25)
  • D
    3% (1)

Explanation

Using private endpoints to serve online predictions with Vertex AI provides a low-latency, secure connection to the Vertex AI online prediction service. This guide shows how to configure private endpoints on Vertex AI by using VPC Network Peering to peer your network with the Vertex AI online prediction service. https://cloud.google.com/vertex-ai/docs/predictions/using-private-endpoints

Topics

#Real-time inference#Model serving#Vertex AI Endpoints#Dataflow pipeline

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-MACHINE-LEARNING-ENGINEER Practice