An MLOps team wants to use a GitHub Actions workflow to retrain and register an Azure ML model whenever code is merged to the 'main' branch. They have already configured OIDC authentication. Which TWO workflow steps are essential to interact with Azure Machine Learning resources after authentication? (Select TWO)
- A. Use 'az ml job create' to submit the training job referencing a job YAML definition file.
- B. Configure a self-hosted runner deployed inside the Azure ML workspace's managed VNet.
- C. Install the Azure ML CLI extension using 'az extension add --name ml'.✓ Correct
- D. Use the 'azure/login' action to obtain an Azure access token using the OIDC federated credential.✓ Correct
- E. Run 'pip install azureml-sdk' to install the Azure ML Python SDK on the runner.
Explanation
After OIDC-based Azure login with 'azure/login', the ML CLI extension must be installed ('az extension add --name ml') before any 'az ml' commands can be executed on the runner. These two steps together enable all subsequent Azure ML CLI operations. Installing the Python SDK ('pip install azureml-sdk') is unnecessary when using the Azure CLI v2 approach; the SDK is for Python-based scripts. 'az ml job create' is a valid action step, but it is the training submission command, not a prerequisite step for interacting with AML — and the question asks for essential enabling steps. A self-hosted runner inside the managed VNet is only required when the workspace has public network access disabled; it is not universally essential for this scenario.