nerdexam
EC-Council

312-50V11 · Question #946

Geena, a cloud architect, uses a master component in the Kubernetes cluster architecture that scans newly generated pods and allocates a node to them. This component can also assign nodes based on fac

The correct answer is B. Kube-scheduler. The Kube-scheduler is the Kubernetes master component responsible for watching newly created pods and assigning them to appropriate nodes based on resource and policy constraints.

Cloud Computing

Question

Geena, a cloud architect, uses a master component in the Kubernetes cluster architecture that scans newly generated pods and allocates a node to them. This component can also assign nodes based on factors such as the overall resource requirement, data locality, software/hardware/policy restrictions, and internal workload interventions. Which of the following master components is explained in the above scenario?

Options

  • AKube-controller-manager
  • BKube-scheduler
  • CKube-apiserver
  • DEtcd cluster

How the community answered

(25 responses)
  • A
    4% (1)
  • B
    92% (23)
  • D
    4% (1)

Why each option

The Kube-scheduler is the Kubernetes master component responsible for watching newly created pods and assigning them to appropriate nodes based on resource and policy constraints.

AKube-controller-manager

Kube-controller-manager runs controller loops that regulate cluster state (e.g., replication controllers, endpoint controllers), but it does not directly assign pods to nodes.

BKube-schedulerCorrect

Kube-scheduler continuously monitors the API server for unscheduled pods and selects an optimal node for each based on criteria including available CPU/memory resources, data locality, affinity/anti-affinity rules, and hardware or policy restrictions. Once a node is selected, the scheduler updates the pod definition via the API server so the kubelet on that node can start the pod.

CKube-apiserver

Kube-apiserver is the front-end REST interface for the Kubernetes control plane that processes and validates API requests; it does not make scheduling decisions.

DEtcd cluster

Etcd is a distributed key-value store used to persist all cluster configuration and state data; it has no role in evaluating or assigning pods to nodes.

Concept tested: Kubernetes master component pod scheduling

Source: https://kubernetes.io/docs/concepts/scheduling-eviction/kube-scheduler/

Topics

#Kubernetes#kube-scheduler#pod scheduling#container orchestration

Community Discussion

No community discussion yet for this question.

Full 312-50V11 Practice