QuestionQ147

Data Ingestion and Transformation

A company operates a gaming application that stores data in Amazon DynamoDB tables. A data engineer must ingest the game data into an Amazon OpenSearch Service cluster. Data changes must be applied in near real time.

Which solution meets these requirements?

  • 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.
Explanation

Amazon DynamoDB Streams captures table modifications in near real time and can invoke AWS Lambda to process each change. The Lambda function can then index, update, or delete the corresponding documents in Amazon OpenSearch Service, providing event-driven near-real-time synchronization.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!