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:

Devora
1 months ago
I wonder if the exam question author has ever actually worked with DynamoDB and OpenSearch before. Just sayin'.
upvoted 0 times
Felicitas
9 days ago
B) Configure an AW5 Glue job to have a source of Amazon DynamoDB and a destination of Amazon OpenSearch Service to transfer data in near real time.
upvoted 0 times
...
Ceola
10 days ago
A) Use AWS Step Functions to periodically export data from the Amazon DynamoDB tables to an Amazon S3 bucket. Use an AWS Lambda function to load the data into Amazon OpenSearch Service.
upvoted 0 times
...
Catalina
17 days ago
C) Use Amazon DynamoDB Streams to capture table changes. Use an AWS Lambda function to process and update the data in Amazon OpenSearch Service.
upvoted 0 times
...
...
Jacki
1 months ago
Wow, option A sounds like a recipe for disaster. Exporting to S3 and then loading to OpenSearch? Talk about latency!
upvoted 0 times
...
Pilar
1 months ago
D? Really? A custom plugin? That sounds like a lot of work. I'll stick with the AWS-native solution, thanks!
upvoted 0 times
Shawana
16 days ago
A: Yeah, sticking with AWS-native solutions is usually the way to go.
upvoted 0 times
...
Leota
17 days ago
C: Amazon DynamoDB Streams with Lambda sounds like a good option for near real-time updates.
upvoted 0 times
...
Vincent
23 days ago
B: I think using AWS Step Functions and Lambda would be a simpler approach.
upvoted 0 times
...
Sylvia
27 days ago
A: I agree, using a custom plugin seems like a complex solution.
upvoted 0 times
...
...
Hubert
2 months ago
Hmm, I'm not sure B is a good idea. Glue might be overkill for this use case.
upvoted 0 times
Jamal
1 months ago
C) Use Amazon DynamoDB Streams to capture table changes. Use an AWS Lambda function to process and update the data in Amazon OpenSearch Service.
upvoted 0 times
...
Albina
1 months ago
A) Use AWS Step Functions to periodically export data from the Amazon DynamoDB tables to an Amazon S3 bucket. Use an AWS Lambda function to load the data into Amazon OpenSearch Service.
upvoted 0 times
...
...
Lorean
2 months ago
I'm not sure, but I think configuring an AWS Glue job could also work for transferring data in near real time.
upvoted 0 times
...
Izetta
2 months ago
I agree with Tamala. Using DynamoDB Streams with Lambda seems like the most efficient way to meet the requirements.
upvoted 0 times
...
Sylvie
2 months ago
I agree, C is the most straightforward solution. No need to complicate things with additional services.
upvoted 0 times
Ciara
29 days ago
Agreed, C seems like the most efficient option.
upvoted 0 times
...
Galen
1 months ago
Definitely, keeping it simple is key.
upvoted 0 times
...
Lura
1 months ago
That sounds like a solid plan.
upvoted 0 times
...
Precious
1 months ago
C) Use Amazon DynamoDB Streams to capture table changes. Use an AWS Lambda function to process and update the data in Amazon OpenSearch Service.
upvoted 0 times
...
...
Tamala
2 months 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
2 months 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
Whitney
28 days ago
Absolutely, it's a scalable and easy-to-manage solution for ingesting game data into the OpenSearch cluster.
upvoted 0 times
...
Leila
1 months ago
I think it's the most cost-effective option as well, compared to some of the other choices.
upvoted 0 times
...
Jonell
1 months ago
It's definitely a reliable and efficient way to keep the data in sync with Amazon OpenSearch Service.
upvoted 0 times
...
Macy
1 months ago
I agree, using DynamoDB Streams with Lambda is a great solution for near real-time data updates.
upvoted 0 times
...
...

Save Cancel