Kubernetes - Resource ManagementIf a node has 2 CPUs and two pods each request 1 CPU, what happens when both pods try to use 1.5 CPUs simultaneously?AOne pod is throttled, the other gets full 1.5 CPUsBPods are terminated due to CPU overuseCBoth pods get 1.5 CPUs eachDBoth pods are throttled to 1 CPU eachCheck Answer
Step-by-Step SolutionSolution:Step 1: Understand CPU requests and node capacityEach pod requests 1 CPU, total 2 CPUs requested, matching node capacity.Step 2: Analyze CPU usage above requestsPods can burst above requests but limited by node CPU. Both trying 1.5 CPUs means total 3 CPUs needed, exceeding node capacity.Step 3: Kubernetes throttles pods to their limitsPods are throttled to their CPU limits or node capacity, so both get throttled to 1 CPU each.Final Answer:Both pods are throttled to 1 CPU each -> Option DQuick Check:CPU overuse on node = throttling to requests [OK]Quick Trick: Pods can't exceed node CPU; throttling applies [OK]Common Mistakes:Assuming pods get more CPU than node capacityThinking pods are killed for overuseBelieving one pod gets more CPU unfairly
Master "Resource Management" in Kubernetes9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More Kubernetes Quizzes Health Checks and Probes - HTTP probe configuration - Quiz 7medium Ingress - TLS termination with Ingress - Quiz 14medium Ingress - Why Ingress manages external access - Quiz 4medium Networking - Network policies for traffic control - Quiz 15hard Persistent Storage - StatefulSets for stateful applications - Quiz 7medium Resource Management - Memory requests and limits - Quiz 3easy Scheduling - Jobs and CronJobs for batch processing - Quiz 3easy Scheduling - DaemonSets for per-node workloads - Quiz 3easy Scheduling - Why scheduling controls Pod placement - Quiz 8hard Secrets - Creating Secrets - Quiz 2easy