LearnDevOpsHands-On Labs
Back to Kubernetes Simulator

🎓 CKA Exam Practice Simulator

Multi-Node CKA Exam Environment
Exam Simulation Mode Active: You are tasked with resolving realistic cluster scenarios. Use standard kubectl flags and verify workload migration between worker nodes.
cka-master-terminal
Quick Run:
Welcome to the Certified Kubernetes Administrator (CKA) Simulator.
Cluster configured: 1 Control Plane + 2 Worker Nodes.
Production namespaces: prod, dev, default, kube-system.
Type 'kubectl get nodes' to inspect the topology.
student@cka-control-plane:~$
Cluster Topology
3 nodes
cka-control-planeReady
Role: control-planePods: 1
cka-worker-1Ready
Role: workerPods: 1
cka-worker-2Ready
Role: workerPods: 1
Exam Questions0/3 Completed
Scenario 1: Node Maintenance (Drain Node)

Node 'cka-worker-1' needs kernel upgrades. Cordon and drain the node safely so workloads reschedule: 'kubectl cordon cka-worker-1 && kubectl drain cka-worker-1 --ignore-daemonsets'.

Scenario 2: Scale Production Workload

The payment service is experiencing high load. Scale the 'payment-api' deployment in the 'prod' namespace to 4 replicas: 'kubectl scale deployment payment-api -n prod --replicas=4'.

Scenario 3: Expose Microservice

Expose deployment 'payment-api' in 'prod' as a NodePort service on port 8080: 'kubectl expose deployment payment-api -n prod --port=8080 --type=NodePort'.