Which TWO actions should be taken to enforce Least Privilege access for developers interacting with SageMaker Model Monitor?
Trap 1: Allow all 'iam:PassRole' actions
Allowing all pass-role actions is a severe security risk.
Trap 2: Assign the 'SageMakerFullAccess' managed policy
This violates the principle of least privilege as it is too broad.
Trap 3: Enable root access to the underlying EC2 instance
Model Monitor is a managed service; users do not need root access to infrastructure.
- A
Allow all 'iam:PassRole' actions
Why wrong: Allowing all pass-role actions is a severe security risk.
- B
Restrict access to the 'sagemaker:CreateModelMonitor' action
Limiting this action prevents unauthorized creation of monitoring jobs.
- C
Grant s3:PutObject on the bucket containing baseline data
Baseline data access is required for monitoring jobs.
- D
Assign the 'SageMakerFullAccess' managed policy
Why wrong: This violates the principle of least privilege as it is too broad.
- E
Enable root access to the underlying EC2 instance
Why wrong: Model Monitor is a managed service; users do not need root access to infrastructure.