Module 1 Understanding the Benefits of Containers Flashcards

1
Q

What is use to virtualized physical hardware?

A

Hypervisors

Hypervisors traditionally virtualize physical hardware.

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

What is one benefit of containers?

A

They supply portability between different platforms and clouds

Containers simplify portability between different platforms and clouds.

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

What is an important difference between containers and virtual machines?

A

Containers virtualize the operating system and VMs virtualize the hardware

Containers have an advantage because they virtualize the operating system while virtual machines only virtualize hardware.

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

What are the operating system primitives that enable virtualization in the Linux Kernel?

A

namespace and cgroups

In the case of the Linux kernel, namespaces and cgroups are the operating system primitives that enable this virtualization.

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

True or False

An image is immutable.

A

True

An Image is read-only, or considered immutable.

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

What defines a read-only file that holds code, libraries, and dependencies that are required?

A

Container image

The definition of a container image is a read-only file that holds code, libraries, and dependencies that are required by an application to run.

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

What is one of the reasons that Containers are considered a better option than virtual machines?

A

Containers are small and consume fewer resources than virtual machines.

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

What platform is used for container orchestration?

A

Kubernetes

Kubernetes is a container orchestration platform.

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

Why are containers considered lightweight?

A

Guest OS is not required

Containers are lightweight because they eliminate the need to have guest OS.

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

What is a Dockerfile?

A

A text file that contains all the commands a user would call on the command line to create the image.

A Dockerfile is a text image that contains the instructions to create a new container image.

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