Cloud native concepts Flashcards

1
Q

what is docker?

A

a tool that enables you to create, deploy and run applications by using containers

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

What is a Dockerfile?

A

a file containing information (series of commands) on how to build a docker image

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

what is a docker image and what does it contain?

A
an unchangeable file that contains 
- source code
- libraries
- dependencies
- tools
- other files 
needed for an application to run.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what is a container?

A

a virtualized environment where users can isolate applications from the underlying system

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

difference between image and container

A

containers depend on docker images and use them to create the virtualized environment

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

difference between container and VM

A
  1. containers are specific for a technology
  2. containers can be disposed of easier
  3. container virtualizes operating system
  4. VM virtualizes hardware
  5. VM have a host OS in general => much bigger
  6. if you use containers you don’t need to have an OS for every app
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

what is the container registry?

A

store manage and secure container images

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

what is a microservice and what are the benefits?

A

an architectural style that structures an application as a collection of services that are:

  • Highly maintainable and testable
  • Loosely coupled
  • Independently deployable
  • Continuous refactoring
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

docker build

A

creates an image from a Dockerfile

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

-t

A

specifies the repository and a tag

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

docker tag

A

create a tag that refers to an image

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

docker create

A

create a container from an image

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

docker run

A

docker create + docker start

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

docker push

A

push image to a registry

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

docker pull

A

pull image from a registry

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

What is Kubernetes and what is it used for?

A

Open source system for:

  • automating deployment
  • scaling
  • management of containerized apps
17
Q

What are Kubernetes namespaces?

A

virtual clusters backed by the same physical cluster

18
Q

What is a pod?

A
  • smallest deployable units of computing that you can create and manage in Kubernetes
  • group of containers with shared network/storage
  • have a specification on how to run the containers
19
Q

What is a replica set?

A

ensures how many replicas of a pod should be running