# What belongs in an Azure ML pipeline component contract?

Exam: AI-300 — Operationalizing Machine Learning and Generative AI Solutions
Knowledge domain: Implement machine learning model lifecycle and operations
Updated: 2026-11-25T04:35:29.943161+00:00
HTML: https://learningpathx.com/faq/AI-300/ai300-azure-ml-pipeline-component-contracts.html

## Also asked as

- How should I define inputs and outputs for Azure Machine Learning pipeline components?
- What makes an Azure ML prepare, train, or evaluate step reusable?

Define what each step consumes and produces, including types, formats and meaning. A training component that expects an image folder may also require a manifest, a split definition and a particular label mapping. Record those expectations and version a breaking interface change. Verify one representative producer output against the consumer's expected format.

Connect preparation outputs to training inputs, then connect the saved candidate and independently appropriate evaluation data to evaluation. Put software requirements in versioned environments. Choose compute for each stage, such as CPU for preparation and supported GPU capacity where training benefits. Split work where it creates a useful handoff or failure boundary.

### Microsoft Learn

* [What are machine learning pipelines? - Azure Machine Learning](https://learn.microsoft.com/en-us/azure/machine-learning/concept-ml-pipelines?view=azureml-api-2)
* [CLI (v2) pipeline job YAML schema - Azure Machine Learning | Microsoft Learn](https://learn.microsoft.com/en-us/azure/machine-learning/reference-yaml-job-pipeline?view=azureml-api-2)
* [How Azure Machine Learning Works (v2) - Azure Machine Learning](https://learn.microsoft.com/en-us/azure/machine-learning/concept-azure-machine-learning-v2?view=azureml-api-2)

Source: [AI-300: Building Reproducible and Distributed Training Pipelines](https://learningpathx.com/news/ai-300-building-reproducible-and-distributed-training-pipelines.html)
