0
0
Kubernetesdevops~20 mins

Control plane components (API server, scheduler, controller manager, etcd) in Kubernetes - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Control Plane Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
1:30remaining
Role of the Kubernetes API Server
Which statement best describes the primary role of the Kubernetes API server in the control plane?
AIt stores all cluster data and state persistently.
BIt schedules pods onto nodes based on resource availability.
CIt acts as the central management point that exposes the Kubernetes API and processes REST requests.
DIt manages the lifecycle of pods and nodes by running controllers.
Attempts:
2 left
💡 Hint

Think about which component handles communication and API requests in Kubernetes.

💻 Command Output
intermediate
1:30remaining
Output of etcdctl get Command
What is the expected output of the following command if the key 'config/version' exists with value 'v1.20.0' in etcd? etcdctl get config/version
Kubernetes
etcdctl get config/version
Aconfig/version
B
config/version
v1.20.0
CError: key not found
Dv1.20.0
Attempts:
2 left
💡 Hint

Remember etcdctl outputs the key and value by default.

🔀 Workflow
advanced
2:00remaining
Order of Control Plane Components Processing a Pod Creation
Arrange the order in which the Kubernetes control plane components process a pod creation request.
A1,2,4,3
B1,2,3,4
C1,3,2,4
D1,4,2,3
Attempts:
2 left
💡 Hint

Think about when the state is saved and when scheduling happens.

Troubleshoot
advanced
1:30remaining
Identifying the Cause of Pod Scheduling Failure
A pod remains in Pending state indefinitely. Which control plane component is most likely responsible for this issue?
AScheduler is not running or unable to assign the pod to a node.
BAPI Server is down, so pod creation requests are not processed.
CController Manager failed to create the pod on the node.
Detcd has lost cluster state data for the pod.
Attempts:
2 left
💡 Hint

Consider which component decides where pods run.

Best Practice
expert
2:00remaining
Ensuring High Availability of etcd in Kubernetes
What is the best practice to ensure high availability and data consistency of etcd in a Kubernetes cluster?
ADeploy an odd number of etcd instances in a cluster with quorum-based consensus.
BRun a single etcd instance on the master node with frequent backups.
CUse multiple etcd instances but allow them to run independently without synchronization.
DStore etcd data on local disks of worker nodes for faster access.
Attempts:
2 left
💡 Hint

Think about how distributed systems maintain consistency and availability.