A SysOps administrator is configuring event-driven remediation for non-compliant resources. When an AWS Config rule detects a non-compliant Amazon S3 bucket, an Amazon EventBridge rule triggers. The EventBridge rule is configured to target an AWS Systems Manager (SSM) Automation runbook to enable bucket encryption. The administrator has created an IAM role named SSMAutomationServiceRole that SSM will assume to perform the S3 configuration, which has a trust relationship with ssm.amazonaws.com. The administrator also created an IAM role named EventBridgeExecutionRole with a trust relationship for events.amazonaws.com and a policy granting ssm:StartAutomationExecution. When the EventBridge rule triggers, the SSM Automation execution fails to start due to an authorization error. Which of the following explains why the automation execution failed to start?
- The EventBridgeExecutionRole does not have the iam:PassRole permission for the SSMAutomationServiceRole.Cevap
- BThe EventBridgeExecutionRole must be modified to allow sts:AssumeRole for the ssm.amazonaws.com service principal.
- CThe EventBridge rule is using an invalid trigger flow, as AWS Config compliance state changes must be remediated directly using AWS Config auto-remediation rather than EventBridge targets.
- DThe AWS Config rule evaluation is running under standard monitoring mode, which prevents EventBridge from executing the runbook within the required temporal window.