Recovering Training Data via Vertex AI Metadata Lineage

PMLE By islever Editorial Last updated

Short answer

B Use the lineage feature of Vertex AI Metadata to find the model artifact, determine the version, identify the data copy step, and search metadata for its location.

Question

You are investigating the root cause of a misclassification error made by one of your models. You used Vertex AI Pipelines to train and deploy the model. The pipeline reads data from BigQuery. creates a copy of the data in Cloud Storage in TFRecord format, trains the model in Vertex AI Training on that copy, and deploys the model to a Vertex AI endpoint. You have identified the specific version of that model that misclassified, and you need to recover the data this model was trained on. How should you find that copy of the data?
  1. Use Vertex AI Feature Store. Modify the pipeline to use the feature store, and ensure that all training data is stored in it. Search the feature store for the data used for the training.
  2. Use the lineage feature of Vertex AI Metadata to find the model artifact. Determine the version of the model and identify the step that creates the data copy and search in the metadata for its location. Correct Answer
  3. Use the logging features in the Vertex AI endpoint to determine the timestamp of the model’s deployment. Find the pipeline run at that timestamp. Identify the step that creates the data copy, and search in the logs for its location.
  4. Find the job ID in Vertex AI Training corresponding to the training for the model. Search in the logs of that job for the data used for the training.

Key Takeaways

The question tests your understanding of Vertex AI's automated artifact tracking; the key insight is that Metadata provides direct lineage links between models and their input data artifacts, whereas logs and Feature Store do not.

Learn how to recover the specific training data for a misclassified Vertex AI model using the Vertex AI Metadata lineage feature. This guide explains why Metadata is the correct tool over logs or Feature Store.

Common mistake: Many candidates choose Option D (Training Job Logs) because they assume logs contain all operational details. However, logs are unstructured text and do not reliably link specific model versions to specific data file URIs in a searchable way, unlike the structured Metadata lineage.

Expert Analysis

The core challenge in this scenario is reproducibility and traceability. When a model deployed on Vertex AI misclassifies data, you must identify the exact training dataset used for that specific model version. Vertex AI has a built-in system called Vertex AI Metadata (powered by ML Metadata) that automatically tracks the lineage of all artifacts within pipelines.

Option B is correct because Vertex AI Metadata records the relationship between pipeline steps and the resources they create. By using the metadata service, you can query the lineage graph to find the specific pipeline run associated with the misclassified model version. Within that lineage, you can identify the artifact representing the TFRecord data copy created during the 'Create Copy' step. This allows you to retrieve the exact GCS URI of the data used for training without needing to manually search logs or modify existing pipelines.

Option A is incorrect because Vertex AI Feature Store is designed for managing features for online serving, not for archiving raw historical training datasets. Furthermore, modifying the pipeline would not recover data from past runs.

Option C is incorrect because endpoint logs capture inference requests and deployment details, not the training data paths. Searching logs for file locations is unreliable compared to the structured metadata lineage.

Option D is incorrect because while training job logs might contain some information, they are not the primary mechanism for tracking artifact lineage across pipeline steps. Metadata is the authoritative source for linking models to their input data.

Official Reference

https://cloud.google.com/vertex-ai/docs/ml-metadata/introduction

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

Exam Strategy

When asked about tracking, auditing, or reproducing ML experiments in Google Cloud, always prioritize Vertex AI Metadata for lineage and Vertex AI Experiments for hyperparameter tracking. Do not rely on logs for structural relationships between artifacts. If the question involves 'where did this come from', look for Metadata/Lineage first.

Frequently Asked Questions

Why not use Vertex AI Feature Store to track training data?

Feature Store is optimized for managing features for low-latency online serving, not for archiving raw historical training datasets. It does not automatically track the full lineage of every training run's input data.

Can I find the data path in Vertex AI Training job logs?

While logs might contain snippets of the command executed, they are not a reliable or structured way to trace the exact GCS URI of the data artifact linked to a specific model version. Metadata provides the definitive link.

More PMLE FAQ →

Community Votes

B
66%
C
17%
D
17%

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

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

  1. fitri001 👍 5 Answered B
    Vertex AI Metadata Lineage: This feature tracks the relationships between pipeline components and the artifacts they produce. By identifying the model version's lineage, you can pinpoint the specific pipeline run that generated it. Data Copy Step: Within the pipeline run, locate the step responsible for creating the data copy in TFRecord format for training. Metadata Search: Vertex AI Metadata likely stores information about the data copy's location in Cloud Storage, allowing you to access it.
  2. pikachu007 👍 3 Answered B
    A. Feature Store: While useful for managing features, it might not store complete training datasets, and modifying the pipeline would not help recover historical data. C. Endpoint Logs and Pipeline Run: This approach involves more manual searching and might be less precise for identifying the exact data copy. D. Training Job Logs: Training job logs might not reliably contain complete data paths or might be purged after a certain period.
  3. shadz10 👍 2 Answered B
    https://cloud.google.com/vertex-ai/docs/ml-metadata/introduction
  4. taylz876 👍 1 Answered D
    Why D is right The model does well overall, but certain holdout images are consistently misclassified with high confidence. That pattern usually points to a data problem, such as mislabeled training examples or training images that look very similar but carry different labels. Example-based explanations answer the question "which training examples is this image most similar to, and what were they labeled?" You give the model's embedding layer (its latent space representation), and for each misclassified image the explanation returns the nearest training examples. You can then check whether those examples are mislabeled or confusing. Why the others are wrong • A and C: These are feature-based explanations (Integrated Gradients and XRAI), which highlight the pixels or regions that influenced a prediction. They help you see what the model looked at, but they don't show why the model is confidently wrong in the same way across images. The visualization settings (PIXELS, clip_percent_upperbound, OUTLINES, polarity) are distractor details. • B: Building your own index with Matching Engine (now called Vector Search) and querying it is manual work. You would need to create the embeddings and the index yourself. Example-based explanations do this for you inside Explainable AI.
  5. taylz876 👍 1 Answered C
    Why C is right Each requirement in the question maps to one service: • Find the data across multiple Google Cloud projects: Dataplex is the discovery and governance layer that catalogs and searches data across projects. Dataplex is now called Knowledge Catalog (Data Catalog → Dataplex → Universal Catalog → Knowledge Catalog). • Track and compare the performance of different model versions: Vertex AI Experiments (now Agent Platform Experiments) logs the parameters and metrics of each run and compares them side by side. • A shared record behind the tracking: Vertex AI ML Metadata (now Agent Platform ML Metadata) stores the runs, datasets and models and how they connect, so everything is traceable. Why the others are wrong • A: Feature Store holds and serves features, and TensorBoard draws training curves. Neither compares versions of models. • B and D: Pipelines orchestrates workflows, and neither includes anything that finds data across projects. B also uses Feature Store, which isn't for tracking models.
Show 2 more comments
  1. fitri001 👍 1
    A. Feature Store: Feature Store is designed for managing feature engineering and serving preprocessed features, not necessarily raw training data. While it could be a good practice for future pipelines, it wouldn't help recover historical data. C. Endpoint Logs: Endpoint logs primarily focus on model deployment details and might not provide information about the specific training data used for a particular version. D. Training Job Logs: Training job logs might contain references to the data used, but they might not be as detailed or structured as Vertex AI Metadata lineage, making it harder to pinpoint the exact data copy location.
  2. pinimichele01 👍 1 Answered B
    agree with shadz10 and pikachu007

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