Proseware serves its no-show model from an Azure Machine Learning managed online endpoint whose name is stored in $ENDPOINT_NAME. The Azure CLI already has default values for the resource group and workspace.
After a staged rollout, the new green deployment receives 100% of traffic. The previous blue deployment is still deployed and receives 0% of traffic. Clinic staff now report unacceptable predictions from the new model.
Requirements:
- Immediately route all client requests back to the previous model.
- The endpoint URL used by the scheduling system must not change.
- The green deployment must remain available for investigation.
Which command should you run?
Choose one answer.
az ml online-endpoint update --name $ENDPOINT_NAME --traffic "blue=100 green=0"az ml online-endpoint delete --name $ENDPOINT_NAME --yesaz ml online-endpoint invoke --name $ENDPOINT_NAME --deployment-name blue --request-file sample-request.jsonaz ml online-endpoint update --name $ENDPOINT_NAME --traffic "blue=0 green=100"az ml online-deployment delete --name green --endpoint-name $ENDPOINT_NAME --yes