Q36Data Operations and Support
A company has a frontend ReactJS website that uses Amazon API Gateway to invoke REST APIs. The APIs perform the functionality of the website. A data engineer needs to write a Python script that can be occasionally invoked through API Gateway. The code must return results to API Gateway. Which solution will meet these requirements with the LEAST operational overhead?
← → navigate · a answer
Community votes
Discussion · 10
B 5
Selected Answer: B
B and D are both fine. Still, since it says LEAST operational overhead, keep it simple. B then.
B 2
Selected Answer: B
B.
AWS Lambda functions can be easily integrated with Amazon API Gateway to create RESTful APIs. This integration lets API Gateway directly invoke the Lambda function when the API endpoint is hit.
B 2
Selected Answer: B
B - simple and clear
D 2
Selected Answer: D
D. Create an AWS Lambda function. Make sure the function stays warm by scheduling an Amazon EventBridge rule to invoke the Lambda function every 5 minutes using mock events.
1
Answ. B
You can create a web API with an HTTP endpoint for your Lambda function by using Amazon API Gateway. API Gateway provides tools for creating and documenting web APIs that route HTTP requests to Lambda functions. You can secure access to your API with authentication and authorization controls. Your APIs can serve traffic over the internet or can be accessible only within your VPC.
https://docs.aws.amazon.com/lambda/latest/dg/services-apigateway.html
B 1
Selected Answer: B
Although D seems like a good choice, the question asks for "LEAST operational overhead" so the answer is B
B 1
Selected Answer: B
I would choose B
1
I AM THINKING B. Dont u think provisionning concurrency add extra cost even when the function is not in active use, which is unnecessary for an occasionally invoked function.
D 1
Selected Answer: D
The option with the least operational overhead is D. Create an AWS Lambda function with an EventBridge rule to keep it warm. Lambda handles infrastructure management automatically, and the warm-up approach addresses possible cold start issues while keeping minimal operational requirements compared to container-based solutions.
1
The question says “occasionally”, so warming it up every 5 minutes goes against the Well-Architected Framework.