Containers Flashcards

1
Q

Q: What are containers in cloud computing?

A

A: Containers are lightweight, portable, and isolated environments that package applications and their dependencies, enabling consistent operation across different environments.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Q: What are the key benefits of using containers?

A

A: Portability, efficient resource utilization, rapid deployment, scalability, and isolation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Q: What is Docker?

A

A: Docker is a popular platform for creating, deploying, and managing containers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Q: What is Amazon ECS?

A

A: Amazon Elastic Container Service (ECS) is a fully managed container orchestration service that allows you to run, scale, and secure containerized applications.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Q: What is AWS Fargate?

A

A: AWS Fargate is a serverless compute engine for running containers without managing the underlying infrastructure.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Q: What is Amazon EKS?

A

A: Amazon Elastic Kubernetes Service (EKS) is a managed Kubernetes service for deploying, managing, and scaling containerized applications.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Q: What is a Docker image?

A

A: A Docker image is a lightweight, standalone, and executable package that contains everything needed to run a piece of software.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Q: What is Amazon ECR?

A

A: Amazon Elastic Container Registry (ECR) is a fully managed Docker container registry for storing, managing, and deploying container images.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Q: What is container orchestration?

A

A: The process of automating container deployment, scaling, networking, and management.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Q: How does ECS differ from EKS?

A

A: ECS is AWS-native for container orchestration, while EKS uses Kubernetes, an open-source container orchestration system.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Q: What is a task definition in ECS?

A

A: A JSON file that describes how containers should run, including CPU/memory, image location, and network settings.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Q: What is an ECS cluster?

A

A: A logical grouping of tasks or services running on ECS, backed by EC2 instances or Fargate.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Q: What is Kubernetes?

A

A: An open-source platform for automating container orchestration, including deployment, scaling, and management.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Q: What are the core components of Kubernetes?

A

A: Nodes, Pods, Deployments, Services, ConfigMaps, and Persistent Volumes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Q: What is the Kubernetes control plane?

A

A: The collection of processes responsible for managing the state of a Kubernetes cluster, including the API server and scheduler.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Q: What is the difference between Fargate and EC2 launch types in ECS?

A

A: Fargate is serverless, while EC2 requires managing the underlying EC2 instances.

17
Q

Q: What are the networking modes in ECS?

A

A: Bridge, Host, and AWS VPC.

18
Q

Q: How are container logs managed in AWS?

A

A: Using CloudWatch Logs with ECS, EKS, or Docker logging drivers.

19
Q

Q: How does IAM work with containers in AWS?

A

A: By assigning IAM roles to ECS tasks or Kubernetes service accounts for secure access to AWS resources.

20
Q

Q: What is the sidecar pattern in containers?

A

A: A design where a sidecar container runs alongside the main container to provide supporting functionality like logging or proxying.

21
Q

Q: What is service discovery in ECS?

A

A: The ability for containers to find and connect to each other using DNS or AWS Cloud Map.

22
Q

Q: How does ECS handle auto scaling?

A

A: Using Service Auto Scaling to scale ECS services or Cluster Auto Scaling for EC2 instances.

23
Q

Q: What are EKS Add-ons?

A

A: Managed Kubernetes operational software like CoreDNS, VPC CNI, and kube-proxy.

24
Q

Q: How do containers handle persistent storage in AWS?

A

A: By integrating with EBS, EFS, or FSx for shared storage.

25
Q

Q: How is CloudFormation used with containers?

A

A: To define and deploy ECS clusters, EKS resources, and containerized workloads.

26
Q

Q: What is AWS App Runner?

A

A: A fully managed service to deploy and scale containerized applications or source code repositories.

27
Q

Q: What are security best practices for containers?

A

A: Use IAM roles, implement image scanning, restrict network access, and run containers with least privilege.

28
Q

Q: How does AWS handle container image scanning?

A

A: Amazon ECR provides vulnerability scanning for container images.

29
Q

Q: What is CloudWatch Container Insights?

A

A: A monitoring feature that provides metrics, logs, and diagnostics for ECS, EKS, and Fargate.

30
Q

Q: What is Bottlerocket in AWS?

A

A: A Linux-based operating system optimized for running containers.

31
Q

Q: What is a blue-green deployment in containers?

A

A: A deployment strategy where two environments (blue and green) are used to reduce downtime during updates.

32
Q

Q: What is a canary deployment in containerized applications?

A

A: A deployment method where updates are released to a small subset of users before full deployment.

33
Q

Q: What is a container registry?

A

A: A repository for storing and managing container images, such as Amazon ECR or Docker Hub.

34
Q

Q: What is Helm in Kubernetes?

A

A: A package manager for Kubernetes applications that simplifies deployment and management.

35
Q

Q: What is Virtual Kubelet in EKS?

A

A: A component that enables Kubernetes to integrate with AWS Fargate.