nerdexam
Google

PROFESSIONAL-MACHINE-LEARNING-ENGINEER · Question #295

You have a custom job that runs on Vertex AI on a weekly basis. The job is implemented using a proprietary ML workflow that produces the datasets, models, and custom artifacts, and sends them to a Clo

The correct answer is A. Use the Vertex AI Metadata API inside the custom job to create context, execution, and artifacts. To track custom job artifacts and model lineage for compliance, use the Vertex AI Metadata API within the custom job to create and link contexts, executions, and artifacts.

Submitted by suresh_in· Apr 18, 2026ML pipeline operationalization

Question

You have a custom job that runs on Vertex AI on a weekly basis. The job is implemented using a proprietary ML workflow that produces the datasets, models, and custom artifacts, and sends them to a Cloud Storage bucket. Many different versions of the datasets and models were created. Due to compliance requirements, your company needs to track which model was used for making a particular prediction, and needs access to the artifacts for each model. How should you configure your workflows to meet these requirements?

Options

  • AUse the Vertex AI Metadata API inside the custom job to create context, execution, and artifacts
  • BCreate a Vertex AI experiment, and enable autologging inside the custom job.
  • CConfigure a TensorFlow Extended (TFX) ML Metadata database, and use the ML Metadata API.
  • DRegister each model in Vertex AI Model Registry, and use model labels to store the related

How the community answered

(40 responses)
  • A
    73% (29)
  • B
    8% (3)
  • C
    3% (1)
  • D
    18% (7)

Why each option

To track custom job artifacts and model lineage for compliance, use the Vertex AI Metadata API within the custom job to create and link contexts, executions, and artifacts.

AUse the Vertex AI Metadata API inside the custom job to create context, execution, and artifactsCorrect

The Vertex AI Metadata API is designed for tracking ML metadata, including the lineage of datasets, models, and custom artifacts across different executions and contexts. Using this API directly within the custom job ensures that all necessary information, including the link between models and their creating artifacts, is recorded for compliance and traceability.

BCreate a Vertex AI experiment, and enable autologging inside the custom job.

Vertex AI Experiments track runs, and autologging helps, but it may not capture the specific custom artifacts or the detailed lineage required for compliance beyond what's predefined.

CConfigure a TensorFlow Extended (TFX) ML Metadata database, and use the ML Metadata API.

TensorFlow Extended (TFX) ML Metadata is an open-source solution, but the question implies using managed Google Cloud services where Vertex AI Metadata is the native and managed alternative.

DRegister each model in Vertex AI Model Registry, and use model labels to store the related

The Vertex AI Model Registry manages model versions, but it primarily focuses on models themselves; it does not inherently provide the detailed lineage tracking to associated datasets and custom artifacts with the same granularity as the Metadata API.

Concept tested: Vertex AI ML Metadata for lineage tracking

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

Topics

#ML Metadata#Lineage Tracking#Vertex AI MLOps#Artifact Management

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-MACHINE-LEARNING-ENGINEER Practice