Advanced Kubernetes MCQs

  1. Which of the following best describes Kubernetes Operators?
    a) Custom controllers to manage complex applications
    b) Built-in monitoring tools
    c) Simple pod definitions
    d) Manual deployment scripts
    View Answer

    Correct answer: A — Custom controllers to manage complex applications

  2. Kubernetes RBAC (Role-Based Access Control) is used to:
    a) Manage pod scheduling
    b) Control access to cluster resources
    c) Monitor logs
    d) Run CI/CD pipelines
    View Answer

    Correct answer: B — Control access to cluster resources

  3. Which of the following is true about Kubernetes CRDs (Custom Resource Definitions)?
    a) They store secrets
    b) They extend Kubernetes API with new resource types
    c) They monitor logs
    d) They run pods
    View Answer

    Correct answer: B — They extend Kubernetes API with new resource types

  4. Kubernetes admission controllers are used to:
    a) Run pods directly
    b) Intercept requests to the API server before persistence
    c) Store secrets
    d) Monitor logs
    View Answer

    Correct answer: B — Intercept requests to the API server before persistence

  5. Which of the following is true about Kubernetes Network Policies?
    a) They manage pod lifecycle
    b) They control traffic flow between pods
    c) They store secrets
    d) They run CI/CD pipelines
    View Answer

    Correct answer: B — They control traffic flow between pods

  6. Kubernetes CSI (Container Storage Interface) allows:
    a) Manual storage configuration
    b) Integration of third-party storage providers
    c) Monitoring logs
    d) Running pods
    View Answer

    Correct answer: B — Integration of third-party storage providers

  7. Which of the following is true about Kubernetes PodDisruptionBudgets?
    a) They store secrets
    b) They limit voluntary disruptions to maintain availability
    c) They monitor logs
    d) They run CI/CD pipelines
    View Answer

    Correct answer: B — They limit voluntary disruptions to maintain availability

  8. Kubernetes API aggregation layer enables:
    a) Manual pod scheduling
    b) Extension of Kubernetes API with additional services
    c) Monitoring logs
    d) Running pods
    View Answer

    Correct answer: B — Extension of Kubernetes API with additional services

  9. Which of the following is true about Kubernetes federation?
    a) It manages pods manually
    b) It coordinates multiple clusters for global deployments
    c) It stores secrets
    d) It monitors logs
    View Answer

    Correct answer: B — It coordinates multiple clusters for global deployments

  10. Kubernetes audit logs are used to:
    a) Run pods
    b) Track API requests for security and compliance
    c) Store secrets
    d) Monitor CI/CD pipelines
    View Answer

    Correct answer: B — Track API requests for security and compliance

  11. Which of the following is true about Kubernetes taints and tolerations?
    a) They store secrets
    b) They control pod placement on nodes
    c) They monitor logs
    d) They run CI/CD pipelines
    View Answer

    Correct answer: B — They control pod placement on nodes

  12. Kubernetes resource quotas are used to:
    a) Run pods manually
    b) Limit resource usage per namespace
    c) Store secrets
    d) Monitor logs
    View Answer

    Correct answer: B — Limit resource usage per namespace

  13. Which of the following is true about Kubernetes API server aggregation?
    a) It runs pods directly
    b) It allows custom APIs to be served alongside core APIs
    c) It stores secrets
    d) It monitors logs
    View Answer

    Correct answer: B — It allows custom APIs to be served alongside core APIs

  14. Kubernetes cluster federation provides:
    a) Manual pod scheduling
    b) Unified management across multiple clusters
    c) Monitoring logs
    d) Running CI/CD pipelines
    View Answer

    Correct answer: B — Unified management across multiple clusters

  15. Which of the following is true about Kubernetes admission webhooks?
    a) They run pods directly
    b) They validate or mutate requests before persistence
    c) They store secrets
    d) They monitor logs
    View Answer

    Correct answer: B — They validate or mutate requests before persistence

  16. Kubernetes node affinity rules are used to:
    a) Run pods manually
    b) Control pod placement based on node labels
    c) Store secrets
    d) Monitor logs
    View Answer

    Correct answer: B — Control pod placement based on node labels

  17. Which of the following is true about Kubernetes cluster autoscaler?
    a) It runs pods directly
    b) It adjusts the number of nodes based on demand
    c) It stores secrets
    d) It monitors logs
    View Answer

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

  18. 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

  19. Which of the following is true about Kubernetes Vertical Pod Autoscaler?
    a) It runs pods manually
    b) It adjusts resource requests and limits for pods
    c) It stores secrets
    d) It monitors logs
    View Answer

    Correct answer: B — It adjusts resource requests and limits for pods

  20. Kubernetes custom controllers are used to:
    a) Run pods directly
    b) Extend Kubernetes functionality by managing custom resources
    c) Store secrets
    d) Monitor logs
    View Answer

    Correct answer: B — Extend Kubernetes functionality by managing custom resources

  21. Which of the following is true about Kubernetes Custom Controllers?
    a) They run pods directly
    b) They store secrets
    c) They extend Kubernetes by managing custom resources
    d) They monitor logs
    View Answer

    Correct answer: C — They extend Kubernetes by managing custom resources

  22. Kubernetes API aggregation layer allows:
    a) Running pods manually
    b) Storing secrets
    c) Serving custom APIs alongside core APIs
    d) Monitoring logs
    View Answer

    Correct answer: C — Serving custom APIs alongside core APIs

  23. Which of the following is true about Kubernetes Pod Security Policies?
    a) They run pods directly
    b) They store secrets
    c) They define security conditions for pod creation
    d) They monitor logs
    View Answer

    Correct answer: C — They define security conditions for pod creation

  24. Kubernetes Resource Quotas are used to:
    a) Run pods manually
    b) Store secrets
    c) Limit resource usage per namespace
    d) Monitor logs
    View Answer

    Correct answer: C — Limit resource usage per namespace

  25. Which of the following is true about Kubernetes Admission Controllers?
    a) They run pods directly
    b) They store secrets
    c) They intercept and validate API requests
    d) They monitor logs
    View Answer

    Correct answer: C — They intercept and validate API requests

  26. Kubernetes Federation is used to:
    a) Run pods manually
    b) Store secrets
    c) Manage multiple clusters as one
    d) Monitor logs
    View Answer

    Correct answer: C — Manage multiple clusters as one

  27. Which of the following is true about Kubernetes Audit Logs?
    a) They run pods directly
    b) They store secrets
    c) They track API requests for compliance
    d) They monitor CI/CD pipelines
    View Answer

    Correct answer: C — They track API requests for compliance

  28. Kubernetes Network Policies are used to:
    a) Run pods manually
    b) Store secrets
    c) Control traffic flow between pods
    d) Monitor logs
    View Answer

    Correct answer: C — Control traffic flow between pods

  29. Which of the following is true about Kubernetes Vertical Pod Autoscaler?
    a) It runs pods manually
    b) It stores secrets
    c) It adjusts resource requests and limits for pods
    d) It monitors logs
    View Answer

    Correct answer: C — It adjusts resource requests and limits for pods

  30. Kubernetes PodDisruptionBudgets ensure:
    a) Pods run manually
    b) Secrets are stored
    c) Minimum availability during voluntary disruptions
    d) Logs are monitored
    View Answer

    Correct answer: C — Minimum availability during voluntary disruptions

  31. Which of the following is true about Kubernetes Node Affinity?
    a) It runs pods manually
    b) It stores secrets
    c) It controls pod placement based on node labels
    d) It monitors logs
    View Answer

    Correct answer: C — It controls pod placement based on node labels

  32. Kubernetes Cluster Autoscaler adjusts:
    a) Pods manually
    b) Secrets storage
    c) Number of nodes based on demand
    d) Logs monitoring
    View Answer

    Correct answer: C — Number of nodes based on demand

  33. Which of the following is true about Kubernetes Admission Webhooks?
    a) They run pods directly
    b) They store secrets
    c) They validate or mutate API requests dynamically
    d) They monitor logs
    View Answer

    Correct answer: C — They validate or mutate API requests dynamically

  34. Kubernetes CRDs (Custom Resource Definitions) allow:
    a) Pods to run manually
    b) Secrets to be stored
    c) Extension of Kubernetes API with new resource types
    d) Logs to be monitored
    View Answer

    Correct answer: C — Extension of Kubernetes API with new resource types

  35. Which of the following is true about Kubernetes RBAC?
    a) It runs pods directly
    b) It stores secrets
    c) It controls access to cluster resources
    d) It monitors logs
    View Answer

    Correct answer: C — It controls access to cluster resources

  36. Kubernetes Operators are used to:
    a) Run pods manually
    b) Store secrets
    c) Automate management of complex applications
    d) Monitor logs
    View Answer

    Correct answer: C — Automate management of complex applications

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

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

  38. Kubernetes Scheduler is responsible for:
    a) Running pods manually
    b) Storing secrets
    c) Assigning pods to nodes
    d) Monitoring logs
    View Answer

    Correct answer: C — Assigning pods to nodes

  39. Which of the following is true about Kubernetes Controller Manager?
    a) It runs pods directly
    b) It stores secrets
    c) It manages cluster state through controllers
    d) It monitors logs
    View Answer

    Correct answer: C — It manages cluster state through controllers

  40. Kubernetes kube-proxy manages:
    a) Pods manually
    b) Secrets storage
    c) Network rules for services and pods
    d) Logs monitoring
    View Answer

    Correct answer: C — Network rules for services and pods

  41. Which of the following is true about Kubernetes etcd?
    a) It runs pods manually
    b) It stores secrets
    c) It stores cluster configuration data in a key-value store
    d) It monitors logs
    View Answer

    Correct answer: C — It stores cluster configuration data in a key-value store

  42. Kubernetes Deployments provide:
    a) Pods run manually
    b) Secrets storage
    c) Desired state management with rolling updates and rollbacks
    d) Logs monitoring
    View Answer

    Correct answer: C — Desired state management with rolling updates and rollbacks

  43. Which of the following is true about Kubernetes StatefulSets?
    a) Pods run manually
    b) Secrets storage
    c) Stable identities and persistent storage for stateful apps
    d) Logs monitoring
    View Answer

    Correct answer: C — Stable identities and persistent storage for stateful apps

  44. Kubernetes DaemonSets ensure:
    a) Pods run manually
    b) Secrets storage
    c) Pods run on all nodes
    d) Logs monitoring
    View Answer

    Correct answer: C — Pods run on all nodes

  45. Which of the following is true about Kubernetes Ingress?
    a) Pods run manually
    b) Secrets storage
    c) External access to services via HTTP/HTTPS
    d) Logs monitoring
    View Answer

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

  46. Kubernetes Labels are used to:
    a) Run pods manually
    b) Store secrets
    c) Organize and select resources
    d) Monitor logs
    View Answer

    Correct answer: C — Organize and select resources

  47. Which of the following is true about Kubernetes Annotations?
    a) Pods run manually
    b) Secrets storage
    c) Attach metadata to objects
    d) Logs monitoring
    View Answer

    Correct answer: C — Attach metadata to objects

  48. Kubernetes Resource Quotas limit:
    a) Pods run manually
    b) Secrets storage
    c) Resource usage per namespace
    d) Logs monitoring
    View Answer

    Correct answer: C — Resource usage per namespace

  49. Which of the following is true about Kubernetes Monitoring?
    a) Pods run manually
    b) Secrets storage
    c) Tools like Prometheus and Grafana track metrics
    d) Logs monitoring only
    View Answer

    Correct answer: C — Tools like Prometheus and Grafana track metrics

  50. Which of the following best describes Advanced Kubernetes Concepts overall?
    a) Running pods manually
    b) Storing secrets only
    c) Extending Kubernetes with operators, CRDs, policies, and automation
    d) Monitoring logs only
    View Answer

    Correct answer: C — Extending Kubernetes with operators, CRDs, policies, and automation

Quick Links to Explore