A company stores data in multiple DynamoDB tables and needs a serverless, automatically scaling HTTPS API to expose that data publicly. Which solutions meet the requirements? (Choose two.)
Choose an answer
Tap an option to check your answer.
Correct answer: Create an Amazon API Gateway REST API and configure it with direct AWS service integrations to DynamoDB by using API Gateway’s AWS integration type., Create an Amazon API Gateway HTTP API and integrate it with AWS Lambda functions that return data from the DynamoDB tables..
Why this is the answer
The first correct option, using an Amazon API Gateway REST API with direct AWS service integrations to DynamoDB, is a serverless and automatically scaling solution. API Gateway can directly interact with DynamoDB without requiring intermediate compute, fulfilling the "serverless" and "automatically scaling" requirements. The second correct option, using an Amazon API Gateway HTTP API integrated with AWS Lambda functions, also meets the requirements. HTTP APIs are optimized for performance and cost, and Lambda functions provide serverless, automatically scaling compute to retrieve data from DynamoDB. The incorrect option using an Amazon API Gateway HTTP API with direct AWS integration to DynamoDB is wrong because HTTP APIs do not support direct AWS service integrations in the same way REST APIs do; they primarily integrate with Lambda functions or HTTP endpoints. AWS Global Accelerator and Network Load Balancers are not primarily API solutions for exposing data publicly in a serverless manner. Global Accelerator improves performance and availability but doesn't provide the API layer itself. A Network Load Balancer is a layer 4 load balancer and doesn't offer the API management capabilities needed.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed