0
0
Kubernetesdevops~20 mins

Kubernetes architecture (control plane and nodes) - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Kubernetes Architecture Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Control Plane Components Role

Which component of the Kubernetes control plane is responsible for maintaining the desired state of the cluster by watching the cluster state and making changes?

Akube-controller-manager
Bkube-apiserver
Ckube-scheduler
Detcd
Attempts:
2 left
💡 Hint

Think about the component that manages controllers to reconcile cluster state.

💻 Command Output
intermediate
2:00remaining
Node Status Command Output

What is the output of the command kubectl get nodes when the cluster has two nodes named node1 and node2, both ready?

Kubernetes
kubectl get nodes
A
node1   Ready    master   10d
node2   Ready    worker   10d
B
NAME    STATUS   ROLES    AGE
node1   Ready    <none>   10d
node2   Ready    <none>   10d
C
NAME    STATUS    ROLES    AGE
node1   NotReady  <none>   10d
node2   Ready    <none>   10d
D
NAME    STATUS   ROLES    AGE
node1   Ready    <none>   5m
node2   Ready    <none>   5m
Attempts:
2 left
💡 Hint

Check the exact column headers and typical output format.

🔀 Workflow
advanced
3:00remaining
Pod Scheduling Process

Put the steps of the Kubernetes pod scheduling process in the correct order.

A1,2,3,4
B1,3,2,4
C2,1,3,4
D1,2,4,3
Attempts:
2 left
💡 Hint

Think about the logical flow from detecting a pod to assigning it to a node.

Troubleshoot
advanced
2:00remaining
Diagnosing Node Not Ready State

You notice a node in your Kubernetes cluster is in NotReady state. Which of the following is the most likely cause?

AThe etcd database is full and cannot store new data.
BThe pod running on the node has crashed.
CThe kube-scheduler is overloaded and cannot assign pods.
DThe kubelet on the node is not running or has lost connection to the control plane.
Attempts:
2 left
💡 Hint

Consider what controls node health reporting.

Best Practice
expert
3:00remaining
High Availability of Control Plane

Which setup ensures high availability of the Kubernetes control plane?

ARun multiple etcd instances on worker nodes only.
BRun a single kube-apiserver with multiple kube-scheduler instances on the same node.
CRun multiple kube-apiserver instances behind a load balancer with replicated etcd cluster.
DRun multiple kubelet processes on the control plane node.
Attempts:
2 left
💡 Hint

Think about redundancy and fault tolerance for control plane components.