Which Vertex AI Pipeline components for custom text sentiment analysis?

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 model to an endpoint after it has been trained. You will use Vertex AI Pipelines to run the pipeline. You need to decide which Google Cloud pipeline components to use. What components should you choose?

  1. TabularDatasetCreateOp, CustomTrainingJobOp, and EndpointCreateOp
  2. TextDatasetCreateOp, AutoMLTextTrainingOp, and EndpointCreateOp
  3. TabularDatasetCreateOp. AutoMLTextTrainingOp, and ModelDeployOp
  4. TextDatasetCreateOp, CustomTrainingJobOp, and ModelDeployOp Source Reference Answer

Community Votes

D
100%

100% of anonymous learners picked answer D. Votes are pick records left by other test-takers — they are not the verified answer.

Community Insight

The question tests the ability to select specific pipeline components based on data type (text vs. tabular) and training requirements (custom control vs. AutoML automation).

To build a sentiment analysis pipeline requiring specific hyperparameter control, use TextDatasetCreateOp for data preparation, CustomTrainingJobOp for controlled training, and ModelDeployOp for deployment. The community confirms Option D is the correct choice.

Choosing AutoML components (Options B or C) because they handle text well, but failing to recognize that AutoML does not allow manual control over model parameters.

Community Discussion (6 comments)

VinaoSilva 👍 2 Selected: D
"Text dataset -> TextDatasetCreateOp Control over parameters -> CustomTrainingJobOp"
fitri001 👍 2 Selected: D
TextDatasetCreateOp: This component is specifically designed to handle text-based data like product reviews. It reads and prepares the text data for training the model. CustomTrainingJobOp: Since you want control over hyperparameter tuning, a custom training job is the most suitable option. This component allows you to define your training script using a framework like TensorFlow and configure hyperparameters for optimization. ModelDeployOp: After training, this component uploads the trained model to the Vertex AI Model Registry and deploys it to a Vertex AI Endpoint for serving predictions.
pinimichele01 👍 1 Selected: D
D fits perfect
vaibavi 👍 1 Selected: D
D AutoML uses a predefined set of hyperparameter values for each algorithm used in model training. We can not have a control over hyperparameter
b1a8fae 👍 2 Selected: D
Text dataset -> TextDatasetCreateOp Control over parameters -> CustomTrainingJobOp
pikachu007 👍 1 Selected: D
TextDatasetCreateOp: This component is specifically designed to create datasets from text-based data, essential for handling product reviews. CustomTrainingJobOp: This component provides full control over the training process, allowing you to specify model architecture, hyperparameter tuning strategies, and other training parameters, aligning with the requirement for control over model tuning. ModelDeployOp: This component streamlines model deployment to a Vertex AI endpoint for real-time or batch inference, enabling the trained model to serve predictions.

Comments & Corrections

No comments yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Submitted for moderation before publishing. Keep it helpful and respectful.

Expert Analysis

Why the Answer Is Correct

Option D is correct because it addresses all requirements: TextDatasetCreateOp handles the text-based reviews, CustomTrainingJobOp provides the necessary control over model parameters and tuning, and ModelDeployOp handles the deployment to an endpoint.

Why the Other Options Are Wrong

Options A and C use TabularDatasetCreateOp, which is incorrect for text data. Options B and C use AutoMLTextTrainingOp, which automates tuning and does not give the user the specific control over parameters requested in the prompt.

Community Comment Notes

Comments highlight that AutoML uses predefined hyperparameter values, negating the user's requirement for control. Comment [2] and [5] provide detailed explanations of why TextDatasetCreateOp and CustomTrainingJobOp are the specific components needed for this scenario.

Official Reference

Exam Strategy

When selecting pipeline components, first filter by data type (e.g., Text vs. Tabular) to eliminate incorrect dataset components, then filter by the level of control (Custom vs. AutoML) to eliminate incorrect training components.

Related Analysis

Practice All PMLE Questions

Access 65 questions with complete answers and detailed explanations.

View Full PMLE Practice Test →

← Back to PMLE Study Guide