AWS Certified Data Engineer – Associate (DEA-C01) — Question 31

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?

Answer options

Correct answer: B

Explanation

The correct answer is B because AWS Lambda provides a serverless compute service that automatically manages the infrastructure, requiring the least operational overhead. Option A and C involve managing container orchestration, which increases complexity and overhead, while option D introduces unnecessary maintenance by needing a scheduled trigger to keep the function warm.