🔥 3-day streak
AWS Certified DevOps Engineer - Professional150 / 204
Question 150 of 204
A company processes order events published to an EventBridge custom event bus. A Lambda function is triggered by an EventBridge rule for every event, but the function only needs to act on events where 'detail.status' equals 'CANCELLED'. Currently the Lambda is invoked for all events and immediately exits for irrelevant ones, driving up invocation costs and cluttering CloudWatch metrics. The DevOps team must reduce unnecessary Lambda invocations while ensuring no CANCELLED events are missed. What is the MOST operationally efficient solution?
Reviewed for accuracy · Report an issueNext question