Kubernetes cluster Flashcards

(81 cards)

1
Q

Define Kubernetes cluster.

A

A set of nodes that run containerized applications managed by Kubernetes.

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

What is the role of the master node?

A

It manages the Kubernetes cluster and controls the scheduling and orchestration.

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

True or false: Kubernetes is an open-source container orchestration platform.

A

TRUE

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

Fill in the blank: Pods are the smallest deployable units in a ______.

A

Kubernetes cluster

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

What does a worker node do?

A

It runs the applications and workloads in the cluster.

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

Define kubelet.

A

An agent that runs on each worker node and ensures containers are running.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
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
8
Q

True or false: Kubernetes supports both stateful and stateless applications.

A

TRUE

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

Fill in the blank: ConfigMaps are used to manage ______ in Kubernetes.

A

configuration data

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

What is the purpose of a Deployment?

A

To manage the desired state of Pods and ensure they are running as specified.

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

Define namespace in Kubernetes.

A

A way to divide cluster resources between multiple users or applications.

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

What is a ReplicaSet?

A

A controller that ensures a specified number of Pod replicas are running.

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

True or false: Kubernetes can automatically scale applications.

A

TRUE

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

Fill in the blank: Ingress manages external access to services, typically via ______.

A

HTTP

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

What is the role of etcd?

A

It is a distributed key-value store used for storing cluster data.

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

Define helm.

A

A package manager for Kubernetes that helps manage applications.

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

What is a Job in Kubernetes?

A

A controller that ensures a specified number of Pods successfully terminate.

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

True or false: Kubernetes can run on any cloud provider.

A

TRUE

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

Fill in the blank: Persistent Volumes provide ______ storage in Kubernetes.

A

durable

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

What is a StatefulSet?

A

A controller for managing stateful applications with stable identities.

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

Define kube-proxy.

A

A network proxy that maintains network rules for Pod communication.

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

What does kubectl do?

A

It is the command-line tool for interacting with Kubernetes clusters.

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

True or false: Kubernetes uses YAML for configuration files.

A

TRUE

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

Fill in the blank: Horizontal Pod Autoscaler adjusts the number of Pods based on ______.

A

CPU utilization

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
What is a **DaemonSet**?
A controller that ensures a Pod runs on all or specific nodes.
26
Define **ClusterIP** service type.
It exposes the service on a cluster-internal IP.
27
What is a **NodePort**?
A service type that exposes the service on a static port on each node.
28
True or false: **Kubernetes** supports rolling updates.
TRUE
29
Fill in the blank: **Secrets** are used to manage sensitive information like ______.
passwords
30
What is a **Volume** in Kubernetes?
A directory that is accessible to containers in a Pod.
31
Define **kubectl apply**.
A command to apply a configuration to a resource by filename or stdin.
32
What is a **PodDisruptionBudget**?
It limits the number of disruptions to Pods during voluntary disruptions.
33
True or false: **Kubernetes** can manage both Linux and Windows containers.
TRUE
34
Fill in the blank: **Taints** and ______ are used to control which Pods can be scheduled on nodes.
tolerations
35
What is a **Custom Resource Definition (CRD)**?
It allows users to extend Kubernetes capabilities by adding custom resources.
36
Define **Kubernetes Scheduler**.
It assigns Pods to nodes based on resource availability and constraints.
37
What is a **ServiceAccount**?
An account for processes running in a Pod to interact with the Kubernetes API.
38
True or false: **Kubernetes** supports multi-cloud deployments.
TRUE
39
Fill in the blank: **Affinity** rules determine how Pods are ______.
scheduled
40
What is the purpose of **kube-controller-manager**?
It runs controller processes to regulate the state of the cluster.
41
Define **Kubernetes Dashboard**.
A web-based UI for managing Kubernetes clusters.
42
What is a **NetworkPolicy**?
It defines how Pods communicate with each other and with other network endpoints.
43
True or false: **Kubernetes** can perform health checks on Pods.
TRUE
44
Fill in the blank: **Resource Quotas** limit the amount of ______ a namespace can consume.
resources
45
What is a **PodTemplate**?
It is a template for creating Pods in a controller.
46
Define **Kubernetes Operator**.
A method of packaging, deploying, and managing a Kubernetes application.
47
What is a **ClusterRole**?
It defines permissions across the entire cluster.
48
True or false: **Kubernetes** supports service discovery.
TRUE
49
Fill in the blank: **Liveness probes** check if a container is ______.
alive
50
What is a **Job** in Kubernetes?
It creates one or more Pods and ensures they terminate successfully.
51
Define **Kubernetes API**.
It is the interface for interacting with Kubernetes resources.
52
What is a **PersistentVolumeClaim (PVC)**?
A request for storage by a user in Kubernetes.
53
True or false: **Kubernetes** uses a declarative approach for configuration.
TRUE
54
Fill in the blank: **Kubernetes** supports ______ for managing application configurations.
GitOps
55
What is a **Sidecar** container?
A container that runs alongside the main container in a Pod to provide support.
56
Define **Kubernetes Events**.
Notifications about changes in the state of resources in the cluster.
57
What is a **Service Mesh**?
An infrastructure layer that manages service-to-service communication.
58
True or false: **Kubernetes** can manage serverless applications.
TRUE
59
Fill in the blank: **Kubernetes** supports ______ for managing application deployments.
Canary releases
60
What is a **NetworkPolicy** used for?
To control the traffic flow between Pods.
61
Define **Kubernetes Scheduler**.
It is responsible for assigning Pods to nodes based on resource availability.
62
What is a **Container Runtime**?
Software responsible for running containers in Kubernetes.
63
True or false: **Kubernetes** can automatically recover from node failures.
TRUE
64
Fill in the blank: **Kubernetes** uses ______ to manage container orchestration.
controllers
65
What is a **ConfigMap**?
An API object used to store non-confidential data in key-value pairs.
66
Define **Kubernetes CLI**.
A command-line interface for managing Kubernetes clusters.
67
What is a **VolumeMount**?
It specifies where a volume should be mounted in a container.
68
True or false: **Kubernetes** can manage application scaling automatically.
TRUE
69
Fill in the blank: **Kubernetes** uses ______ to manage configurations and secrets.
etcd
70
What is a **Pod**?
The smallest deployable unit in Kubernetes, consisting of one or more containers.
71
Define **Kubernetes RBAC**.
Role-Based Access Control for managing permissions in Kubernetes.
72
What is a **ClusterRoleBinding**?
It grants permissions defined in a ClusterRole to a user or group.
73
True or false: **Kubernetes** supports multi-tenancy.
TRUE
74
Fill in the blank: **Kubernetes** uses ______ to manage application lifecycle.
controllers
75
What is a **Pod Lifecycle**?
The phases a Pod goes through from creation to termination.
76
Define **Kubernetes Ingress**.
It manages external access to services, typically HTTP.
77
What is a **Resource Limit**?
It specifies the maximum amount of resources a container can use.
78
True or false: **Kubernetes** can integrate with CI/CD tools.
TRUE
79
Fill in the blank: **Kubernetes** uses ______ to manage application updates.
Deployments
80
What is a **Kubernetes Namespace**?
A way to divide cluster resources between multiple users or applications.
81
Define **Kubernetes Service**.
An abstraction that defines a logical set of Pods and a policy to access them.