APP CONTAINERS Flashcards

1
Q

What is a container in the context of application development?

A

A container is a logical application isolation boundary where everything needed for the application to function is present.

OR

A container is a runtime instance of an image.

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

Can a container hold an entire application or just a single app component?

A

A container can hold either an entire application or a single app component.

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

How are larger, complex applications typically managed in terms of containers?

A

Larger, complex applications are usually divided into multiple application containers that work together and exchange data either through the file system level or over the network.

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

What operating systems can serve as a host for running containerized applications?

A

The host operating system can be macOS, Linux, or Windows.

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

Which tools can be used to run containerized applications?

A

Containerized applications can be run through containerd or the Docker engine

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

What makes containers portable across different environments?

A

The inclusion of all necessary binaries and libraries within the application container makes it portable across different environments.

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

What do we install on our host operating system to manage containers?

A

e install a container runtime, such as the Docker engine, which provides command-line tools to manage containers.

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

What is a microservice in the context of application development?

A

microservice is a focused app functionality, such as an app that deals with logging or the upload portion of a website.

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

How can a single microservice be deployed?

A

A single microservice can be deployed as one app container.

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

What is app component decoupling through messaging queues?

A

App component decoupling through messaging queues involves components communicating indirectly through a messaging queue, instead of calling each other directly.

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

What is the main advantage of using messaging queues for communication between microservices?

A

The main advantage is Asynchronous Communication: The sender can continue doing its work after placing the message, and the receiver can process the message whenever it’s available.

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

What are running containers based on?

A

Running containers are based on container images.

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

Where can container images be stored?

A

Container images can be stored locally, in a private repository, or in a public repository like Docker Hub.

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

What is an example of what a container image might include?

A

An example of what a container image might include is a Linux environment with some utilities.

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

What are some of the contents that an application container could include?

A

An application container could include scripts, binaries, container file system, app-specific libraries, software components (e.g., Java component for a small web server stack), runtime environment (Linux, Python, web server), configuration files, and software tools.

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

What are the benefits of using application containers in terms of app portability?

A

Application containers ensure that applications can run consistently across different environments without requiring modifications to the underlying operating system settings, files, or libraries.

17
Q

How do application containers compare to virtual machines (VMs) in terms of startup time?

A

Application containers have a quicker startup time compared to virtual machines (VMs).

18
Q

What does resiliency mean in the context of application containers?

A

In the context of application containers, resiliency means that code changes, updates, and testing can be done per app container without bringing down the other containers.

19
Q

What is a Cloud container registry?

A

a centralised repository for customised container images

20
Q

Which sources can an azure container instance derive its container image from?

A

ARM template
ACR
Docker Hub
Local file

21
Q

How does a containerised application appear to host OS?

A

it appears as a running process