Which Vertex AI Pipeline components for custom text sentiment analysis?

PMLE By islever Editorial Last updated

Short answer

D TextDatasetCreateOp, CustomTrainingJobOp, and ModelDeployOp

Question

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 Correct Answer

Key Takeaways

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.

Common mistake: 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.

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.

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.

Discussion 6 contributions

Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.

From public community threads 6

  1. fitri001 👍 2 Answered 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.
  2. VinaoSilva 👍 2 Answered D
    "Text dataset -> TextDatasetCreateOp Control over parameters -> CustomTrainingJobOp"
  3. b1a8fae 👍 2 Answered D
    Text dataset -> TextDatasetCreateOp Control over parameters -> CustomTrainingJobOp
  4. pikachu007 👍 1 Answered 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.
  5. vaibavi 👍 1 Answered 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
Show 1 more comment
  1. pinimichele01 👍 1 Answered D
    D fits perfect

Reader comments & corrections

No reader corrections 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.

Practice All PMLE Questions

Access 65 questions with complete answers and detailed explanations.

View Full PMLE Practice Test →

← Back to PMLE Study Guide