Containers Flashcards

1
Q

What is ECS (elastic container service)?

A

ECS is a container service for deploying and managing docker containers

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

What do we use ECS (elastic container service) for?

A

ECS helps you manage the deployment, scaling, and orchestration of these containers (don’t need to worry about underlying infrastructure)

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

What is EKS?

A

Managed kubernetes service

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

What do we use EKS (elastic kubernetes service) for?

A

Useful if you are already familiar with EKS

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

What is ECR (elastic container registry)?

A

Elastic Container Registry

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

What do we use ECR (elastic container registry) for?

A

ECR is used to STORE containers (images).

Create a container imagein -> push to ECR -> orchestration service (ie., EKS, ECS)

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

Are ECS, EKS and ECR designed to work seamlessly with Docker?

A

Yes

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

Is a question about transitioning from a monolithic to microservice a hint the answer will be related to containers?

A

Yes

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

Where are the 2 places you can deploy your apps?

A
  • On EC2 instances
  • On Fargate (serverless)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which is the quickest option to get an app up and running, if you already know Kubernetes: ECS, ECR or EKS?

A

EKS

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

What should you use if you want to run and manage containers (e.g., Docker containers) in a highly scalable and easy-to-manage environment?

A

ECS

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

What should you use if you need a secure and managed repository to store and manage your container images?

A

ECR

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

What should you use when you want to run Kubernetes clusters in a managed and scalable manner on AWS.

A

EKS

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

What is the benefit of the EKS CLI tool?

A

EKS CLI took simplifies the administration and operation of EKS clusters through text-based command

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

What is a node group in EKS?

A

It is where we are putting our EC2 instance that includes software to run containers (nodes)

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

Learn EKS key components

A
17
Q

What is the most efficient way to give an IAM user access to 10 separate registries to push or pull Docker images?

A

Create 1 IAM policy that grants the appropriate access to the ECR service and obtain 5 authorization tokens to access each registry

18
Q

A company uses AWS, but is only experimenting with container orchestration.

Which management service that supports Docker microsevices can the company adopt that won’t require learning a new container management system?

A

ECS

19
Q

A company wants AWS to manage the host instances and containers are much as possible, but are willing to manage both if necessary.

The company has apps managed with Kubernetes and hosted on windows.

Name 2 options for this company

A

EKS with self-managed nodes

or

EKS on AWS Fargate

20
Q

Can fargate work with EKS or ECS?

A

Yes

21
Q

A company wants to migrate to a managed kubernetes app on the cloud that will be hosted on ON-PREMISES Windows virtual servers.

What is the best option?

A

EKS

You would thine EKS on Fargate, but because

22
Q

Why would you not run 3 docker containers together on your Docker host in production?

A

Because changes to 1 container can impact all 3 containers

23
Q

How does a developer know the deployment of a web app on ECS using CodeDeploy

A

Blue/Green

(this is a whole load of other compute nodes that we can use to test etc)