PROFESSIONAL-MACHINE-LEARNING-ENGINEER · Question #227
You are creating a model training pipeline to predict sentiment scores from text-based product reviews. You want to have control over how the model parameters are tuned, and you will deploy the…
The correct answer is D. TextDatasetCreateOp, CustomTrainingJobOp, and ModelDeployOp. To train a sentiment analysis model from text, control parameter tuning, and deploy it using Vertex AI Pipelines, the correct components are TextDatasetCreateOp, CustomTrainingJobOp, and ModelDeployOp.
Question
Options
- ATabularDatasetCreateOp, CustomTrainingJobOp, and EndpointCreateOp
- BTextDatasetCreateOp, AutoMLTextTrainingOp, and EndpointCreateOp
- CTabularDatasetCreateOp. AutoMLTextTrainingOp, and ModelDeployOp
- DTextDatasetCreateOp, CustomTrainingJobOp, and ModelDeployOp
How the community answered
(30 responses)- A3% (1)
- B10% (3)
- C3% (1)
- D83% (25)
Why each option
To train a sentiment analysis model from text, control parameter tuning, and deploy it using Vertex AI Pipelines, the correct components are `TextDatasetCreateOp`, `CustomTrainingJobOp`, and `ModelDeployOp`.
`TabularDatasetCreateOp` is for tabular data, not text reviews.
`AutoMLTextTrainingOp` uses Vertex AI AutoML, which abstracts away parameter tuning, directly contradicting the requirement to control model parameters.
`TabularDatasetCreateOp` is for tabular data, not text reviews, and `AutoMLTextTrainingOp` removes control over parameter tuning.
`TextDatasetCreateOp` prepares a dataset for text data in Vertex AI, `CustomTrainingJobOp` allows full control over model training including hyperparameter tuning, and `ModelDeployOp` deploys the trained model to a Vertex AI Endpoint, matching all requirements.
Concept tested: Vertex AI Pipelines components for custom text ML workflows
Source: https://cloud.google.com/vertex-ai/docs/pipelines/build-pipeline#run-a-custom-training-job
Topics
Community Discussion
No community discussion yet for this question.