Monitoring, Logging, Analysis, Remediation, and Performance Optimization

An application sends custom events with PutEvents to a custom event bus named orders. A rule with a correct event pattern was created on the default event bus, and its MatchedEvents metric stays at zero. What should the engineer do?

Show the answer

Correct answerC. Create the rule on the orders event bus instead.

AWhy not this: Target permissions affect delivery after a match, but this rule never matches any event.

BWhy not this: The aws.events source identifies events that EventBridge itself emits, such as scheduled events, not the application's custom events.

CWhy this is right: Rules evaluate only events on their own bus, so the rule must be on the bus that receives the events.

DWhy not this: An archive on the default bus would hold only events sent to that bus, which does not include the orders events.

A rule matches only events sent to the event bus it belongs to, so events put on the orders bus never reach a rule on the default bus. Target permissions matter only after a rule matches; with MatchedEvents at zero, no delivery is attempted.