Kubernetes Fundamentals MCQs

  1. Which of the following best describes Kubernetes?
    a) An open-source container orchestration platform
    b) A programming language
    c) A database management system
    d) A performance testing tool
    View Answer

    Correct answer: A — An open-source container orchestration platform

  2. Kubernetes clusters consist of:
    a) Master and worker nodes
    b) Only worker nodes
    c) Only master nodes
    d) Only monitoring nodes
    View Answer

    Correct answer: A — Master and worker nodes

  3. Which of the following is true about Kubernetes pods?
    a) They are the smallest deployable units in Kubernetes
    b) They are only used for monitoring
    c) They are only used for testing
    d) They are only used for CI/CD
    View Answer

    Correct answer: A — They are the smallest deployable units in Kubernetes

  4. Kubernetes kubelet runs on:
    a) Each node to manage pods
    b) Only master nodes
    c) Only worker nodes
    d) Only CI/CD servers
    View Answer

    Correct answer: A — Each node to manage pods

  5. Which of the following is true about Kubernetes services?
    a) They expose pods to network traffic
    b) They validate performance only
    c) They validate usability only
    d) They validate integration only
    View Answer

    Correct answer: A — They expose pods to network traffic

  6. Kubernetes deployments are used to:
    a) Manage desired state of pods
    b) Validate performance only
    c) Validate usability only
    d) Validate integration only
    View Answer

    Correct answer: A — Manage desired state of pods

  7. Which of the following is true about Kubernetes namespaces?
    a) They logically isolate resources within a cluster
    b) They validate performance only
    c) They validate usability only
    d) They validate integration only
    View Answer

    Correct answer: A — They logically isolate resources within a cluster

  8. Kubernetes ConfigMaps are used to:
    a) Store configuration data
    b) Store performance metrics
    c) Store usability data
    d) Store integration data
    View Answer

    Correct answer: A — Store configuration data

  9. Which of the following is true about Kubernetes Secrets?
    a) They store sensitive information securely
    b) They store performance metrics
    c) They store usability data
    d) They store integration data
    View Answer

    Correct answer: A — They store sensitive information securely

  10. Kubernetes ReplicaSets ensure:
    a) A specified number of pod replicas are running
    b) Only one pod runs at a time
    c) Pods run only on master nodes
    d) Pods run only manually
    View Answer

    Correct answer: A — A specified number of pod replicas are running

  11. What will be printed?
    1 echo "Eduinq Kubernetes Fundamentals"
    a) Eduinq Kubernetes Fundamentals
    b) Kubernetes Fundamentals
    c) No output
    d) Error
    View Answer

    Correct answer: A — Eduinq Kubernetes Fundamentals

  12. Kubernetes StatefulSets are used for:
    a) Managing stateful applications
    b) Managing stateless applications only
    c) Managing usability tests
    d) Managing integration tests
    View Answer

    Correct answer: A — Managing stateful applications

  13. Which of the following is true about Kubernetes DaemonSets?
    a) They run a copy of a pod on all nodes
    b) They run pods only on master nodes
    c) They run pods only on worker nodes
    d) They run pods only manually
    View Answer

    Correct answer: A — They run a copy of a pod on all nodes

  14. Kubernetes Ingress is used to:
    a) Manage external access to services
    b) Manage performance only
    c) Manage usability only
    d) Manage integration only
    View Answer

    Correct answer: A — Manage external access to services

  15. Which of the following is true about Kubernetes etcd?
    a) It stores cluster configuration data
    b) It stores performance metrics
    c) It stores usability data
    d) It stores integration data
    View Answer

    Correct answer: A — It stores cluster configuration data

  16. Kubernetes kube-proxy is responsible for:
    a) Managing network rules for pods
    b) Managing performance only
    c) Managing usability only
    d) Managing integration only
    View Answer

    Correct answer: A — Managing network rules for pods

  17. Which of the following is true about Kubernetes labels?
    a) They organize and select resources
    b) They validate performance only
    c) They validate usability only
    d) They validate integration only
    View Answer

    Correct answer: A — They organize and select resources

  18. Kubernetes annotations are used to:
    a) Attach metadata to objects
    b) Validate performance only
    c) Validate usability only
    d) Validate integration only
    View Answer

    Correct answer: A — Attach metadata to objects

  19. Which of the following is true about Kubernetes cluster autoscaler?
    a) It adjusts the number of nodes based on demand
    b) It adjusts performance metrics only
    c) It adjusts usability only
    d) It adjusts integration only
    View Answer

    Correct answer: A — It adjusts the number of nodes based on demand

  20. Kubernetes Horizontal Pod Autoscaler adjusts:
    a) Number of pods based on CPU/memory usage
    b) Number of pods based on usability
    c) Number of pods based on integration
    d) Number of pods based on manual triggers
    View Answer

    Correct answer: A — Number of pods based on CPU/memory usage

  21. Which of the following is true about Kubernetes nodes?
    a) They only store logs
    b) They run workloads and manage pods
    c) They only manage CI/CD
    d) They only monitor performance
    View Answer

    Correct answer: B — They run workloads and manage pods

  22. Kubernetes control plane components include:
    a) kubelet and kube-proxy
    b) API server, etcd, scheduler, controller manager
    c) Only kubelet
    d) Only kube-proxy
    View Answer

    Correct answer: B — API server, etcd, scheduler, controller manager

  23. Which of the following is true about Kubernetes API server?
    a) It stores cluster data
    b) It exposes the Kubernetes API to clients
    c) It runs pods directly
    d) It monitors logs
    View Answer

    Correct answer: B — It exposes the Kubernetes API to clients

  24. Kubernetes scheduler is responsible for:
    a) Monitoring logs
    b) Assigning pods to nodes
    c) Running CI/CD pipelines
    d) Managing secrets
    View Answer

    Correct answer: B — Assigning pods to nodes

  25. Which of the following is true about Kubernetes controller manager?
    a) It manages cluster state through controllers
    b) It runs pods directly
    c) It stores logs
    d) It manages CI/CD
    View Answer

    Correct answer: B — It runs pods directly

  26. Kubernetes kube-proxy manages:
    a) Pod lifecycle
    b) Network rules and service communication
    c) Cluster state
    d) Secrets
    View Answer

    Correct answer: B — Network rules and service communication

  27. Which of the following is true about Kubernetes etcd?
    a) It runs pods directly
    b) It stores cluster configuration data
    c) It monitors logs
    d) It manages CI/CD pipelines
    View Answer

    Correct answer: B — It stores cluster configuration data

  28. Kubernetes deployments support:
    a) Manual updates only
    b) Rolling updates and rollbacks
    c) Only scaling
    d) Only monitoring
    View Answer

    Correct answer: B — Rolling updates and rollbacks

  29. Which of the following is true about Kubernetes StatefulSets?
    a) They run stateless applications
    b) They manage stateful applications with stable identities
    c) They only manage secrets
    d) They only manage logs
    View Answer

    Correct answer: B — They manage stateful applications with stable identities

  30. Kubernetes DaemonSets ensure:
    a) Pods run only on master nodes
    b) Pods run on all nodes
    c) Pods run only manually
    d) Pods run only in CI/CD
    View Answer

    Correct answer: B — Pods run on all nodes

  31. What will be printed?
    1 echo "Eduinq Kubernetes Node Test"
    a) Kubernetes Node Test
    b) Eduinq Kubernetes Node Test
    c) No output
    d) Error
    View Answer

    Correct answer: B — Eduinq Kubernetes Node Test

  32. Kubernetes Ingress provides:
    a) Internal pod communication
    b) External access to services via HTTP/HTTPS
    c) Only monitoring
    d) Only CI/CD
    View Answer

    Correct answer: B — External access to services via HTTP/HTTPS

  33. Which of the following is true about Kubernetes labels?
    a) They store secrets
    b) They organize and select resources
    c) They monitor logs
    d) They run pods
    View Answer

    Correct answer: B — They organize and select resources

  34. Kubernetes annotations are used to:
    a) Run pods
    b) Attach metadata to objects
    c) Store secrets
    d) Monitor logs
    View Answer

    Correct answer: B — Attach metadata to objects

  35. Which of the following is true about Kubernetes namespaces?
    a) They store logs
    b) They isolate resources logically within a cluster
    c) They run pods directly
    d) They manage CI/CD
    View Answer

    Correct answer: B — They isolate resources logically within a cluster

  36. Kubernetes kubelet ensures:
    a) Secrets are stored securely
    b) Pods are running as expected on nodes
    c) Logs are monitored
    d) CI/CD pipelines are executed
    View Answer

    Correct answer: B — Pods are running as expected on nodes

  37. Which of the following is true about Kubernetes services?
    a) They store secrets
    b) They expose pods to network traffic
    c) They monitor logs
    d) They run CI/CD pipelines
    View Answer

    Correct answer: B — They expose pods to network traffic

  38. Kubernetes ConfigMaps are used to:
    a) Store secrets
    b) Store configuration data
    c) Monitor logs
    d) Run pods
    View Answer

    Correct answer: B — Store configuration data

  39. Which of the following is true about Kubernetes Secrets?
    a) They store configuration data
    b) They store sensitive information securely
    c) They monitor logs
    d) They run pods
    View Answer

    Correct answer: B — They store sensitive information securely

  40. Kubernetes ReplicaSets ensure:
    a) Pods run only manually
    b) A specified number of pod replicas are running
    c) Pods run only on master nodes
    d) Pods run only in CI/CD
    View Answer

    Correct answer: B — A specified number of pod replicas are running

  41. Which of the following is true about Kubernetes cluster autoscaler?
    a) It monitors logs
    b) It adjusts the number of nodes based on demand
    c) It runs CI/CD pipelines
    d) It stores secrets
    View Answer

    Correct answer: B — It adjusts the number of nodes based on demand

  42. Kubernetes Horizontal Pod Autoscaler adjusts:
    a) Pods based on manual triggers
    b) Pods based on CPU/memory usage
    c) Pods based on usability
    d) Pods based on integration
    View Answer

    Correct answer: B — Pods based on CPU/memory usage

  43. Which of the following is true about Kubernetes rolling updates?
    a) They update all pods at once
    b) They update pods gradually without downtime
    c) They only update staging pods
    d) They only update manually
    View Answer

    Correct answer: B — They update pods gradually without downtime

  44. Kubernetes rollbacks allow:
    a) Manual updates only
    b) Reverting deployments to previous versions
    c) Monitoring logs only
    d) Running CI/CD pipelines only
    View Answer

    Correct answer: B — Reverting deployments to previous versions

  45. Which of the following is true about Kubernetes kube-proxy?
    a) It runs pods directly
    b) It manages network rules for services and pods
    c) It stores secrets
    d) It monitors logs
    View Answer

    Correct answer: B — It manages network rules for services and pods

  46. Kubernetes etcd is:
    a) A monitoring tool
    b) A distributed key-value store for cluster data
    c) A CI/CD pipeline manager
    d) A logging driver
    View Answer

    Correct answer: B — A distributed key-value store for cluster data

  47. Which of the following is true about Kubernetes deployments?
    a) They run pods manually
    b) They manage desired state of applications
    c) They store secrets
    d) They monitor logs
    View Answer

    Correct answer: B — They manage desired state of applications

  48. Kubernetes StatefulSets provide:
    a) Stateless pod management
    b) Stable network identities and persistent storage
    c) Only monitoring
    d) Only CI/CD
    View Answer

    Correct answer: B — Stable network identities and persistent storage

  49. Which of the following is true about Kubernetes DaemonSets?
    a) They run pods only manually
    b) They ensure pods run on all nodes
    c) They store secrets
    d) They monitor logs
    View Answer

    Correct answer: B — They ensure pods run on all nodes

  50. Which of the following best describes Kubernetes fundamentals overall?
    a) Running CI/CD pipelines
    b) Managing containerized applications with orchestration, scaling, and networking
    c) Monitoring logs only
    d) Storing secrets only
    View Answer

    Correct answer: B — Managing containerized applications with orchestration, scaling, and networking

Quick Links to Explore