Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam AWS Certified Solutions Architect - Professional SAP-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional SAP-C02 exam

Exam AWS Certified Solutions Architect - Professional SAP-C02 topic 1 question 27 discussion

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.)

  • 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.
Show Suggested Answer Hide Answer
Suggested Answer: AC 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Untamables
Highly Voted 1 year, 10 months ago
Selected Answer: AC
A and C. API Gateway REST API can invoke DynamoDB directly. https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-overview-developer-experience.html
upvoted 28 times
ixdb
11 months ago
CD is right. While this option A works for private access, it does not support public access as DynamoDB tables are not publicly accessible by default.
upvoted 2 times
Impromptu
10 months, 3 weeks ago
Option A has the ability to specify an execution role. This IAM role should have the GetItem/PutItem permissions for the given DynamoDB table. That way you can have access to your private table via the DynamoDB API while your API Gateway is publicly available. So I agree with A and C
upvoted 2 times
...
...
jpa8300
10 months, 1 week ago
You cannot choose A and C, you choose A OR C, one excludes the other. When a question says to choose two answers, one shall complement the other. I agree that the API can integrate directly with DynamoDB, but if I have to choose two answers that complement each other, the A option cannot go with any of the others. Saying that, the only possible choices should be C and D, you create the Lambda functions to integrate with Dynamodb and then deploy them at Edge, as extra to improve performance and latency you use Global Accelerator. Yes, it is true that this is not a requirement, but it is good to have.
upvoted 4 times
cegama543
1 week, 3 days ago
A and C are compatibles. A for DynamoDB integration and C for escalation
upvoted 2 times
...
...
...
atirado
Highly Voted 10 months, 3 weeks ago
Selected Answer: AC
Option A - This option might work: REST APIs can run over HTTPS and the integration type DynamoDB is possible Option B - This option will not work: HTTP APIs do not support integration types for DynamoDB Option C - This option will work: HTTP APIs support integration with Lambda functions Option D - This option will not work: Lambda@Edge is a function of CloudFront Option E - This option will not work: NLB Target groups can target Lambda functions however NLBs are not a Serverless solution (They are deployed on VPCs).
upvoted 12 times
...
Sin_Dan
Most Recent 3 weeks ago
A. Amazon API Gateway can be configured as a REST API with direct integration to DynamoDB. This is done using API Gateway’s AWS integration type, allowing direct interaction with DynamoDB without needing a Lambda function in between. C. API Gateway HTTP API can be used to route requests to AWS Lambda functions. The Lambda functions can then interact with DynamoDB to retrieve or modify data and return it to the client through the API.
upvoted 1 times
...
amministrazione
2 months, 1 week ago
A. Create an Amazon API Gateway REST API. Configure this API with direct integrations to DynamoDB 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.
upvoted 1 times
...
jyrajan69
2 months, 2 weeks ago
On the fact of simplicity it looks like BC, but with C there is an issue of Lambda fetching data, question does not indicate fetching, only put. So it looks like AB
upvoted 1 times
...
gofavad926
7 months, 3 weeks ago
Selected Answer: AC
A and C
upvoted 1 times
...
Russs99
7 months, 3 weeks ago
Selected Answer: CD
The solutions that meet the requirements of using a serverless architecture to make the data accessible publicly through a simple API over HTTPS and scaling automatically in response to demand are: C AND D
upvoted 1 times
Russs99
7 months, 3 weeks ago
Actually, Option D is out, reason: you cannot use AWS Lambda@Edge with Global accelerator
upvoted 1 times
...
...
JOKERO
8 months ago
a, c https://medium.com/brlink/rest-api-just-with-apigateway-and-dynamodb-8a9b0cd76b7a
upvoted 1 times
...
anubha.agrahari
8 months ago
Selected Answer: A
API Gateway REST API can invoke DynamoDB directly.
upvoted 1 times
...
DmitriKonnovNN
8 months, 4 weeks ago
Sometimes when multiple answers are required, they're supposed to complement each other, but sometimes these have to be just 2 valid but independent solutions... Well API GW with Rest endpoint is a valid solution, since it's had DynamoDB proxy integration lately. We use it in production, and it's a good fit, if you want to have a lot of control and features in your API GW and no lambda functions in between, reason being VTL supports a big set of mutations which is enough to us. On the flip side, since we're forced to use a combination, then CD is the right answer. In terms of simplicity, it is the question, what you consider simple. API GW REST endpoint is considered simple, because it provides caching, api keys, usage plans, rate limiting, authorization, deployment stages etc. out of the box. So the plethora of out-of-the-box features is rather simple than implementing them oneself.
upvoted 1 times
...
ninomfr64
10 months, 3 weeks ago
Selected Answer: BC
Not E as I think NLB listener rules don't provide the required capability to to forward requests to the appropriate Lambda (you need to have and ALB) Not D as Lambda@Edge is a CloudFront feature A, B and C they all works here however the question requires "a simple API over HTTPS". Both REST APIs and HTTP APIs are RESTful API products. REST APIs support more features than HTTP APIs, while HTTP APIs are designed with minimal features so that they can be offered at a lower price. Thus I would go for B and C
upvoted 1 times
ninomfr64
10 months, 3 weeks ago
My answer is wrong, double check that DynamoDB is not supported as first-class integration with API Gateway as per doc https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services-reference.html Thus the correct answer is A and C
upvoted 2 times
...
...
subbupro
11 months, 1 week ago
C and D is the correct option 1) C- Need server less architecture so need to use lamda function instead of REST API 2) D - Global accelerator work with lamda edge would be best the option compare to NLB for auto scale up and down. It has static address and fixed entry point if we deply multiple region.
upvoted 2 times
...
Hit1979
11 months, 1 week ago
Selected Answer: CE
REST API - is not simple and limitaiton around scability. NLB with listener rules can be used to forward request based on specified conditions to appropriate AWS lambda function
upvoted 1 times
...
severlight
12 months ago
Selected Answer: AC
lambda can have https endpoints available
upvoted 1 times
...
rodrod
1 year, 1 month ago
Selected Answer: BC
I've read similar questions previously, keyword is "simple API". REST API adds more features than HTTP API and is consider "more" complex. So it has to be HTTP just for that reason. You can use API Gateway (HTTP)->dynamodb: https://aws.amazon.com/fr/blogs/compute/using-amazon-api-gateway-as-a-proxy-for-dynamodb/ so B and C
upvoted 3 times
sonyaws
11 months, 2 weeks ago
BC HTTP API support AWS Integrations + Simple https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-vs-rest.html
upvoted 2 times
...
...
bur4an
1 year, 2 months ago
Selected Answer: BC
B. Create an Amazon API Gateway HTTP API. Configure this API with direct integrations to DynamoDB 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. Options A, D, and E do not align with the requirements as well: A. Amazon API Gateway REST API with Direct DynamoDB Integration: While REST APIs could work, HTTP APIs are generally more lightweight and cost-effective. Also, direct integration with DynamoDB using REST APIs could be more complex to set up compared to HTTP APIs.
upvoted 3 times
...
Russs99
1 year, 3 months ago
Selected Answer: AB
Option C suggests configuring an Amazon API Gateway HTTP API with integrations to AWS Lambda functions that return data from the DynamoDB tables. However, this approach would introduce unnecessary complexity and additional steps since it involves using AWS Lambda as a middle layer to fetch data from DynamoDB
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...