Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Amazon Exam Amazon-DEA-C01 Topic 1 Question 11 Discussion

Actual exam question for Amazon's Amazon-DEA-C01 exam
Question #: 11
Topic #: 1
[All Amazon-DEA-C01 Questions]

A company has a gaming application that stores data in Amazon DynamoDB tables. A data engineer needs to ingest the game data into an Amazon OpenSearch Service cluster. Data updates must occur in near real time.

Which solution will meet these requirements?

Show Suggested Answer Hide Answer
Suggested Answer: C

Problem Analysis:

The company uses DynamoDB for gaming data storage and needs to ingest data into Amazon OpenSearch Service in near real time.

Data updates must propagate quickly to OpenSearch for analytics or search purposes.

Key Considerations:

DynamoDB Streams provide near-real-time capture of table changes (inserts, updates, and deletes).

Integration with AWS Lambda allows seamless processing of these changes.

OpenSearch offers APIs for indexing and updating documents, which Lambda can invoke.

Solution Analysis:

Option A: Step Functions with Periodic Export

Not suitable for near-real-time updates; introduces significant latency.

Operationally complex to manage periodic exports and S3 data ingestion.

Option B: AWS Glue Job

AWS Glue is designed for ETL workloads but lacks real-time processing capabilities.

Option C: DynamoDB Streams + Lambda

DynamoDB Streams capture changes in near real time.

Lambda can process these streams and use the OpenSearch API to update the index.

This approach provides low latency and seamless integration with minimal operational overhead.

Option D: Custom OpenSearch Plugin

Writing a custom plugin adds complexity and is unnecessary with existing AWS integrations.

Implementation Steps:

Enable DynamoDB Streams for the relevant DynamoDB tables.

Create a Lambda function to process stream records:

Parse insert, update, and delete events.

Use OpenSearch APIs to index or update documents based on the event type.

Set up a trigger to invoke the Lambda function whenever there are changes in the DynamoDB Stream.

Monitor and log errors for debugging and operational health.


Amazon DynamoDB Streams Documentation

AWS Lambda and DynamoDB Integration

Amazon OpenSearch Service APIs

Contribute your Thoughts:

Izetta
2 days ago
I agree with Tamala. Using DynamoDB Streams with Lambda seems like the most efficient way to meet the requirements.
upvoted 0 times
...
Sylvie
3 days ago
I agree, C is the most straightforward solution. No need to complicate things with additional services.
upvoted 0 times
...
Tamala
4 days ago
I think the best solution is to use Amazon DynamoDB Streams with AWS Lambda to update data in near real time.
upvoted 0 times
...
Lawanda
12 days ago
Option C is the way to go! DynamoDB Streams and Lambda are the perfect combination for near real-time data updates.
upvoted 0 times
...

Save Cancel