Online Exam Quiz

questionQuestion  1 to 30

How does Kubernetes ensure that pods can communicate with each other?

  • By setting up VPN connections
  • By using host networking
  • By assigning each pod a unique IP address
  • By using NAT traversal
Mark for review

What is the purpose of the ClusterRole in Kubernetes?

  • To manage network policies
  • To define permissions for resources at the cluster level
  • To handle DNS resolution
  • To allocate CPU resources
Mark for review

What is the role of kube-apiserver in a Kubernetes cluster?

  • To schedule pods
  • To manage container images
  • To expose the Kubernetes API
  • To manage node networking
Mark for review

What is the primary purpose of Kubernetes?

  • Continuous integration
  • Load balancing
  • Container orchestration
  • Configuration management
Mark for review

Which Kubernetes resource is used to manage network policies?

  • PodSecurityPolicy
  • ServiceAccount
  • Ingress
  • NetworkPolicy
Mark for review

Which Kubernetes object type is used to ensure a certain number of pods are always running?

  • StatefulSet
  • Pod
  • ReplicaSet
  • Deployment
Mark for review

How does Kubernetes manage container storage?

  • By mounting storage as a container volume
  • By using local storage
  • Through PersistentVolumes and PersistentVolumeClaims
  • By attaching external drives
Mark for review

What is the purpose of the kube-proxy component in Kubernetes?

  • To handle DNS resolution
  • To manage network routing and load balancing for services
  • To manage pod lifecycles
  • To authenticate API requests
Mark for review

Which Kubernetes object type is used to group multiple services that logically belong together?

  • ServiceAccount
  • RoleBinding
  • Namespace
  • Deployment
Mark for review

Which Kubernetes object type is used to expose a container port to the cluster?

  • Ingress
  • Pod
  • Deployment
  • Service
Mark for review

How does Kubernetes handle node failures?

  • By rescheduling pods onto available nodes
  • By pausing affected applications
  • By terminating affected pods
  • By automatically scaling the cluster
Mark for review

How does Kubernetes manage scheduling of pods onto nodes?

  • By running pods on all available nodes
  • By deploying pods manually
  • By using the kube-scheduler component
  • By using Kubernetes API
Mark for review

Which Kubernetes object type is used to ensure a certain number of pods are always running?

  • Pod
  • StatefulSet
  • Deployment
  • ReplicaSet
Mark for review

What is the recommended way to manage Kubernetes cluster configuration and secrets?

  • Storing in environment variables
  • Keeping in source code
  • Using ConfigMaps and Secrets
  • Hardcoding in application
Mark for review

How does Kubernetes manage resource allocation for pods?

  • By scaling vertically
  • By defining resource requests and limits in pod specifications
  • By using external storage
  • By allocating fixed resources
Mark for review

How does Kubernetes handle container image management?

  • By storing images in persistent storage
  • By linking directly to containers
  • By using container registries like Docker Hub or private registries
  • By embedding images within YAML files
Mark for review

Which component of Kubernetes is responsible for managing the lifecycle of pods?

  • kube-apiserver
  • kube-controller-manager
  • kube-proxy
  • Kubelet
Mark for review

What is the purpose of a DaemonSet in Kubernetes?

  • To manage application lifecycle
  • To load balance incoming traffic
  • To ensure a pod runs on every node in the cluster
  • To run a pod with multiple replicas
Mark for review

How does Kubernetes achieve high availability for applications?

  • By limiting resource usage
  • By prioritizing traffic to critical pods
  • By running multiple instances of pods across nodes
  • By using stateless containers
Mark for review

Which Kubernetes component is responsible for managing secrets?

  • kube-apiserver
  • kube-controller-manager
  • kube-scheduler
  • kubelet
Mark for review

How does Kubernetes manage pod affinity and anti-affinity?

  • By limiting resource usage
  • By using labels and selectors to schedule pods onto specific nodes
  • By manually configuring nodes
  • By setting pod priority
Mark for review

What is the purpose of a StatefulSet in Kubernetes?

  • To handle batch jobs
  • To manage network policies
  • To run pods on every node
  • To manage stateful applications that require stable, unique network identifiers and persistent storage
Mark for review

What is the purpose of the readiness probe in Kubernetes?

  • To authenticate API requests
  • To scale applications
  • To determine when a pod is ready to serve traffic
  • To manage network policies
Mark for review

Which Kubernetes component is responsible for managing secrets?

  • kube-scheduler
  • kubelet
  • kube-controller-manager
  • kube-apiserver
Mark for review

What is the purpose of the HorizontalPodAutoscaler in Kubernetes?

  • To manage DNS resolution
  • To scale pods based on a schedule
  • To automatically adjust the number of replica pods in a deployment based on CPU or memory usage
  • To handle network policies
Mark for review

What is the purpose of an Ingress resource in Kubernetes?

  • To define pod priority
  • To allocate CPU resources
  • To manage external access to services in a cluster
  • To manage pod lifecycle
Mark for review

Which Kubernetes resource is used to manage user access control?

  • NetworkPolicy
  • Role
  • ServiceAccount
  • Namespace
Mark for review

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

  • To handle ingress rules
  • To assign pods to nodes based on resource availability and scheduling requirements
  • To manage pod networking
  • To scale applications
Mark for review

How does Kubernetes manage container networking between pods on different hosts?

  • By exposing host IP addresses
  • Using overlay networks
  • Through a network plugin
  • Via DNS resolution
Mark for review

How does Kubernetes manage scheduling of pods onto nodes?

  • By deploying pods manually
  • By using the kube-scheduler component
  • By running pods on all available nodes
  • By using Kubernetes API
Mark for review

blinkerOnline

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • Answered
  • Not Answered
  • Marked for Review