Google Professional Data Engineer Exam - Topic 1 Question 112 Discussion
A data scientist has created a BigQuery ML model and asks you to create an ML pipeline to serve predictions. You have a REST API application with the requirement to serve predictions for an individual user ID with latency under 100 milliseconds. You use the following query to generate predictions: SELECT predicted_label, user_id FROM ML.PREDICT (MODEL 'dataset.model', table user_features). How should you create the ML pipeline?
D) Create a Cloud Dataflow pipeline using BigQueryIO to read predictions for all users from the query. Write the results to Cloud Bigtable using BigtableIO. Grant the Bigtable Reader role to the application service account so that the application can read predictions for individual users from Cloud Bigtable.
A) Add a WHERE clause to the query, and grant the BigQuery Data Viewer role to the application service account.
B) Create an Authorized View with the provided query. Share the dataset that contains the view with the application service account.
C) Create a Cloud Dataflow pipeline using BigQueryIO to read results from the query. Grant the Dataflow Worker role to the application service account.
Milly
9 months agoKate
9 months agoMalcom
9 months agoFabiola
9 months agoTayna
9 months agoClarinda
10 months agoVerlene
10 months agoKatina
10 months agoJesusa
10 months agoJennifer
10 months agoMelinda
11 months agoGail
11 months agoFrederic
11 months agoPrecious
11 months agoLashaun
11 months agoDenny
12 months agoLeigha
1 year agoAvery
1 year agoAmina
12 months agoShawna
12 months agoCeola
1 year agoMarge
1 year agoDalene
11 months ago