Setting up Kubernetes is the first hands-on step to begin your journey with container orchestration. Whether you’re deploying a local development cluster with Minikube or building a production-grade setup using kubeadm or managed Kubernetes services like Amazon EKS, it’s important to understand the components, configurations, and networking involved.
This section focuses on the different methods to install and configure Kubernetes clusters, prerequisites, and essential tools used during setup. These MCQs will help reinforce your understanding and prepare you for real-world installations as well as interview questions.
1.) Which tool is commonly used to set up a local single-node Kubernetes cluster for learning and development?
2.) What is the default container runtime used by Minikube?
3.) What does kubeadm primarily do?
4.) Which component is required to interact with the Kubernetes cluster from the command line?
5.) What is the default network plugin used by Minikube?
6.) Which command initializes the control plane node using kubeadm?
7.) Which configuration file is created for kubectl to interact with the cluster?
8.) How do you install a pod network add-on after setting up a cluster with kubeadm?
9.) What is the role of kubelet during Kubernetes setup?
10.) How do you add a worker node to an existing Kubernetes cluster using kubeadm?