A SysOps Administrator is setting up an AWS Systems Manager Automation workflow to execute a maintenance script on a fleet of Amazon EC2 instances. The SSM Agent is running on all target instances, and each instance has an IAM instance profile attached with the AmazonSSMManagedInstanceCore policy. The administrator creates a service role named SSMAutomationExecutionRole for Systems Manager to execute the workflow.
When the administrator attempts to start the Automation workflow specifying this service role, the execution fails to start with an access denied error. Additionally, the administrator notices that several EC2 instances tagged with 'role: webserver' are not receiving the maintenance script, while others tagged with 'Role: WebServer' are successfully targeted.
Which combination of actions will resolve these issues? (Select TWO.)
- Add a policy to the administrator's IAM user or group that allows the iam:PassRole action on the SSMAutomationExecutionRole resource.Answer
- Update the Automation document target parameters to ensure the tag key and value match the exact case of the tags on all target EC2 instances.Answer
- CAdd the sts:AssumeRole permission for the SSMAutomationExecutionRole to the EC2 instance profile's IAM role.
- DConfigure the target tag filter in Systems Manager to use a wildcard pattern such as role:*webserver to enable case-insensitive matching.
- EModify the EC2 instances' security groups to allow inbound SSH traffic (port 22) from the Systems Manager service endpoint CIDR blocks.