100% Latest & Updated CNCF CKA Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 160
A Pod requires disk=ssd and requests 500m CPU. Node A has disk=ssd and 800m free with no taint; node B has disk=hdd and 900m free; node C has disk=ssd and 250m free. Choose THREE true statements. Choose THREE answers.
- Node B is feasible because it has more CPU.
- Node A is feasible on these stated criteria.
- Node B fails the hard disk label check.
- The scheduler splits the Pod between A and C.
- Node C fails the CPU request check.
- Node C is feasible because disk=ssd matches.
Explanation
Correct Answers
B:Its disk label and CPU headroom satisfy both filters.
C:It has the wrong disk label regardless of its large CPU headroom.
E:Only 250m is free while the Pod requests 500m.
Incorrect Answers
A:Resource capacity cannot compensate for a failed hard label rule.
D:One Pod is bound to a single Node rather than distributed across machines.
F:Labels cannot compensate for insufficient requested CPU.
Question 161
An administrator adds `dedicated=ci:NoSchedule` to a worker running a healthy web Pod that has no matching toleration. What happens to that existing Pod solely from this new taint? Choose ONE answer.
- It can continue running on the worker.
- It automatically gains a toleration.
- It is evicted immediately.
- It is restarted on the same node.
Explanation
Correct Answer
A:NoSchedule rejects future placements but does not, by itself, evict an already-running Pod.
Incorrect Answers
B:Adding a node taint does not mutate ordinary Pods to tolerate it.
C:Immediate eviction is a NoExecute behavior, not NoSchedule behavior.
D:NoSchedule does not instruct the kubelet to restart an existing container.
Question 162
A running Pod tolerates `maintenance=true:NoExecute` with `tolerationSeconds: 120`. The matching taint remains for five minutes. What is the intended effect? Choose ONE answer.
- It remains indefinitely because it has a toleration.
- It must be evicted after five minutes only.
- The Pod becomes eligible for eviction after about 120 seconds.
- The scheduler ignores the NoExecute taint forever.
Explanation
Correct Answer
C:A timed NoExecute toleration delays the taint-based eviction while the taint persists.
Incorrect Answers
A:A finite tolerationSeconds does not provide unlimited residency.
B:The two-minute toleration period, not the taint duration, bounds the delay.
D:NoExecute also applies to running Pods and can evict them after the grace time.
Question 163
A GPU node has `dedicated=gpu:PreferNoSchedule`, and all other nodes lack enough memory for a new Pod. The Pod has no toleration and requests no GPU. Which statement is correct? Choose ONE answer.
- The Pod is forbidden from the GPU node.
- The scheduler may still place the Pod on the GPU node.
- The Pod is guaranteed to avoid the GPU node.
- The Pod must run with a GPU resource limit.
Explanation
Correct Answer
B:PreferNoSchedule is a soft preference rather than an absolute taint filter.
Incorrect Answers
A:Only a remaining NoSchedule/NoExecute effect imposes a hard exclusion.
C:A soft preference does not guarantee non-placement when alternatives are infeasible.
D:The PreferNoSchedule taint alone does not impose GPU resource requests.
Question 164
A Pod tolerates `dedicated=finance:NoSchedule`, but has no node affinity or selector. Nodes with and without that taint are healthy and have adequate resources. What does the toleration imply? Choose ONE answer.
- It guarantees the Pod lands on a finance node.
- It evicts all other Pods from a finance node.
- It permits scheduling on matching-tainted nodes but does not require them.
- It grants the Pod access to finance namespace Secrets.
Explanation
Correct Answer
C:A toleration removes a taint restriction; it is not a placement requirement.
Incorrect Answers
A:A node selector or hard affinity would be needed to restrict the target set.
B:Pod tolerations do not directly evict unrelated Pods.
D:Tolerations concern node scheduling, not API authorization.
Question 165
A Pod spec explicitly sets `nodeName: worker-7` although worker-7 has an unmatched `special=true:NoSchedule` taint. Assuming the kubelet can run it, what is the scheduling-level implication? Choose ONE answer.
- The scheduler must select a different node.
- The API automatically adds a matching toleration.
- It bypasses the scheduler’s NoSchedule filter.
- NoExecute eviction is also disabled.
Explanation
Correct Answer
C:The Pod is directly assigned to a node; the scheduler does not evaluate the ordinary NoSchedule constraint.
Incorrect Answers
A:An explicit nodeName bypasses default scheduler placement decisions.
B:The API does not synthesize tolerations simply because nodeName was set.
D:A NoExecute taint can still affect a directly bound Pod.
Question 166
A new Pod has priority 100000 and needs 10Gi memory, but every node has a maximum of 8Gi allocatable even if empty. Does raising priority alone make it fit? Choose ONE answer.
- Yes, PriorityClass mutates node allocatable values.
- Yes, the scheduler will split one Pod across nodes.
- Yes, high priority lets it overcommit requests automatically.
- No, its single-Pod request exceeds each node’s allocatable memory.
Explanation
Correct Answer
D:Preemption cannot increase the physical schedulable ceiling of a node.
Incorrect Answers
A:Pod priority affects ordering/preemption rather than hardware capacity.
B:A Pod is scheduled to one node, not sharded across several nodes.
C:Priority does not waive resource fit accounting.
Question 167
A Pod was placed using required node affinity zone=west. After it starts, the node’s zone label is changed to east. There are no taints or separate eviction conditions. What happens? Choose ONE answer.
- Its nodeSelector automatically changes to east.
- It remains bound to the node.
- The scheduler migrates it to another node.
- It is evicted immediately for breaking affinity.
Explanation
Correct Answer
B:IgnoredDuringExecution means a later label change does not itself evict the Pod.
Incorrect Answers
A:The control plane does not rewrite hard selectors based on node labels.
C:The scheduler does not live-migrate already-bound Pods after label edits.
D:This affinity type is only enforced when scheduling, not continually afterward.
Question 168
A new app=web Pod requires podAntiAffinity against app=web within `kubernetes.io/hostname`. Worker-1 already hosts web, worker-2 hosts only api, and both are eligible. Which placement meets the rule? Choose ONE answer.
- Worker-1.
- Neither worker because any existing Pod blocks it.
- Worker-2.
- Both workers equally.
Explanation
Correct Answer
C:Required pod anti-affinity excludes a node sharing the hostname domain with an existing matching web Pod.
Incorrect Answers
A:Worker-1 already contains a matching web Pod and violates the hard anti-affinity.
B:Only Pods matching the specified label selector influence this anti-affinity.
D:The existing web Pod distinguishes the otherwise eligible hostname domains.
Question 169
A running worker receives `problem=true:NoExecute`; Pod A tolerates it for 60 seconds and Pod B has no toleration. Choose TWO correct effects while the taint remains. Choose TWO answers.
- Pod B is subject to immediate taint-based eviction.
- The taint only affects Pods created after it was added.
- Both Pods remain indefinitely because the node is Ready.
- Pod A is protected only for its specified 60-second interval.
- NoExecute has no influence on running Pods.
Explanation
Correct Answers
A:An unmatched NoExecute effect applies to already-running Pods.
D:tolerationSeconds bounds residence while the NoExecute taint persists.
Incorrect Answers
B:That describes NoSchedule, not NoExecute.
C:Ready condition does not cancel an explicit NoExecute taint.
E:The documented effect includes eviction of already-running Pods.
Question 170
A workload prefers zone=east, tolerates gpu=true:NoSchedule, and has no hard node selector. Node A west/no-taints, B east/gpu=true:NoSchedule, and C east/dedicated=ml:NoSchedule are otherwise feasible. Choose THREE true statements. Choose THREE answers.
- The east preference overrides C’s hard taint.
- All three are guaranteed schedulable by the preference.
- Node A remains schedulable.
- Node B remains schedulable.
- Node C is excluded by its unmatched NoSchedule taint.
- The toleration forces the Pod onto B.
Explanation
Correct Answers
C:The east preference is soft, so an otherwise eligible west node is allowed.
D:Its gpu taint is explicitly tolerated and it also matches the preference.
E:An ordinary placement cannot ignore dedicated=ml without a matching toleration.
Incorrect Answers
A:Preferred node affinity cannot bypass an unmatched NoSchedule effect.
B:A preference cannot make a node with an unmatched hard taint eligible.
F:Tolerations permit a node but do not require its selection.
Certified Kubernetes Administrator (CKA) Practice Tests