Data Ingestion and Transformation

An application needs an HTTPS API that retrieves individual records from Amazon DynamoDB by primary key. Which design provides a serverless request-response interface?

Show the answer

Correct answerB. Amazon API Gateway invoking AWS Lambda to read DynamoDB

AWhy not this: Scheduled exports support batch processing, not synchronous retrieval of individual records through an HTTPS API.

BWhy this is right: API Gateway receives HTTPS requests, and Lambda retrieves records from DynamoDB and returns responses without managed servers.

CWhy not this: Athena queries exported datasets but does not itself provide the application's HTTPS request-response endpoint.

DWhy not this: Firehose delivers streaming data to destinations; it does not provide a record-retrieval API.

API Gateway exposes an HTTPS endpoint, and Lambda can retrieve the requested DynamoDB record and return it synchronously. Scheduled AWS Glue exports move data in batches rather than serving individual API requests.