What do Kubernetes resource requests and limits control?
Requests declare the resources a container is guaranteed — the scheduler uses them to find a node with enough free capacity, and they form the basis of scheduling decisions. Limits cap usage at runtime: a container exceeding its CPU limit is throttled, and one exceeding its memory limit is OOM-killed. The gap between request and limit defines the pod's Quality of Service class (Guaranteed, Burstable, BestEffort). Setting these correctly is critical: too-low requests cause node overcommit and instability; too-high requests waste capacity and money.
2 / 5
What is a taint and a toleration in Kubernetes scheduling?
Taints and tolerations work together to repel pods from nodes unless explicitly permitted. A taint on a node (e.g. gpu=true:NoSchedule) blocks any pod that lacks a matching toleration. This is used to reserve specialized nodes (GPU machines, nodes for a particular team) so only pods that opt in via a toleration land there. Note the asymmetry: a toleration permits scheduling onto a tainted node but does not attract the pod there — for attraction you use node affinity. Together they give fine-grained placement control.
3 / 5
What is the difference between node affinity and pod anti-affinity?
Node affinity expresses a pod's preference or requirement to run on nodes with particular labels (e.g. disktype=ssd or a specific zone) — it is about pod-to-node relationships. Pod anti-affinity expresses pod-to-pod relationships: "do not schedule this pod near pods matching these labels." A classic use is spreading the replicas of a service across different nodes or zones so a single node/zone failure does not take down all replicas. Both come in required (hard) and preferred (soft) forms for strict vs best-effort placement.
4 / 5
What does the Horizontal Pod Autoscaler (HPA) do?
The HPA scales a workload horizontally — changing the replica count — based on metrics. It periodically compares an observed metric (CPU/memory utilization, or custom/external metrics like queue depth or requests-per-second) against a target and adjusts replicas to converge on it. Contrast with the Vertical Pod Autoscaler (which resizes a pod's requests/limits) and the Cluster Autoscaler (which adds/removes nodes). The HPA needs the metrics server (or an adapter for custom metrics) and well-set resource requests, since utilization is measured relative to requests.
5 / 5
What is the difference between a liveness probe and a readiness probe?
These probes serve different purposes. A liveness probe answers "is this container alive, or stuck/deadlocked?" — if it fails, Kubernetes restarts the container. A readiness probe answers "is this container ready to serve requests?" — if it fails, the pod is removed from the Service's endpoints so it receives no traffic, but it is not restarted. This distinction matters at startup (an app may be alive but still warming up) and during temporary overload (mark not-ready to shed traffic without killing the process). Misusing liveness as readiness causes needless restart loops.
What does the "Kubernetes Scheduling" vocabulary exercise cover?
This exercise tests real IT vocabulary related to kubernetes scheduling through 5 multiple-choice questions, each built from realistic workplace sentences rather than abstract definitions.
Is this vocabulary exercise free to use?
Yes. Every exercise on CoderSlingo, including this one, is completely free — no account, sign-up, or payment required.
How many questions does this exercise have?
This exercise has 5 questions. Each one shows a real-world sentence or scenario with multiple-choice options and an explanation once you answer.
What happens after I answer a question?
You'll see immediate feedback showing whether your answer was correct, along with a short explanation of why — then a button to move to the next question, and a full results screen at the end.
Can I retry the exercise if I get questions wrong?
Yes. Once you reach the results screen, click "Try again" to reset your answers and go through the exercise from the start as many times as you like.
Do I need to create an account to take this exercise?
No account is needed. Your answers are scored in your browser during the session — nothing is saved to a server, so you can jump straight in.
Is my progress saved if I leave the page?
No — progress within an exercise resets if you navigate away or reload. Each exercise is short enough to complete in a few minutes in one sitting.
Are these vocabulary exercises connected to other topics?
Yes — browse the full vocabulary exercises hub to find related modules covering adjacent IT topics and roles.
How is this different from reading a glossary or blog article?
Exercises like this one are active recall drills — you have to choose the correct term or phrasing yourself, which builds retention faster than passively reading a definition.
Where can I find more vocabulary exercises?
Browse the full Vocabulary exercises hub for hundreds of modules covering Agile, DevOps, security, databases, architecture, and more — organised by IT role and skill.