Answer – C and D
This is mentioned in the AWS Documentation.
Amazon Elastic Container Service (Amazon ECS) is a highly scalable, high-performance container orchestration service that supports Docker containers. It allows you to run and scale containerized applications on AWS easily. Amazon ECS eliminates the need for you to install and operate your own container orchestration software, manage and scale a cluster of virtual machines, or schedule containers on those virtual machines.
Elastic Beanstalk supports the deployment of web applications from Docker containers. With Docker containers, you can define your own runtime environment. You can choose your own platform, programming language, and any application dependencies (such as package managers or tools), that aren`t supported by other platforms. Docker containers are self-contained and include all the configuration information and software your web application requires to run.
Option A is incorrect because CloudFormation helps to manage AWS resources but it is not a service to host Docker containers.
Option B is incorrect because AWS API gateway is not used for hosting Docker-based containers.
For more information on the Elastic container service and Elastic beanstalk for Docker, please visit the following URLs-
https://aws.amazon.com/ecs/
https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_docker.html