CKA Kubernetes Workload Scheduling Quiz

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Thames
T
Thames
Community Contributor
Quizzes Created: 11982 | Total Attempts: 187,298
| Attempts: 14 | Questions: 20 | Updated: Aug 16, 2026
Please wait...
Question 1 / 21
🏆 Rank #-- ▾
0 %
0/100
Score 0/100

1. What is the primary purpose of a NodeSelector in Kubernetes scheduling?

Explanation

A NodeSelector ensures a pod is scheduled only on nodes whose labels match the specified key-value pairs. This lets you target suitable nodes, such as those with particular hardware or capabilities.

Submit
Please wait...
About This Quiz
CKA Kubernetes Workload Scheduling Quiz - Quiz

This quiz tests your understanding of Kubernetes workload scheduling, a core competency for CKA certification. Master pod placement strategies, node selectors, taints and tolerations, affinity rules, and resource requests to optimize cluster performance. Essential knowledge for managing containerized applications in production environments.

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. What do taints prevent in Kubernetes node scheduling?

Explanation

Taints mark a node as unsuitable for certain pods. The Kubernetes scheduler avoids placing pods on a tainted node unless those pods have a matching toleration, which explicitly allows them to run there.

Submit

3. True or False: Multiple taints can be applied to a single node.

Explanation

True. A node can have multiple taints, each with its own key, value, and effect. These taints influence which pods can be scheduled on the node; a pod generally needs matching tolerations for the relevant taints to be eligible for scheduling.

Submit

4. Which affinity type allows pods to prefer certain nodes but still schedule elsewhere if necessary?

Explanation

This is a soft node-affinity rule: Kubernetes tries to place a pod on nodes that match the preference, but the preference does not block scheduling. If no preferred node is available, the pod can still be scheduled on another suitable node.

Submit

5. True or False: A pod with no tolerations can be scheduled on a node with taints.

Explanation

A pod without tolerations cannot be placed on a node whose taints impose `NoSchedule` or `NoExecute`; Kubernetes uses tolerations to allow workloads to accept those taints. `NoExecute` also evicts running pods. `PreferNoSchedule` is only a preference, so a pod may still be scheduled there, but the general rule is that tainted nodes require matching tolerations.

Submit

6. Which scheduling plugin determines if a pod can fit on a node based on available resources?

Explanation

NodeResourcesFit is a Kubernetes scheduler filter plugin. It checks whether a node has enough available resources, such as CPU and memory, to meet a pod’s resource requests. Nodes that cannot satisfy those requirements are excluded from consideration.

Submit

7. What is the effect of a taint with the 'NoExecute' key?

Explanation

A `NoExecute` taint causes Kubernetes to evict pods already running on a node if they do not tolerate that taint. It also prevents non-tolerating pods from being scheduled there.

Submit

8. What does the 'NoSchedule' taint effect do?

Explanation

The `NoSchedule` taint prevents the scheduler from placing new pods on a node unless they have a matching toleration. It does not evict pods that are already running there.

Submit

9. True or False: Resource limits prevent a pod from using more than the specified amount of CPU or memory.

Explanation

A pod’s resource limits cap the resources its containers can consume. When CPU usage reaches its limit, Kubernetes throttles the container. If memory use exceeds its limit, the container may be terminated with an out-of-memory error. These limits help prevent one pod from consuming excessive resources and affecting other workloads on the node.

Submit

10. Which YAML field specifies tolerations for a pod?

Explanation

In a Kubernetes Pod manifest, tolerations are configured under the Pod’s `spec` section. The `tolerations` list tells the scheduler which matching taints the Pod can tolerate, allowing it to be placed on nodes that would otherwise repel it. Thus, the field path is `spec.tolerations`.

Submit

11. What is the primary difference between 'requests' and 'limits' in resource specifications?

Explanation

Requests specify the minimum resources a container is guaranteed to receive, while limits set the maximum it can use. For example, a CPU or memory request helps with scheduling, whereas exceeding a limit may cause throttling or termination, depending on the resource.

Submit

12. True or False: A node selector is more flexible than node affinity.

Explanation

False. A `nodeSelector` supports only simple label matching, requiring a node to have specified labels. Node affinity offers more flexible rules, including multiple operators and both required and preferred scheduling preferences. Therefore, node affinity is more flexible than a node selector.

Submit

13. Pod anti-affinity is used to keep pods ____.

Explanation

Pod anti-affinity tells the scheduler to avoid placing pods with matching labels on the same node or in the same topology domain. This helps keep those pods apart, improving isolation and reducing the impact of a node or zone failure.

Submit

14. Which scheduling predicate ensures a pod has sufficient resources on a node?

Explanation

PodFitsResources is a Kubernetes scheduler predicate that checks whether a node has enough available resources, such as CPU and memory, to satisfy a pod’s resource requests. If the node cannot meet those requirements, the scheduler excludes it as a placement option for that pod.

Submit

15. Which field in a pod spec defines resource requests for CPU and memory?

Explanation

`resources.requests` specifies the minimum CPU and memory a container needs. Kubernetes uses these values when scheduling pods onto nodes with sufficient available resources.

Submit

16. The default scheduler uses a two-phase process: filtering and ____.

Explanation

The default scheduler first filters available nodes to remove those that cannot meet a pod’s requirements, such as resource needs or placement constraints. It then scores the remaining eligible nodes according to scheduling priorities and selects the node with the highest score for the pod. This two-phase process is known as filtering and scoring.

Submit

17. Priority and preemption allow higher-priority pods to evict ____.

Explanation

Kubernetes uses pod priority to decide which workloads should run first. If a higher-priority pod cannot be scheduled because resources are unavailable, preemption may evict lower-priority pods to make room.

Submit

18. Pod affinity allows you to colocate pods with ____.

Explanation

Pod affinity lets a Kubernetes scheduler place a pod near other pods that match specified labels, often within the same node or availability zone. This supports workloads that benefit from running close together.

Submit

19. The 'preferNoSchedule' effect is a soft constraint similar to ____.

Explanation

The `PreferNoSchedule` taint effect tells Kubernetes to try to avoid placing pods on a node, but it does not prohibit scheduling there. This makes it a soft preference, much like preferred node affinity, which guides scheduling decisions without making a placement mandatory.

Submit

20. The kube-scheduler component is responsible for ____.

Explanation

The kube-scheduler monitors for pods that have not yet been assigned to a node. It evaluates available nodes against the pod’s resource requirements, scheduling rules, and other constraints, then selects a suitable node and records the assignment so the pod can be run there.

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
What is the primary purpose of a NodeSelector in Kubernetes...
What do taints prevent in Kubernetes node scheduling?
True or False: Multiple taints can be applied to a single node.
Which affinity type allows pods to prefer certain nodes but still...
True or False: A pod with no tolerations can be scheduled on a node...
Which scheduling plugin determines if a pod can fit on a node based on...
What is the effect of a taint with the 'NoExecute' key?
What does the 'NoSchedule' taint effect do?
True or False: Resource limits prevent a pod from using more than the...
Which YAML field specifies tolerations for a pod?
What is the primary difference between 'requests' and 'limits' in...
True or False: A node selector is more flexible than node affinity.
Pod anti-affinity is used to keep pods ____.
Which scheduling predicate ensures a pod has sufficient resources on a...
Which field in a pod spec defines resource requests for CPU and...
The default scheduler uses a two-phase process: filtering and ____.
Priority and preemption allow higher-priority pods to evict ____.
Pod affinity allows you to colocate pods with ____.
The 'preferNoSchedule' effect is a soft constraint similar to ____.
The kube-scheduler component is responsible for ____.
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!