testing 2 k8s Flashcards

(26 cards)

1
Q

Define Kubernetes.

A

An open-source platform for automating deployment, scaling, and management of containerized applications.

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

What is a pod in Kubernetes?

A

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

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

True or false: Kubernetes can manage both stateless and stateful applications.

A

TRUE

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

Fill in the blank: Kubernetes uses _______ for service discovery.

A

Labels

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

What is a node in Kubernetes?

A

A worker machine in Kubernetes, which can be a physical or virtual machine.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
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
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 automatic scaling of applications.

A

TRUE

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

Fill in the blank: Kubernetes uses _______ for managing application configurations.

A

ConfigMaps

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

What is a deployment in Kubernetes?

A

A resource that provides declarative updates to applications, managing the lifecycle of pods.

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

What is a volume in Kubernetes?

A

A storage resource that can be shared among containers in a pod.

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

True or false: Kubernetes can automatically roll back failed deployments.

A

TRUE

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

Fill in the blank: Kubernetes uses _______ for managing secrets.

A

Secrets

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

What is a ReplicaSet?

A

A Kubernetes resource that ensures a specified number of pod replicas are running.

17
Q

Define ingress in Kubernetes.

A

A collection of rules that allow external HTTP/S traffic to reach services in a cluster.

18
Q

What is a ConfigMap?

A

A Kubernetes resource used to store non-confidential data in key-value pairs.

19
Q

True or false: Kubernetes can manage container orchestration across multiple clouds.

20
Q

What is a Job in Kubernetes?

A

A resource that creates one or more pods to perform a specific task and then terminates.

21
Q

Fill in the blank: Kubernetes uses _______ for network policies.

A

NetworkPolicy

22
Q

What is a stateful set?

A

A Kubernetes resource for managing stateful applications, providing stable network identities.

23
Q

Define helm in Kubernetes.

A

A package manager for Kubernetes that simplifies deployment and management of applications.

24
Q

What is a DaemonSet?

A

A resource that ensures a copy of a pod runs on all or some nodes in a cluster.

25
True or false: **Kubernetes** supports multi-container pods.
TRUE
26
Fill in the blank: **Kubernetes** uses _______ for load balancing.
Services