DVA-C02 · Question #490
A company has an ecommerce application. The application's API sends order data to an Amazon Simple Queue Service (Amazon SOS) queue. A developer needs to modify the application to enrich the order dat
The correct answer is D. Create an Amazon EventBridge pipe that uses event enrichment. Configure the SQS queue as a. Amazon EventBridge Pipes natively supports SQS as a source, built-in enrichment, and a target destination, eliminating the need to write custom polling or routing logic.
Question
A company has an ecommerce application. The application's API sends order data to an Amazon Simple Queue Service (Amazon SOS) queue. A developer needs to modify the application to enrich the order data before the application sends the order data to a fulfillment system. Which solution will meet this requirement with the LEAST development effort?
Options
- ACreate an AWS Lambda function to poll the SOS queue. enrich the message data, and send the
- BCreate an AWS Step Functions state machine. Configure an Amazon EventBridge rule to run the
- CCreate an Amazon EMR cluster to read messages from the SQS queue. Configure an EMR job to
- DCreate an Amazon EventBridge pipe that uses event enrichment. Configure the SQS queue as a
How the community answered
(23 responses)- A4% (1)
- B13% (3)
- C4% (1)
- D78% (18)
Why each option
Amazon EventBridge Pipes natively supports SQS as a source, built-in enrichment, and a target destination, eliminating the need to write custom polling or routing logic.
Writing a Lambda function to poll SQS, enrich data, and forward it requires significant custom code and infrastructure management compared to EventBridge Pipes.
Step Functions adds orchestration complexity and an EventBridge rule for triggering; this is more development effort than a native EventBridge Pipe.
Amazon EMR is a big data processing cluster designed for batch analytics, not lightweight real-time message enrichment; this introduces massive unnecessary complexity.
EventBridge Pipes provide a fully managed, low-code integration that connects an SQS queue source to a target with a built-in enrichment step (Lambda, API Gateway, etc.) between them. This requires no custom polling code, no infrastructure provisioning, and minimal configuration compared to the other options, making it the least development effort.
Concept tested: Amazon EventBridge Pipes SQS source with enrichment
Source: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes.html
Community Discussion
No community discussion yet for this question.