To automate package deployment, an operations team uses AWS Systems Manager Run Command to execute the `AWS-RunShellScript` document across multiple Amazon EC2 instances. The SysOps administrator wants to monitor the execution progress by configuring Amazon Simple Notification Service (Amazon SNS) notifications for command status changes. The administrator creates a dedicated IAM role named `SSM-SNS-Notification-Role` that trusts the Systems Manager service principal and has permissions to publish to the target SNS topic. When executing the `aws ssm send-command` CLI command with the `--service-role-arn` parameter set to the `SSM-SNS-Notification-Role` ARN, the command execution fails immediately with an `AccessDenied` exception before running on any targets. The EC2 instances are online in Systems Manager with the SSM Agent running and have a valid instance profile. Which configuration change is required to successfully run the command with SNS notifications enabled?
- Attach an IAM policy to the SysOps administrator's identity that grants the `iam:PassRole` permission for the `SSM-SNS-Notification-Role` resource.Answer
- BModify the trust policy of the `SSM-SNS-Notification-Role` to allow the SysOps administrator's IAM identity to assume the role.
- CAssign a tag with the key `PatchGroup` to the target Amazon EC2 instances to register them with the maintenance window.
- DUpdate the customer managed KMS key policy for the SNS topic to grant key usage permissions to the EC2 instances' IAM instance profile.