Q80 — AWS SAA-C03 Ch.16
Question 80 of 100 | ← Chapter 16
Q1280. A solutions architect needs to verify that an Amazon EventBridge rule is working correctly. The rule is configured to send events to a target.Which solution will meet this requirement with the LEAST operational overhead?
- A. Check the Amazon CloudWatch TriggeredRules metric in the AWS/Events namespace. ✓
- B. Send logs for the EventBridge rule to Amazon CloudWatch Logs.
- C. Create a dead-1etter queue in Amazon Simple Queue Service(Amazon SQS) to capture failed events.
- D. Enable AWS CloudTrail, and check for EventBridge API calls.
Correct Answer: A. Check the Amazon CloudWatch TriggeredRules metric in the AWS/Events namespace.
Explanation
The correct solution must allow the solutions architect to verify that an Amazon EventBridge rule is working correctly with the least operational overhead. Let's evaluate each option:Correct Answer: A. Check the Amazon CloudWatch TriggeredRules metric in the AWS/Events namespace.Why Option A is Best:No Additional Configuration Required:EventBridge automatically publishes the TriggeredRules metric to CloudWatch when a rule successfully matches an event and invokes its target.No need to set up logs, dead-letter queues, or CloudTrail--just check the existing metric.Real-Time Verification:The metric increments immediately when the rule triggers, providing instant confirmation.Low Operational Overhead:Simply navigate to CloudWatch Metrics AWS/Events TriggeredRules in the AWS Console.Why Other Options Fail:B. Send logs for the EventBridge rule to Amazon CloudWatch Logs.Requires Manual Setup:Must enable detailed logging for the EventBridge rule (via AWS CLI or SDK), increasing complexity.Higher Overhead:Logs must be parsed and analyzed, unlike the straightforward TriggeredRules metric. C. Create a dead-letter queue (DLQ) in Amazon SQS to capture failed events.Only Shows Failures, Not Successes:A DLQ helps troubleshoot failures, but it does not confirm that the rule is successfully triggering (only that some events failed).Additional Infrastructure:Requires setting up an SQS queue and configuring EventBridge to use it. D. Enable AWS CloudTrail, and check for EventBridge API calls.Overkill for Basic Verification:CloudTrail logs API calls (e.g., PutEvents, PutRule), not rule executions.Delayed Insights:Logs may take minutes to appear and require manual filtering (e.g., searching for PutTarget calls).Key Comparison:RequirementCloudWatch TriggeredRules Metric (A)Other Options No additional setup needed(Built-in metric) (B: Logging; C: DLQ; D: CloudTrail) Confirms successful triggers(Directly measures rule executions) (B: Logs; C: Failures only; D: API calls) Lowest operational effort(Check metric in console) (B: Log analysis; C: SQS setup; D: CloudTrail filtering)Conclusion:Option A is the simplest and most efficient way to verify EventBridge rule functionality with zero additional infrastructure or logging setup.Final Answer: A