Question 29 of 280
Single answerYou have trained a model on a dataset that required computationally expensive preprocessing operations. You
need to execute the same preprocessing at prediction time. You deployed the model on AI Platform for highthroughput online prediction. Which architecture should you use?
AValidate the accuracy of the model that you trained on preprocessed data. Create a new model that uses the
raw data and is available in real time. Deploy the new model onto AI Platform for online prediction.
✓BSend incoming prediction requests to a Pub/Sub topic. Transform the incoming data using a Dataflow job.
Submit a prediction request to AI Platform using the transformed data. Write the predictions to an outbound
Pub/Sub queue.
CStream incoming prediction request data into Cloud Spanner. Create a view to abstract your preprocessing
logic. Query the view every second for new records. Submit a prediction request to AI Platform using the
transformed data. Write the predictions to an outbound Pub/Sub queue.
DSend incoming prediction requests to a Pub/Sub topic. Set up a Cloud Function that is triggered when
messages are published to the Pub/Sub topic. Implement your preprocessing logic in the Cloud Function.
Submit a prediction request to AI Platform using the transformed data. Write the predictions to an outbound
Pub/Sub queue.
✓
Correct Answer: B
Send incoming prediction requests to a Pub/Sub topic. Transform the incoming data using a Dataflow job. Submit a prediction request to AI Platform using the transformed data. Write the predictions to an outbound Pub/Sub queue.
▥
Explanation
The correct answer is highlighted above. Review the wording carefully, then use the next question to continue building your understanding of Google certification topics.