Amazon AWS Certified Cloud Practitioner Exam: Docker Container Management

Docker Container Management

Question

Which AWS service allows: 1- Running Docker containers 2- Simple API calls to launch and stop container-based applications.

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Answer: C.

AWS EKS (Elastic Kubernetes Service): AWS EKS is a managed service that simplifies Kubernetes deployment on AWS by eliminating the need to install, operate, and/or maintain its own Kubernetes control plane.

Amazon Elastic Container Service: AWS ECS is a container management service that facilitates containers' management on the cluster, including running and stopping the containers.

The container-based applications could be launched/stopped using simple API calls.

AWS Fargate: AWS Fargate is an “ECS and EKS compatible” serverless compute engine for containers.

Option A is INCORRECT.

AWS Docker Manager is an invalid option.

Option B is INCORRECT.

Option C is CORRECT.

Option D is INCORRECT.

Reference:

https://docs.aws.amazon.com/eks/latest/userguide/what-is-eks.html https://docs.aws.amazon.com/AmazonECS/latest/developerguide/Welcome.html https://aws.amazon.com/fargate/

The AWS service that allows running Docker containers and simple API calls to launch and stop container-based applications is Amazon Elastic Container Service (ECS).

Amazon Elastic Container Service (ECS) is a fully managed container orchestration service that supports Docker containers. ECS allows you to easily run, scale, and manage Docker containers on a cluster of EC2 instances or using AWS Fargate.

With ECS, you can create a task definition that describes how to launch and run a Docker container, including specifying the Docker image, CPU and memory requirements, ports, and other configurations. You can then use the ECS console or API to create and manage tasks, services, and clusters.

ECS also provides a simple API for launching and stopping container-based applications. The ECS API is accessible through the AWS Management Console, CLI, and SDKs, allowing you to automate container management tasks and integrate ECS with your existing applications and infrastructure.

In contrast, the other options listed in the question are not correct:

  • AWS Docker Manager does not exist as an AWS service.
  • AWS EKS (Elastic Kubernetes Service) is a managed Kubernetes service that allows you to run and manage Kubernetes clusters on AWS. While Kubernetes can also run Docker containers, it is not as simple as ECS for launching and managing container-based applications.
  • AWS Fargate is a serverless compute engine for containers that allows you to run containers without having to manage the underlying EC2 instances. While Fargate can run Docker containers, it is not as flexible as ECS for customizing the container environment and scaling containers on a cluster of EC2 instances.