Kubernets Flashcards

Definitions and terms that make up the Kubernet cluster architecture

1
Q

What is Kubernetes?

A

A container orchestration platform for automating deployment, scaling, and operations of application containers across clusters of hosts.

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

What are Pods in Kubernetes?

A

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

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

What is a distributed key-value store?

A

A highly available and consistent database that stores configuration data, metadata, and state for distributed systems.

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

What is the Control Plane in Kubernetes?

A

The set of components that manage the Kubernetes cluster, including scheduling, controllers, and API access.

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

What is Kube-apiserver?

A

The front-end component of the Kubernetes control plane that exposes the Kubernetes API and processes REST requests.

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

What is etcd?

A

A distributed key-value store used by Kubernetes to store cluster state and configuration data reliably.

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

What does kube-scheduler do?

A

A control plane component that assigns newly created pods to available nodes based on resource requirements and constraints.

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

What is kube-controller-manager?

A

A component that runs controller processes to regulate the cluster state, such as managing nodes, endpoints, and replication.

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

What is cloud-controller-manager?

A

A Kubernetes component that integrates with cloud provider APIs to manage cloud-specific resources such as load balancers and storage.

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

What are Kubernetes nodes?

A

The worker machines in a Kubernetes cluster that run containerized applications and are managed by the control plane.

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

What is Kubelet?

A

A node agent that ensures containers in a pod are running and communicates with the Kubernetes control plane.

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

What does kube-proxy do?

A

network component that maintains the network rules for service discovery and routing in nodes

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

What is a container runtime?

A

Software responsible for running containers, such as Docker, containerd, or CRI-O, within Kubernetes nodes.

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

What are the features of Kubernetes?

A

Self-healing, Secret and configuration management, load balancing, automatic rollback and rollout, automatic bin packaging, storage orchestration.

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

FCCJSC — Kubernets Best Practices

A
  • F – File validation: Ensure input files are verified before processing
  • C – Credential path configuration: Secure and correctly configure paths to credentials
  • C – Compound error handling: Gracefully manage multiple errors without leaking sensitive data
  • J – JSON construction best practices: Sanitize and validate JSON structures before use
  • S – Shell command validation: Avoid injection by validating and sanitizing shell input
  • C – Code readability through consistent parsing: Use clear and consistent parsing logic to prevent misinterpretation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

PM-TOSS- Serverless Security

A
  • P – Permissions: Minimize them
  • M – Monitor function layers
  • T – Third-party security tools
  • U – Update dependencies
  • S – Snyk and other scanning tools
  • S – Sanitize event inputs