AWS Certified Data Engineer – Associate (DEA-C01) — Question 164
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?
Answer options
- 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.
- B. Configure an AWS Glue job to have a source of Amazon DynamoDB and a destination of Amazon OpenSearch Service to transfer data in near real time.
- C. Use Amazon DynamoDB Streams to capture table changes. Use an AWS Lambda function to process and update the data in Amazon OpenSearch Service.
- D. Use a custom OpenSearch plugin to sync data from the Amazon DynamoDB tables.
Correct answer: C
Explanation
The correct answer is C because using Amazon DynamoDB Streams allows for real-time capture of changes in the data, which can be processed instantly by an AWS Lambda function to update Amazon OpenSearch Service. Options A and B involve periodic data transfer, which does not satisfy the near real-time requirement, while option D suggests a more complex solution without leveraging existing AWS services designed for this purpose.