An operator must start an AWS Step Functions state machine whenever a specific CloudWatch alarm enters ALARM, without custom code or polling. Which configuration meets these requirements?
Show the answer
Correct answerD. Route the alarm's state-change events through EventBridge to the state machine.
AWhy not this: Step Functions state machines are not supported as direct CloudWatch alarm action targets.
BWhy not this: PutMetricAlarm records alarm creation or updates, not evaluated alarm state transitions.
CWhy not this: A schedule starts executions independently of alarm transitions and does not satisfy the event-driven requirement.
DWhy this is right: EventBridge can match the specific alarm entering ALARM and start the state machine without custom code.
An EventBridge rule can match the alarm's state-change events, filter for ALARM, and target Step Functions. PutMetricAlarm events describe alarm configuration changes, not transitions caused by metric evaluation.