Resilient Cloud Solutions

An EventBridge rule targets a Systems Manager Automation runbook that restarts an application's EC2 instances when a matching health event arrives. The rule matches events, but no automation execution ever starts. What must be configured?

Show the answer

Correct answerB. An IAM role for the rule's target that EventBridge can assume, allowing ssm:StartAutomationExecution

AWhy not this: EventBridge uses a target role for Automation; resource-based policies are how it reaches targets such as Lambda, SNS, and SQS.

BWhy this is right: Without a target role that allows starting the automation, EventBridge cannot begin an execution even though the rule matches.

CWhy not this: An association runs on a schedule or on new targets; it does not start the runbook when the event occurs.

DWhy not this: The runbook's role is used after an execution starts; publishing events does not help EventBridge start one.

For a Systems Manager Automation target, EventBridge starts the execution with an IAM role you give the target, so that role needs ssm:StartAutomationExecution (and iam:PassRole if it passes an AutomationAssumeRole). Resource-based policies grant EventBridge access to targets such as Lambda, SNS, and SQS, not Automation runbooks.