DEA-C01 · Question #67
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
The correct answer is B. Create an AWS Lambda Python function with provisioned concurrency.. AWS Lambda functions can be easily integrated with Amazon API Gateway to create RESTful APIs. This integration allows API Gateway to directly invoke the Lambda function when the API endpoint is hit.
Question
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?
Options
- ADeploy a custom Python script on an Amazon Elastic Container Service (Amazon ECS) cluster.
- BCreate an AWS Lambda Python function with provisioned concurrency.
- CDeploy a custom Python script that can integrate with API Gateway on Amazon Elastic
- DCreate an AWS Lambda function. Ensure that the function is warm by scheduling an Amazon
How the community answered
(32 responses)- A13% (4)
- B75% (24)
- C9% (3)
- D3% (1)
Explanation
AWS Lambda functions can be easily integrated with Amazon API Gateway to create RESTful APIs. This integration allows API Gateway to directly invoke the Lambda function when the API endpoint is hit.
Topics
Community Discussion
No community discussion yet for this question.