Advanced Kubernetes quiz
A free advanced Kubernetes quiz with up to 40 multiple-choice questions on Pods, Deployments, Services, scheduling, storage, networking, security and kubectl. Written for engineers who use it day to day, with an explanation for every answer.
Loading Quiz...
Preparing your Kubernetes Advanced level questions
Browse the 41 medium Kubernetes questions, with answers
- Which component of the Kubernetes control plane is responsible for maintaining the desired state of the cluster?
- What is the difference between a Deployment and a StatefulSet?
- A pod is stuck in 'Pending' state. What is the most likely cause?
- Which component is responsible for maintaining network rules on nodes and enabling pod-to-pod communication?
- What is a DaemonSet used for in Kubernetes?
- What happens when a node in a Kubernetes cluster fails?
- What is the purpose of a PersistentVolume in Kubernetes?
- What is the difference between a ClusterIP and a NodePort service?
- What is a Kubernetes Ingress?
- A pod is in 'CrashLoopBackOff' state. What does this indicate?
- Which component is responsible for executing containers on nodes?
- What is the purpose of a Kubernetes ReplicaSet?
- Which network plugin is commonly used in Kubernetes to implement the Container Network Interface (CNI)?
- What is the purpose of a PersistentVolumeClaim (PVC)?
- Which command would you use to delete a pod named 'nginx' immediately without a grace period?
- What is the difference between 'kubectl create' and 'kubectl apply'?
- What is a Kubernetes Taint?
- What is the purpose of a NetworkPolicy in Kubernetes?
- What is a Kubernetes StatefulSet used for?
- Which component stores the state of the Kubernetes cluster?
- What is the purpose of a Kubernetes Job?
- What is a Kubernetes CronJob?
- What is the purpose of a Kubernetes HorizontalPodAutoscaler?
- What is the difference between a liveness probe and a readiness probe?
- What is the purpose of a ServiceAccount in Kubernetes?
- Which command would you use to create a secret from a file?
- What is the purpose of a Kubernetes InitContainer?
- Which component is responsible for scheduling pods onto nodes?
- What is the purpose of a Kubernetes ResourceQuota?
- What is the difference between a RollingUpdate and a Recreate deployment strategy?
- Which command would you use to view the logs of a specific container in a multi-container pod?
- What is a Kubernetes Toleration?
- What is the purpose of a Kubernetes StorageClass?
- Which command would you use to drain a node for maintenance?
- What is the purpose of the 'kubectl rollout' command?
- What is a Kubernetes Endpoint?
- Which command would you use to label a node?
- Which HTTP status code does the Kubernetes Eviction API return when a PodDisruptionBudget blocks an eviction?
- The kubelet evicts a pod because its node has crossed the memory.available hard eviction threshold. What happens to that pod?
- After running kubeadm certs renew all, openssl still shows the old expiry date on the certificate served on port 6443. What is the most likely reason?
- A Deployment wants 5 replicas but only 3 Pods exist and none is Pending. Where does a ResourceQuota rejection show up?