AWS Certified Solutions Architect – Professional (SAP-C02) — Question 29
A company is storing data in several Amazon DynamoDB tables. A solutions architect must use a serverless architecture to make the data accessible publicly through a simple API over HTTPS. The solution must scale automatically in response to demand.
Which solutions meet these requirements? (Choose two.)
Answer options
- A. Create an Amazon API Gateway REST API. Configure this API with direct integrations to DynamoDB by using API Gateway’s AWS integration type.
- B. Create an Amazon API Gateway HTTP API. Configure this API with direct integrations to Dynamo DB by using API Gateway’s AWS integration type.
- C. Create an Amazon API Gateway HTTP API. Configure this API with integrations to AWS Lambda functions that return data from the DynamoDB tables.
- D. Create an accelerator in AWS Global Accelerator. Configure this accelerator with AWS Lambda@Edge function integrations that return data from the DynamoDB tables.
- E. Create a Network Load Balancer. Configure listener rules to forward requests to the appropriate AWS Lambda functions.
Correct answer: A, C
Explanation
Option A is correct because it utilizes Amazon API Gateway REST API with direct integration to DynamoDB, allowing for serverless operations and public accessibility. Option C is also valid as it connects an HTTP API to AWS Lambda functions, which can retrieve data from DynamoDB, ensuring scalability. Options B, D, and E do not adequately meet the requirement for direct and efficient access to DynamoDB in a serverless manner.