Introduction to Kubernetes Quiz¶
## Question 1
**At its core, Kubernetes is a platform for:**
- [ ] Provisioning machines (similar to Puppet, Ansible)
- [x] Running and scheduling container applications on a cluster
- [ ] Packaging software in containers
---
## Question 2
**In Kubernetes, a node is:**
- [ ] A tool for starting a kubernetes cluster on a local machine
- [x] A worker machine, managed by the control plane and contains the services necessary to run Pods
- [ ] A machine that coordinates the scheduling and management of application containers on the cluster
---
## Question 3
**What is kube-apiserver?**
- [ ] CLI (command-line interface) that is used to run commands against Kubernetes clusters
- [ ] Service agent that controls and maintains a set of pods by watching for pod specs through the Kubernetes API server
- [ ] A network proxy that runs on each node in your cluster and is used to support service abstraction with other networking operations. It is responsible for directing traffic to the container depending on IP and port number.
- [ ] Service that assigns nodes to newly created pods.
- [x] Component of the Kubernetes control plane that exposes the Kubernetes API and acts as a front end for the K8s Control plane and is used to configure and validate API objects
---
## Question 4
**This daemon embeds the core control loops shipped with Kubernetes, helps to reconcile desired state on the cluster:**
- [ ] API server
- [x] Controller Manager
- [ ] ETCD
- [ ] Kubelet
- [ ] kube-proxy
- [ ] kube-scheduler
---
## Question 5
**_______ manages assigning nodes to pods depending on resource availability:**
- [ ] API server
- [ ] Controller Manager
- [ ] ETCD
- [ ] Kubelet
- [ ] kube-proxy
- [x] kube-scheduler
- [ ] Flanneld
---
## Question 6
**What is Kube-proxy?**
- [ ] CLI (command-line interface) that is used to run commands against Kubernetes clusters
- [ ] Service agent that controls and maintains a set of pods by watching for pod specs through the Kubernetes API server
- [ ] Service that assigns nodes to newly created pods.
- [ ] Component of the Kubernetes control plane that exposes the Kubernetes API and acts as a front end for the K8s Control plane and is used to configure and validate API objects
- [x] A network proxy that runs on each node in your cluster and is used to support service abstraction with other networking operations. It is responsible for directing traffic to the containers.
---
## Question 7
**Kubernetes Nodes Run Scheduler:**
- [ ] True
- [x] False
---
## Question 8
**ETCD achieves high availability while keeping multiple etcd instances consistent using which of the following Leader elections algorithm:**
- [ ] Patroni
- [x] RAFT
- [ ] Galera
- [ ] HAProxy & Keepalive
- [ ] Zookeeper
---
## Question 9
**What’s the recommended way to setup etcd cluster for max availability?**
- [ ] Even Numbers (2,4,6)
- [x] Odd Numbers (3,5,7)