exam questions

Exam Professional Machine Learning Engineer All Questions

View all questions & answers for the Professional Machine Learning Engineer exam

Exam Professional Machine Learning Engineer topic 1 question 38 discussion

Actual exam question from Google's Professional Machine Learning Engineer
Question #: 38
Topic #: 1
[All Professional Machine Learning Engineer Questions]

You have trained a text classification model in TensorFlow using AI Platform. You want to use the trained model for batch predictions on text data stored in
BigQuery while minimizing computational overhead. What should you do?

  • A. Export the model to BigQuery ML.
  • B. Deploy and version the model on AI Platform.
  • C. Use Dataflow with the SavedModel to read the data from BigQuery.
  • D. Submit a batch prediction job on AI Platform that points to the model location in Cloud Storage.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
maartenalexander
Highly Voted 3 years, 10 months ago
A. You would want to minimize computational overhead–BigQuery minimizes such overhead
upvoted 21 times
q4exam
3 years, 6 months ago
BQML doesnt support NLP model
upvoted 3 times
ms_lemon
3 years, 6 months ago
you can import a TF model in BQ ML
upvoted 11 times
gcp2021go
3 years, 5 months ago
agree. https://cloud.google.com/bigquery-ml/docs/making-predictions-with-imported-tensorflow-models
upvoted 5 times
...
...
harithacML
1 year, 9 months ago
No need . This is a text classification problem. need to convert words to numbers and use a classifier.
upvoted 3 times
...
...
...
chohan
Highly Voted 3 years, 10 months ago
I think it's A https://cloud.google.com/bigquery-ml/docs/making-predictions-with-imported-tensorflow-models#importing_models
upvoted 11 times
...
bc3f222
Most Recent 1 month ago
Selected Answer: A
BQML can rum imported TF models
upvoted 1 times
...
Sivaram06
3 months, 1 week ago
Selected Answer: D
Not option A because BigQuery ML can be useful for certain tasks, it might not be the most efficient for batch predictions with a custom TensorFlow model trained on AI Platform.
upvoted 1 times
...
desertlotus1211
3 months, 3 weeks ago
Selected Answer: D
A is incorrect: BigQuery ML is used to train and deploy models directly within BigQuery, but it does not support importing and deploying external TensorFlow models. You cannot export a TensorFlow model directly to BigQuery ML; AI Platform is the correct service for TensorFlow-based models.
upvoted 1 times
desertlotus1211
3 months, 3 weeks ago
However BQ ML requires storing to Cloud Storage first. the question doesn't state this (should we assume?), which make Answer D better as it state cloud storage.
upvoted 1 times
...
...
PhilipKoku
10 months, 2 weeks ago
Selected Answer: A
A) BigQuery ML
upvoted 1 times
...
girgu
10 months, 3 weeks ago
Selected Answer: D
Use the gcloud command to submit a batch prediction job, specifying the model location in Cloud Storage and the BigQuery table as the input source.
upvoted 1 times
Jason_Cloud_at
7 months, 3 weeks ago
in the option D, it just mentioned GCS , BQ is no where to be found
upvoted 2 times
...
...
Aastha_Vashist
1 year, 1 month ago
Selected Answer: A
Bquery to minimize computational overhead
upvoted 2 times
...
MrTracer
1 year, 3 months ago
Selected Answer: D
Would go with D
upvoted 1 times
...
Sum_Sum
1 year, 5 months ago
Selected Answer: A
A - you can import TF models to BQ
upvoted 2 times
...
harithacML
1 year, 9 months ago
Selected Answer: A
Model : AI Platform. pred batch data : BigQuery constraint : computational overhead Same platform as data == less computation required to load and pass it to model
upvoted 2 times
...
Liting
1 year, 9 months ago
Selected Answer: A
minimize computational overhead–>BigQuery
upvoted 2 times
...
Voyager2
1 year, 10 months ago
Not sure if when you have the saved model in Cloud storage that means that you don't use compute in vertex. I think that the option compute-free is bigquery
upvoted 1 times
...
Voyager2
1 year, 10 months ago
Not sure Text Classification Using BigQuery ML and ML.NGRAMS https://medium.com/@jeffrey.james/text-classification-using-bigquery-ml-and-ml-ngrams-6e365f0b5505
upvoted 1 times
...
rexduo
1 year, 11 months ago
Selected Answer: A
I think D have extra compute on extrating data frm BQ
upvoted 2 times
...
Darshan12
1 year, 11 months ago
There are some drawbacks to option D. Cost: Submitting a batch prediction job on AI Platform is a paid service. The cost will depend on the size of the model and the amount of data that you are predicting. Complexity: Submitting a batch prediction job on AI Platform requires you to write some code. This can be a challenge if you are not familiar with AI Platform. Performance: Submitting a batch prediction job on AI Platform may not be as efficient as using BigQuery ML. This is because AI Platform needs to load the model into memory before it can run the predictions. Overall, option D is a viable option, but it may not be the best option for all situations.
upvoted 2 times
...
M25
1 year, 11 months ago
Selected Answer: D
Went with D
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago