Kubernetes Basics Quiz: Can You Pass Without Googling?

Kubernetes Basics Quiz: Can You Pass Without Googling?

1. What is Kubernetes mainly used for?

A. Source code management
B. Container orchestration
C. Virtual machine hosting
D. Continuous integration

Answer: B

2. What is the smallest deployable unit in Kubernetes?

A. Container
B. Pod
C. Node
D. Deployment

Answer: B

3. A Pod can contain:

A. Only one container
B. Only two containers
C. One or more containers
D. Unlimited virtual machines

Answer: C

4. Which command is used to interact with a Kubernetes cluster?

A. kubeadm
B. kubectl
C. kubelet
D. kubeset

Answer: B

5. Which file format is commonly used for Kubernetes manifests?

A. JSON only
B. XML
C. YAML or JSON
D. TXT

Answer: C

6. What component schedules Pods onto Nodes?

A. kubelet
B. kube-proxy
C. kube-scheduler
D. etcd

Answer: C

7. What is a Node?

A. A group of Pods
B. A physical or virtual machine in the cluster
C. A Kubernetes namespace
D. A container image

Answer: B

8. Which component stores the cluster state?

A. kube-scheduler
B. kube-proxy
C. etcd
D. API Server

Answer: C

9. What does a Deployment manage?

A. Storage volumes
B. Networking rules
C. ReplicaSets and Pods
D. Nodes

Answer: C

10. Which command creates resources from a YAML file?

A. kubectl start
B. kubectl create
C. kubectl apply
D. kubectl deploy

Answer: C

11. What is the default namespace in Kubernetes?

A. main
B. kube-system
C. default
D. public

Answer: C

12. Which object exposes Pods internally in the cluster?

A. Ingress
B. Service
C. Deployment
D. ConfigMap

Answer: B

13. Which Service type exposes an app externally?

A. ClusterIP
B. ExternalName
C. NodePort
D. All of the above

Answer: D

14. What does kubectl get pods do?

A. Creates Pods
B. Deletes Pods
C. Lists Pods
D. Updates Pods

Answer: C

15. Which Kubernetes object ensures a specified number of Pod replicas?

A. Pod
B. Service
C. ReplicaSet
D. ConfigMap

Answer: C

16. What is kubelet?

A. A CLI tool
B. A cluster database
C. An agent running on each node
D. A scheduler

Answer: C

17. What does kubectl describe provide?

A. Logs
B. Detailed resource information
C. Cluster metrics
D. YAML output only

Answer: B

18. Which command deletes a Pod?

A. kubectl stop pod
B. kubectl remove pod
C. kubectl delete pod
D. kubectl kill pod

Answer: C

19. What is a Namespace used for?

A. Storage
B. Networking
C. Logical isolation
D. Scheduling

Answer: C

20. Which object stores configuration data?

A. Secret
B. ConfigMap
C. Volume
D. Node

Answer: B

21. Secrets are used to store:

A. Logs
B. Metrics
C. Sensitive data
D. Container images

Answer: C

22. What does kubectl logs show?

A. Cluster events
B. Node metrics
C. Pod logs
D. YAML configs

Answer: C

23. What is the Kubernetes API Server?

A. UI dashboard
B. Cluster entry point
C. Logging system
D. Scheduler

Answer: B

24. Which component handles networking rules on nodes?

A. kubelet
B. kube-proxy
C. etcd
D. controller-manager

Answer: B

25. What is Ingress used for?

A. Storage
B. Pod scheduling
C. External HTTP/HTTPS access
D. Logging

Answer: C

26. What happens if a Pod crashes?

A. Nothing
B. Kubernetes restarts it
C. Node shuts down
D. Deployment is deleted

Answer: B

27. Which object is best for stateless applications?

A. StatefulSet
B. DaemonSet
C. Deployment
D. Job

Answer: C

28. What is a DaemonSet?

