You are managing an Azure Machine Learning workspace and need to ensure that model training jobs are reproducible across environments. Which feature should be configured to capture the exact environment state, including Python packages and system dependencies?
Environment objects capture the exact Python packages, environment variables and system dependencies used during training, so jobs can be reproduced identically across compute targets. This satisfies the reproducibility constraint by pinning the runtime state rather than relying on whatever libraries happen to be installed.
Why this answer
Azure ML Environment objects are the mechanism designed to capture and version the exact runtime state of a training job — including the Python interpreter version, pip/conda packages, environment variables, and Docker base image. When an Environment is registered and referenced by a job, Azure ML rebuilds the identical containerized context on any compute target, which is what makes training reproducible across environments. Datasets, registries, and compute targets do not encapsulate package or system dependencies.
Exam trap
The trap here is confusing 'reproducibility of data' (Datasets) or 'reproducibility of model artifacts' (Model Registry) with 'reproducibility of the runtime environment' — the question specifically asks about Python packages and system dependencies, which only Environment objects capture.
How to eliminate wrong answers
Option A is wrong because Azure ML Datasets only version and track data assets (tabular, file, or URI-based) — they capture what data is used, not the Python packages or system libraries needed to run the code. Option B is wrong because Model Registries store and version trained model artifacts and their metadata for deployment, but they do not define the runtime dependency graph that produced the model. Option C is wrong because Compute Targets (AmlCompute, AKS, etc.) only provide the execution infrastructure (CPU/GPU, node count, VM size) and do not capture the software environment layered on top of that infrastructure.