Containerization Flashcards

(14 cards)

1
Q

What is containerization?

A

Containerization is a form of application virtualization that packages an app and all its dependencies into a self-contained unit called a container, which runs isolated but shares the host OS.

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

How does containerization differ from traditional virtual machines?

A

Containers share the host OS and are lightweight, while virtual machines include a full OS, making them heavier and less resource-efficient.

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

Why is containerization useful for deployment?

A

It allows developers to package an app once and run it consistently across any environment—local, testing, or cloud—without compatibility issues.

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

How does containerization improve scalability in app development?

A

Apps can be split into microservices, each in its own container, allowing them to scale independently based on demand.

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

Why is containerization useful for deployment?

A

It allows developers to package an app once and run it consistently across any environment—local, testing, or cloud—without compatibility issues.

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

Why are containers more resource-efficient than virtual machines?

A

Containers are lightweight, sharing the host OS, so multiple containers can run on the same hardware without the overhead of multiple full OS instances.

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

How does containerization support CI/CD workflows?

A

Containers integrate easily with automated testing and deployment pipelines, making development faster and more reliable.

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

What is the main benefit of containerization for application portability?

A

Containers isolate the application from the environment, so it can run the same way anywhere, whether on-premises or in the cloud.

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

Why do load balancers matter in a containerized environment?

A

Containers are ephemeral and can scale up or down quickly, so load balancers ensure traffic is routed to the right containers dynamically, keeping apps responsive and reliable.

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

How does a load balancer track containers that come and go?

A

Modern load balancers use service discovery or health checks to detect active containers and update the list of available endpoints automatically.

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

What challenge do containers pose for traditional load balancing?

A

Containers can appear and disappear frequently, and may have dynamic IPs, so load balancers must adapt in real-time rather than relying on static server lists.

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

How do load balancers enable scalability in containerized apps?

A

They distribute traffic evenly across containers, allowing horizontal scaling—new container instances are automatically added to handle increased load.

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

Can load balancers use container metadata for routing?

A

Yes. Load balancers can route traffic based on container labels, namespaces, or exposed ports, allowing more intelligent, service-aware distribution.

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

How do containers benefit from load balancers?

A

Containers can remain lightweight and stateless while load balancers handle session persistence, health checks, and failover, ensuring clients always reach a healthy instance.

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