A. Runs Pods on all nodes
B. Runs one Pod only
C. Runs scheduled jobs
D. Manages storage

Answer: A

29. Which volume type is ephemeral?

A. hostPath
B. emptyDir
C. NFS
D. PVC

Answer: B

30. What does kubectl exec do?

A. Runs commands in a container
B. Creates a Pod
C. Deletes a container
D. Restarts a node

Answer: A

31. What is a Job?

A. Long-running service
B. One-time task
C. Network rule
D. Storage class

Answer: B

32. What does HPA stand for?

A. Host Pod Allocation
B. Horizontal Pod Autoscaler
C. High Performance App
D. Hybrid Pod Architecture

Answer: B

33. Which object manages persistent storage?

A. Volume
B. PersistentVolume
C. ConfigMap
D. Pod

Answer: B

34. PVC stands for:

A. Private Volume Control
B. Persistent Volume Claim
C. Pod Volume Config
D. Persistent Virtual Container

Answer: B

35. Which command shows cluster nodes?

A. kubectl get pods
B. kubectl get services
C. kubectl get nodes
D. kubectl describe cluster

Answer: C

36. What is rolling update?

A. Restarting nodes
B. Updating Pods gradually
C. Deleting all Pods
D. Scaling manually

Answer: B

37. Which Kubernetes object runs Pods on a schedule?

A. Job
B. Deployment
C. CronJob
D. DaemonSet

Answer: C

38. Which file defines container image and ports?

A. Pod spec
B. Service spec
C. Volume spec
D. Node spec

Answer: A

39. What does kubectl apply do?

A. Deletes resources
B. Applies desired state
C. Shows logs
D. Scales Pods

Answer: B

40. What does a Service provide?

A. Storage
B. Stable networking endpoint
C. Scheduling
D. Authentication

Answer: B

41. Which object manages Pods across restarts?

A. Pod
B. Node
C. Deployment
D. Container

Answer: C

42. What does kubectl scale do?

A. Updates images
B. Changes replica count
C. Deletes Pods
D. Restarts cluster

Answer: B

43. Which namespace contains system components?

A. default
B. kube-public
C. kube-system
D. system

Answer: C

44. Which component reconciles desired vs actual state?

A. Scheduler
B. Controller Manager
C. kube-proxy
D. etcd

Answer: B

45. What is a label?

A. Pod name
B. Key-value metadata
C. Container ID
D. Node IP

Answer: B

46. Labels are mainly used for:

A. Logging
B. Scheduling only
C. Selecting resources
D. Authentication

Answer: C

47. What does kubectl get svc list?

A. Pods
B. Services
C. Nodes
D. Namespaces

Answer: B

48. What is the role of kubeadm?

A. Managing Pods
B. Bootstrapping clusters
C. Logging
D. Monitoring

Answer: B

49. What happens if a Node goes down?

A. Cluster stops
B. Pods are rescheduled
C. Data is lost always
D. Nothing

Answer: B

50. Kubernetes is:

A. A container runtime
B. A cloud provider
C. An orchestration platform
D. A programming language

Answer: C

Conclusion

If you made it through the Kubernetes Basics Quiz without Googling, that’s a solid signal you understand the fundamentals not just the buzzwords. Knowing how pods, services, deployments, and nodes fit together means you’re building real mental models, which is what actually matters when things break at 2 a.m.

If you struggled on a few questions, that’s normal too Kubernetes has a steep learning curve, and mastery comes from repetition and hands-on practice. Treat the quiz as a checkpoint, not a finish line. Keep experimenting, breaking things, and fixing them again. That’s how Kubernetes knowledge sticks.

  • Explore Kubernetes basics here, then master it with jeevi’s resources and our complete DevOps training.

shamitha
shamitha
Leave Comment
Share This Blog
Recent Posts
Get The Latest Updates

Subscribe To Our Newsletter

No spam, notifications only about our New Course updates.

Enroll Now
Enroll Now
Enquire Now