🔥 40% Off Crucial Exams Memberships — Deal ends today!

1 hour, 54 minutes remaining!

GCP Professional Data Engineer Practice Question

A media company streams thousands of image URIs from on-premises cameras to Pub/Sub. A Dataflow streaming pipeline must add the output of an existing custom TensorFlow model that is already deployed as a Vertex AI online prediction endpoint in us-central1. Business requirements state: (1) each image must be enriched with model predictions within 500 ms even during peaks of 200 images per second, (2) all data and inference traffic must stay on Google's private network without public internet egress, and (3) per-prediction cost must be minimized. Which design for the Dataflow transformation best meets these requirements?

  • Package the TensorFlow SavedModel with the Dataflow worker container and run in-process inference on autoscaled GPU workers, avoiding any calls to Vertex AI.

  • Window incoming events for one minute, write the images to Cloud Storage, launch a Vertex AI batch prediction job, and join the asynchronous results back into the stream.

  • Add a ParDo that sends each image to the public Vertex AI online prediction REST endpoint over the internet from the Dataflow workers.

  • Expose the Vertex AI online prediction endpoint through Private Service Connect, disable public IPs on Dataflow workers, and invoke the private endpoint from a ParDo so the pipeline receives low-latency, in-region predictions that scale with demand.

GCP Professional Data Engineer
Ingesting and processing the data
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot