Kubernetes MCQs with answers Page - 1

Here, you will find a collection of MCQ questions on Kubernetes. Go through these questions to enhance your preparation for upcoming examinations and interviews.

To check the correct answer, simply click the View Answer button provided for each question.

Have your own questions to contribute? Click the button below to share your MCQs with others!

+ Add Question

A

Admin • 799.53K Points
Coach

Q. What is Kubernetes primarily used for?

  • (A) Monitoring system logs
  • (B) Managing containerized applications
  • (C) Writing web applications
  • (D) Running virtual machines

A

Admin • 799.53K Points
Coach

Q. Which Kubernetes component is responsible for maintaining the desired state of the cluster?

  • (A) kube-proxy
  • (B) kubelet
  • (C) kube-scheduler
  • (D) kube-controller-manager

A

Admin • 799.53K Points
Coach

Q. What does a Kubernetes Pod represent?

  • (A) A single container
  • (B) A group of containers running on separate nodes
  • (C) A group of containers with shared storage and network
  • (D) A backup of the cluster

A

Admin • 799.53K Points
Coach

Q. Which command is used to list all Pods in Kubernetes?

  • (A) kubectl list pods
  • (B) kubectl show pods
  • (C) kubectl get pods
  • (D) kubectl display pods

A

Admin • 799.53K Points
Coach

Q. What is the role of kube-scheduler in Kubernetes?

  • (A) Maintains node health
  • (B) Schedules Pods to nodes
  • (C) Manages cluster secrets
  • (D) Routes service traffic

A

Admin • 799.53K Points
Coach

Q. Which component of Kubernetes runs on each node and ensures containers are running?

  • (A) kube-apiserver
  • (B) kubelet
  • (C) etcd
  • (D) kube-proxy

A

Admin • 799.53K Points
Coach

Q. What is etcd used for in a Kubernetes cluster?

  • (A) Container monitoring
  • (B) Logging services
  • (C) Persistent storage
  • (D) Cluster state storage

A

Admin • 799.53K Points
Coach

Q. How do you expose a Kubernetes deployment externally?

  • (A) Using ReplicaSet
  • (B) Using ConfigMap
  • (C) Using a Service
  • (D) Using Secret

A

Admin • 799.53K Points
Coach

Q. What is the default namespace in Kubernetes?

  • (A) public
  • (B) system
  • (C) default
  • (D) main

A

Admin • 799.53K Points
Coach

Q. Which of the following is a valid Kubernetes controller?

  • (A) VolumeController
  • (B) NamespaceController
  • (C) JobController
  • (D) TokenController

Add MCQ in this Category

If you want to share an MCQ question in this category, it's a great idea! It will be helpful for many other students using this website.

Share Your MCQ