PROFESSIONAL-MACHINE-LEARNING-ENGINEER · Question #230
PROFESSIONAL-MACHINE-LEARNING-ENGINEER Question #230: Real Exam Question with Answer & Explanation
Sign in or unlock PROFESSIONAL-MACHINE-LEARNING-ENGINEER to reveal the answer and full explanation for question #230. The question stem and answer options stay visible for context.
Question
Your company manages an ecommerce website. You developed an ML model that recommends additional products to users in near real time based on items currently in the user's cart. The workflow will include the following processes: 1. The website will send a Pub/Sub message with the relevant data and then receive a message with the prediction from Pub/Sub 2. Predictions will be stored in BigQuery 3. The model will be stored in a Cloud Storage bucket and will be updated frequently You want to minimize prediction latency and the effort required to update the model. How should you reconfigure the architecture?
Options
- AWrite a Cloud Function that loads the model into memory for prediction. Configure the function to
- BCreate a pipeline in Vertex AI Pipelines that performs preprocessing, prediction, and
- CExpose the model as a Vertex AI endpoint. Write a custom DoFn in a Dataflow job that calls the
- DUse the RunInference API with WatchFilePattern in a Dataflow job that wraps around the model
Unlock PROFESSIONAL-MACHINE-LEARNING-ENGINEER to see the answer
You've previewed enough free PROFESSIONAL-MACHINE-LEARNING-ENGINEER questions. Unlock PROFESSIONAL-MACHINE-LEARNING-ENGINEER for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.