Choosing Vertex AI Pipelines Components for Custom Text Training

PMLE By islever Editorial Last updated

Short answer

D Use TextDatasetCreateOp for the review text, CustomTrainingJobOp for full parameter-tuning control, and ModelDeployOp to deploy the trained model to an endpoint.

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

It tests matching scenario constraints to documented pipeline components; the trap is picking AutoML or a tabular/endpoint component that fails the tuning-control or deployment requirement.

This PMLE question tests Vertex AI Pipelines component selection for a custom-trained text sentiment model. The correct chain is TextDatasetCreateOp, CustomTrainingJobOp, and ModelDeployOp — option D.

Common mistake: Option B is the tempting trap: TextDatasetCreateOp looks right for reviews, but AutoMLTextTrainingOp removes hyperparameter control, and EndpointCreateOp alone does not deploy the trained model.

Expert Analysis

The controlling requirement

This question is decided by mapping each sentence of the scenario to the Vertex AI Pipelines component that implements it. The official pipeline-components documentation defines three separate stages: dataset creation, training, and deployment. The scenario names three constraints in order — text-based reviews, explicit control over parameter tuning, and deployment to an endpoint after training — so the correct chain is the one that satisfies all three simultaneously.

Text data requires a text dataset component

Product reviews are raw text, not tabular features. Vertex AI provides a text-specific dataset creation component, so TextDatasetCreateOp is the only fitting opener. That eliminates option A and option C, both of which start with TabularDatasetCreateOp and would be wrong even though tabular datasets can sometimes hold numeric columns extracted from text.

Control over tuning rules out AutoML

The requirement of control over how model parameters are tuned is the decisive discriminator between the two remaining choices. AutoML text training selects the algorithm and tunes hyperparameters automatically from a predefined search space, giving you no such control. CustomTrainingJobOp runs your own training script, letting you specify the framework, model architecture, and every hyperparameter — this is the component for governed tuning. That kills option B, whose AutoMLTextTrainingOp conflicts directly with the stated need.

Deployment is a separate component

Vertex AI Pipelines distinguishes creating an endpoint from deploying a trained model to it. ModelDeployOp uploads/attaches the trained model to a deployed endpoint resource, which is exactly "deploy the model to an endpoint after it has been trained." Options A and B use EndpointCreateOp, which only provisions the endpoint and does not complete the deployment of the trained model — a comment notes that creating an endpoint still requires a model deployment step.

Therefore the correct chain is option D: TextDatasetCreateOp → CustomTrainingJobOp → ModelDeployOp. Community reasoning agrees on D, and it matches the documented component semantics independently of that agreement.

Official Reference

https://cloud.google.com/vertex-ai/docs/pipelines/create-pipeline-template

This link opens the official vendor documentation in a new tab.

Exam Strategy

Read each sentence of the scenario as a requirement label and pair it with exactly one component before reading the options. Kill any option whose component contradicts a stated constraint — AutoML signals loss of tuning control, and tabular components contradict raw-text data. Finally, remember that endpoint creation and model deployment are two distinct steps, so a chain ending in endpoint creation alone rarely completes the described workflow.

Frequently Asked Questions

Why can't I use AutoMLTextTrainingOp for a text sentiment model?

AutoML selects the algorithm and tunes hyperparameters automatically within a predefined space, so it does not give you explicit control over how model parameters are tuned — which the scenario requires.

What is the difference between EndpointCreateOp and ModelDeployOp?

EndpointCreateOp provisions an empty endpoint resource, while ModelDeployOp attaches and deploys a trained model to an endpoint so it can serve predictions.

Why use TextDatasetCreateOp instead of TabularDatasetCreateOp?

Product reviews are raw text, and TextDatasetCreateOp creates a text-type dataset for unstructured text with annotations, whereas TabularDatasetCreateOp is for structured rows and columns.

More PMLE FAQ →

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 8 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 8

  1. fitri001 👍 3 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. fitri001 👍 3
    why not others? A. TabularDatasetCreateOp and EndpointCreateOp: TabularDatasetCreateOp is designed for tabular data, not raw text. EndpointCreateOp creates an endpoint, but you need a model upload step before deployment (handled by ModelDeployOp). B. AutoMLTextTrainingOp: While AutoML offers convenience, it removes control over hyperparameter tuning, which you require. C. TabularDatasetCreateOp and AutoMLTextTrainingOp: Similar to option A, TabularDatasetCreateOp is not ideal for text data, and AutoML removes hyperparameter control.
  3. b1a8fae 👍 3 Answered D
    Text dataset -> TextDatasetCreateOp Control over parameters -> CustomTrainingJobOp
  4. vaibavi 👍 2 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
  5. VinaoSilva 👍 2 Answered D
    "Text dataset -> TextDatasetCreateOp Control over parameters -> CustomTrainingJobOp"
Show 3 more comments
  1. 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.
  2. taylz876 👍 1 Answered D
    Why D is right Each part of the question maps to one component: • Text-based product reviews: a text dataset, so TextDatasetCreateOp. • Control over how the model parameters are tuned: AutoML picks and tunes the model for you, so you need custom training, which is CustomTrainingJobOp. • Deploy the model to an endpoint after training: ModelDeployOp deploys the trained model to an endpoint. This runs on Agent Platform Pipelines (formerly Vertex AI Pipelines).
  3. 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