Google Kubernetes Engine Flashcards

1
Q

What is Google Kubernetes Engine (GKE)?

A

A managed Kubernetes service for deploying, managing, and scaling containerized applications using Google Cloud

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

What is a Kubernetes cluster in GKE?

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
3
Q

What is a node in a GKE cluster?

A

A VM instance in Compute Engine that runs containerized applications and is managed by the Kubernetes control plane

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

What is the Kubernetes control plane?

A

The set of processes that manage the state of a Kubernetes cluster, including the API server, scheduler, and controller manager

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

How do you create a GKE cluster?

A

Using the Google Cloud Console, gcloud command-line tool, or API

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

What is a pod in Kubernetes?

A

The smallest deployable unit in Kubernetes, consisting of one or more containers that share storage and network resources

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

What is a deployment in Kubernetes?

A

A resource that manages a set of identical pods, ensuring the desired number of replicas are running

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

What is a service in Kubernetes?

A

An abstraction that defines a logical set of pods and a policy for accessing them, often used for load balancing

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

What is a namespace in Kubernetes?

A

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
10
Q

What is a ConfigMap in Kubernetes?

A

A resource used to store configuration data that can be consumed by pods

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

What is a Secret in Kubernetes?

A

A resource used to store sensitive data, such as passwords, OAuth tokens, and SSH keys

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

How do you scale a deployment in GKE?

A

By modifying the deployment’s replica count using the kubectl command or the Google Cloud Console

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

What is a StatefulSet in Kubernetes?

A

A resource used to manage stateful applications, ensuring that each pod has a unique, stable identity and persistent storage

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

What is a DaemonSet in Kubernetes?

A

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

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

What is the purpose of using node pools in GKE?

A

To group nodes within a cluster based on their configuration, such as machine type or labels, allowing for more flexible management

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