Kubernetes MCQ Questions and Answers
Q. What is Kubernetes?
A. A container management systemB. A cloud computing platform
C. A microservice architecture framework
D. All of the above
Q. What is a Kubernetes cluster composed of?
A. Master node and worker nodesB. Virtual machines and containers
C. Load balancers and storage units
D. Master node, worker nodes, and a cloud provider
Q. What are the main components of the Kubernetes control plane?
A. etcd, kube-apiserver, kube-scheduler, and kube-controller-managerB. kubelet, kube-proxy, and Container Runtime
C. kube-dns, Ingress controller, and Service
D. All of the above
Q. What is a pod in Kubernetes?
A. A group of one or more containers with shared storage and networkB. A virtual machine instance running on a node
C. A unit of horizontal scaling in Kubernetes
D. A service that provides load balancing and networking
Q. What is a ReplicaSet in Kubernetes?
A. A group of pods that are managed as a single unitB. A mechanism to ensure high availability of pods
C. A way to define the desired state for a pod or a group of pods
D. A method to scale the number of pods in a deployment
Q. What is a Deployment in Kubernetes?
A. A way to update applications without downtimeB. A declarative way to manage pods and ReplicaSets
C. A method to roll back to a previous version of an application
D. All of the above
Q. What is a Service in Kubernetes?
A. An abstract way to expose an application running on a set of podsB. A type of pod that provides network connectivity to other pods
C. A load balancer that distributes network traffic across multiple pods
D. A way to define the desired state for network connectivity
Q. What is a Namespace in Kubernetes?
A. A way to isolate resources and objects within a clusterB. A logical grouping of objects with a unique name
C. A security mechanism to control access to resources
D. All of the above
Q. What is a DaemonSet in Kubernetes?
A. A way to run a single instance of a pod on each nodeB. A method to ensure that all nodes run a copy of a pod
C. A type of pod that runs in the background and performs maintenance tasks
D. A mechanism to distribute pods evenly across nodes