
Answer-first summary for fast verification
Answer: Check for metrics in Amazon CloudWatch in the namespace for AWS/Events.
## Explanation **Correct Answer: A** Amazon EventBridge provides metrics in Amazon CloudWatch under the `AWS/Events` namespace. These metrics can help determine: 1. **Invocations** - Number of times the rule's target was invoked 2. **TriggeredRules** - Number of times the rule was triggered 3. **MatchedEvents** - Number of events that matched the rule pattern 4. **FailedInvocations** - Number of failed target invocations By checking these metrics in CloudWatch, the solutions architect can determine: - Whether rule conditions are being met (via MatchedEvents metric) - Whether the rule's target is being invoked (via Invocations metric) **Why other options are incorrect:** **B. Review events in the Amazon Simple Queue Service (Amazon SQS) dead-letter queue.** - This would only be relevant if the target was an SQS queue with a dead-letter queue configured, not a third-party API. - Even if there was an SQS target, checking the dead-letter queue only shows failed messages, not successful invocations or rule matches. **C. Check for the events in Amazon CloudWatch Logs.** - EventBridge doesn't automatically send events to CloudWatch Logs unless specifically configured to do so. - While you can configure EventBridge to send events to CloudWatch Logs, this is not the default or most direct way to monitor rule execution. **D. Check the trails in AWS CloudTrail for the EventBridge events.** - CloudTrail logs API calls for management operations (like creating, updating, or deleting rules) but doesn't log the actual event matching and target invocation data. - CloudTrail is for auditing API calls, not for monitoring event processing. **Key AWS Services Knowledge:** - **Amazon EventBridge**: Serverless event bus service that connects applications using events - **Amazon CloudWatch Metrics**: Provides operational data and performance metrics for AWS services - **AWS/Events namespace**: Contains metrics for Amazon EventBridge and Amazon CloudWatch Events - **Important metrics**: Invocations, TriggeredRules, MatchedEvents, FailedInvocations
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
An Amazon EventBridge rule targets a third-party API. The third-party API has not received any incoming traffic. A solutions architect needs to determine whether the rule conditions are being met and if the rule's target is being invoked. Which solution will meet these requirements?
A
Check for metrics in Amazon CloudWatch in the namespace for AWS/Events.
B
Review events in the Amazon Simple Queue Service (Amazon SQS) dead-letter queue.
C
Check for the events in Amazon CloudWatch Logs.
D
Check the trails in AWS CloudTrail for the EventBridge events.