AWS Certified Machine Learning Engineer - Associate (MLA-C02) free question 6 / 10 · Domain 3: Deployment and Orchestration of ML and AI Workflows
A team registers each trained model as a version in SageMaker Model Registry. When a model version meets the performance requirements, the team wants a CI/CD deployment to begin. What should the team do?
- Delete the previous model version to make the new one the sole version
- Update the approval status of the model version from PendingManualApproval to Rejected
- Update the approval status of the model version from PendingManualApproval to Approved
- Add the version to a new Model Registry Collection without changing its status
Show the answer and explanation
Answer: C
Why this is correct
After you create a model version, you typically evaluate its performance before deploying it. If it performs to your requirements, you update its approval status to Approved, and setting the status to Approved can initiate CI/CD deployment for the model. With the SageMaker AI provided project templates, a change from PendingManualApproval to Approved initiates CI/CD deployment for the approved version. You can make the update by hand with update_model_package or the console, or automate it with a condition step in a pipeline.
Why the other options are wrong
"Update the approval status of the model version from PendingManualApproval to Rejected" … The page lists no action for the move from PendingManualApproval to Rejected. That status is for a version that does not perform to requirements.
"Delete the previous model version to make the new one the sole version" … Deleting versions is not the trigger for deployment. The documented trigger is a change of approval status to Approved.
"Add the version to a new Model Registry Collection without changing its status" … Collections organize model groups into categories. They do not start a deployment.
Key points
With the project templates, a move from Rejected to Approved also initiates deployment, a move from Approved to Rejected initiates CI/CD to deploy the latest version that still has the Approved status, and PendingManualApproval to Rejected triggers no action. A version starts as PendingManualApproval when you register it.