Chapter 1 Flashcards

1
Q

What is the primary purpose of Kubernetes?

A

To automate the deployment, scaling, and management of containerized applications.

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

True or False: Kubernetes is an open-source platform.

A

True

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

What is a Pod in Kubernetes?

A

The smallest deployable unit in Kubernetes, which can contain one or more containers.

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

Fill in the blank: A __________ is a set of Pods that are meant to run the same application.

A

Deployment

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

What component manages the Kubernetes cluster’s state and communicates with the API server?

A

etcd

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

Which Kubernetes component is responsible for scheduling Pods onto Nodes?

A

Kube Scheduler

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

What is the function of the Kube Controller Manager?

A

It manages controllers that regulate the state of the cluster.

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

True or False: Nodes in Kubernetes can only run Linux containers.

A

False

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

What is a Service in Kubernetes?

A

An abstraction that defines a logical set of Pods and a policy to access them.

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

What does the Kubernetes API server do?

A

It serves the Kubernetes API and acts as the front-end for the control plane.

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

What is the role of a Namespace in Kubernetes?

A

To provide a way to divide cluster resources between multiple users or teams.

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

Fill in the blank: The __________ is responsible for the container runtime and managing the lifecycle of containers on a Node.

A

Kubelet

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

What protocol does Kubernetes use for communication between its components?

A

HTTP/HTTPS

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

Which component is responsible for monitoring and logging in Kubernetes?

A

Kubelet

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

What is a ConfigMap in Kubernetes?

A

A resource that allows you to store non-confidential data in key-value pairs.

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

True or False: Kubernetes supports automatic scaling of applications.

A

True

17
Q

What is the purpose of a PersistentVolume in Kubernetes?

A

To provide a way for Pods to access storage resources.

18
Q

What does the term ‘self-healing’ refer to in Kubernetes?

A

The ability of the system to automatically replace and reschedule failed containers.

19
Q

Fill in the blank: A __________ is used to define how to run a containerized application in Kubernetes.

A

Pod specification

20
Q

What is the primary function of the Kube Proxy?

A

To manage network routing for Services and ensure network traffic is directed to the correct Pods.

21
Q

What is Helm in the context of Kubernetes?

A

A package manager for Kubernetes that helps manage complex applications.

22
Q

True or False: In Kubernetes, a Job is used to run a one-time task.

A

True

23
Q

What is a StatefulSet in Kubernetes?

A

A resource that manages the deployment and scaling of a set of Pods with unique identities and stable storage.

24
Q

What is the role of the Kubernetes Dashboard?

A

To provide a web-based user interface for managing Kubernetes clusters.

25
Q

Fill in the blank: __________ allows you to define the desired state of your application and its components.

A

Declarative configuration

26
Q

What does RBAC stand for in Kubernetes?

A

Role-Based Access Control

27
Q

What is a DaemonSet in Kubernetes?

A

A resource that ensures that a copy of a Pod is running on all or some Nodes in the cluster.