Kerbeos and Azure Flashcards

1
Q

What is the Stackable Unification File System (Unionfs)?

A

UnionFS (Union File System) is a file system that allows multiple file systems (branches) to be mounted together in a way that they appear as a single unified file system. This allows you to overlay different directories, files, or layers, and work with them as if they were part of a single file system.

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

What is a Dockerfile?

A

A Dockerfile is a text file that contains the instructions we use to build and run a Docker image. It defines the following aspects of the image:

The base or parent image we use to create the new image

Commands to update the base OS and install additional software

Build artifacts to include, such as a developed application

Services to expose, such as storage and network configuration

Command to run when the container is launched

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

How to list images?

A

docker images

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

How to remove an image?

A

docker rmi

You can’t remove an image if a container is still using the image.

Specify the name or ID of the image to remove.

docker rmi temp-ubuntu:version-1.0

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

What is a container image?

A

A container image is a lightweight, standalone, and executable package that includes everything needed to run a piece of software. This includes the application code, runtime, libraries, environment variables, configuration files, and dependencies.

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

What is the host OS?

A

The host OS is the OS on which the Docker engine runs. Docker containers running on Linux share the host OS kernel, and don’t require a container OS as long as the binary can access the OS kernel directly.

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

What is the container OS?

A

The container OS is the OS that’s part of the packaged image. We have the flexibility to include different versions of Linux or Windows operating systems in a container. This flexibility allows us to access specific OS features or install additional software our applications might use.

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

What is a base image?

A

A base image in Docker is the foundational image upon which you build your custom Docker images. It contains the minimal set of operating system files and dependencies that provide the environment for your application to run.

In a Dockerfile, the base image is specified using the FROM directive. This is the first line in the Dockerfile and tells Docker which image to use as the starting point.

Specify the base image
FROM ubuntu:20.04

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

How to view available containers

A

docker ps -a

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

How to run a container

A

docker run -d tmp-ubuntu

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

How to restart a container

A

docker restart happy_wilbur

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

How to remove a container

A

docker rm happy_wilbur

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

What is the bridge network?

A

The bridge network is the default configuration applied to containers when launched without specifying any other network configuration. This network is an internal, private network used by the container, and it isolates the container network from the Docker host network.

The bridge network doesn’t allow communication between containers using hostnames.

By default, Docker doesn’t publish any container ports. To enable port mapping between the container ports and the Docker host ports, use the Docker port –publish flag.

In this example, your tracking portal is accessible to clients browsing to port 80. You’ll have to map port 80 from the container to an available port on the host. You have port 8080 open on the host, which allows you to set the flag like this:

-publish 8080:80

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

What is the host network?

A

The host network enables you to run the container on the host network directly. This configuration effectively removes the isolation between the host and the container at a network level.

In this example, let’s assume you decide to change the networking configuration to the host network option. Your tracking portal is still accessible using the host IP. You can now use the well-known port 80 instead of a mapped port.

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

There are three key mechanisms through which Azure resource can communicate

A

VNets, VNet service endpoints, and VNet peering

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

How to communicate between on-premise resources and azure resources?

A

Point-to-site virtual private network (VPN), Site-to-site VPN, Azure ExpressRoute.

16
Q

Azure allocates IPs in a virtual network from the address space that you provision.

A

For example, the IP address range of 192.168.1.0/24 has the following reserved addresses:

192.168.1.0
192.168.1.1 (Reserved by Azure for the default gateway.)
192.168.1.2, 192.168.1.3 (Reserved by Azure to map the Azure DNS IPs to the VNet space.)
192.168.1.255 (Network broadcast address.)

17
Q

VNet Service Endpoints

A

Service Endpoints ensure that traffic between your VNet and Azure services stays within the Azure backbone network, rather than traversing the public internet.

18
Q

VNet Peering

A

in Azure is a feature that allows you to connect two or more Virtual Networks (VNets) in Azure, enabling resources in different VNets to communicate with each other as if they were part of the same network. This is useful for scenarios where you need to interconnect VNets across regions or subscriptions while maintaining the isolation between them.