6. Containers Flashcards
What is the primary purpose of AWS Elastic Container Service (ECS)?
To facilitate the deployment, management, and scaling of Docker containers.
True or False: AWS Fargate is a serverless compute engine for containers.
True
Fill in the blank: Amazon ECS uses _____ for service discovery.
AWS Cloud Map
What is the difference between Amazon ECS and Amazon EKS?
Amazon ECS is a container orchestration service that supports Docker containers, while Amazon EKS is a managed Kubernetes service.
Which AWS service provides a fully managed Kubernetes environment?
Amazon EKS
What is a Docker container?
A lightweight, standalone, executable package that includes everything needed to run a piece of software.
What does the ‘task definition’ in Amazon ECS specify?
The configuration for the containers that will run in a task, including the Docker image, CPU, memory, and networking settings.
True or False: Amazon ECR (Elastic Container Registry) is used for storing Docker images.
True
What is the purpose of using IAM roles with ECS tasks?
To grant permissions to the containers running in the tasks to access AWS resources.
What is the command to run a Docker container?
docker run
Which AWS service allows you to monitor container performance metrics?
Amazon CloudWatch
Fill in the blank: The _____ orchestrates the deployment of containers in Amazon ECS.
ECS service scheduler
What is the role of a Load Balancer in containerized applications?
To distribute incoming traffic across multiple containers to ensure availability and reliability.
True or False: ECS supports both Windows and Linux containers.
True
What is the purpose of a container registry?
To store and manage Docker container images.
What is the command to build a Docker image?
docker build
What feature of ECS allows you to automatically adjust the number of running containers?
Auto Scaling
Fill in the blank: Amazon ECS uses _____ to define the network configuration for tasks.
task networking
What does the term ‘container orchestration’ refer to?
The automated management of containerized applications, including deployment, scaling, and operation.
What is a ‘service’ in Amazon ECS?
A long-running task that maintains a specified number of task instances.
What is the maximum number of containers that can run on a single EC2 instance in ECS?
It depends on the instance type and its resources.
True or False: You can run Docker containers on AWS Lambda.
True
What does the ‘docker-compose’ file do?
Defines and runs multi-container Docker applications.
What is the purpose of the ‘health check’ in ECS?
To determine the health of a running container and ensure it is functioning correctly.