Answer – A and D
Out of the above list, Given the scenario, API Gateway and AWS Lambda are the best two choices to build this serverless application.
The AWS Documentation mentions the following.
AWS Lambda lets you run code without provisioning or managing servers. You pay only for the compute time you consume - there is no charge when your code is not running.
For more information on AWS Lambda, please refer to the below Link-
https://aws.amazon.com/lambda/
Amazon API Gateway is a fully managed service that makes it easy for developers to create, publish, maintain, monitor, and secure APIs at any scale.
For more information on the API gateway, please refer to the below Link-
https://aws.amazon.com/api-gateway/
Option B is incorrect because EC2 is not a serverless offering. To use serverless compute on Cloud, you can use Lambda.
Option C is incorrect because ECS is primarily used for hosting containers and serverless offering for the same solution is Fargate.
Option E is incorrect because Kinesis Data Streams is a scalable and durable real-time data streaming service that can continuously capture gigabytes of data per second from hundreds of thousands of sources. It is not required in this scenario.