AWS Certified Developer – Associate (DVA-C02) — Question 500

A video streaming company has a pipe in Amazon EventBridge Pipes that uses an Amazon Simple Queue Service (Amazon SQS) queue as an event source. The pipe publishes all source events to a target EventBridge event bus. Before events are published, the pipe uses an AWS Lambda function to retrieve the stream status of each event from a database and adds the stream status to each source event.

The company wants the pipe to publish events to the event bus only if the video stream has a status of ready.

Which solution will meet these requirements?

Answer options

Correct answer: A

Explanation

EventBridge Pipes allows you to define a filter step that evaluates events after enrichment but before they are sent to the target. By adding a filter pattern to the pipe that checks for a status of ready, only the desired events will be published to the event bus. Modifying the Lambda function or using input transformers cannot perform this filtering natively, and applying filters to individual event bus rules would still allow unwanted events to reach the bus itself.