Module 14 - Containerization Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Benefits of using containers to package applications

A
  • Isolate applications from their environment
  • Simplifies deployment
  • Improves portability
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How are dependencies managed in containerized applications?

A

The application obtains its dependencies from the container in which it is shipped, and not from the host on which it is deployed

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

_______ can containerize applications, whereas _______ can automate container provisioning and scaling across multiple hosts

A

Docker

Kubernetes

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

Why are Virtual Machines (VMs) less preferable than containers?

A
  • Virtual machines are heavier
  • VMs take longer to spin up than containers
  • VMs uses the hardware environment whereas containers use the software environment only
  • Multiple containers can run as independent processes on a single host whereas VMs require their own host with its own file system
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

The _____ _____ is used to configure and run containers

A

Docker Engine

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

A docker container executes software which is packaged in a single file called a Docker ______ ______

A

Container Image

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

Difference between docker image and VM image

A
  • Docker image is much smaller and easier to copy between hosts
  • VM image encapsulates an entire guest OS whereas Docker image only encapsulates an application and its dependencies
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Why are linux containers preferred over windows containers?

A

Linux is free software whereas windows requires a supplemental license which is granted my Microsoft

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

A docker image is a file that _______ an application and its _______

A

encapsulates

dependencies

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

What is a parent image in dockerfiles?

A

The parent image is often a base image obtained from Docker’s servers, that provides the abstraction of a particular linux distribution along with some software platform (ex: java, python, or a database)

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

When a docker image is built, it is built on top of the ______ image according to the dockerfile

A

parent

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