Operating, Monitoring, and Securing ML and AI Solutions

A deployment role can create Amazon SageMaker AI training jobs but must be allowed to pass only one approved execution role to the service. Which permission should an administrator add?

Show the answer

Correct answerD. iam:PassRole on the approved execution role ARN

AWhy not this: AttachRolePolicy changes a role's permissions rather than authorizing its use by a training job.

BWhy not this: CreateRole authorizes creating a role, not passing an existing role to a training job.

CWhy not this: AssumeRole obtains role credentials rather than authorizing assignment of the role to a service.

DWhy this is right: PassRole authorizes supplying the specified execution role to an AWS service.

iam:PassRole allows the deployment role to supply the approved execution role to SageMaker AI. sts:AssumeRole instead allows a caller to obtain credentials for a role; it does not authorize passing that role to a service.