100% Latest & Updated CNCF CKA Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
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.
Question 171
A Pod requires affinity to app=cache Pods in the same zone, but none exist in any eligible zone. There is no circular first-Pod bootstrap condition. What should be expected? Choose ONE answer.
- The Pod stays Pending until its required affinity is satisfiable.
- The scheduler creates a cache Pod automatically.
- The Pod runs on any node as a fallback.
- The Pod ignores affinity after one failed scheduling attempt.
Explanation
Correct Answer
A:Hard pod affinity requires a matching existing Pod in a compatible topology domain.
Incorrect Answers
B:Pod affinity does not create referenced workloads.
C:That fallback is characteristic of preferred, not required, pod affinity.
D:Hard affinity does not automatically expire after a scheduler retry.
Question 172
With two eligible zones, a workload has three matching Pods in zone-a and one in zone-b, and maxSkew=1 with `whenUnsatisfiable: DoNotSchedule`. Where can its next matching Pod go to satisfy the spread rule? Choose ONE answer.
- Neither zone because the current skew is two.
- Any zone because maxSkew is a preference.
- Zone-b.
- Zone-a.
Explanation
Correct Answer
C:Placing it in zone-b changes the counts to 3:2 and yields a skew of one.
Incorrect Answers
A:A new Pod can reduce skew by being scheduled in the underrepresented zone.
B:DoNotSchedule makes the configured skew a hard placement constraint.
D:Placing it in zone-a changes the counts to 4:1, exceeding the maximum skew.
Question 173
A workload uses topologySpreadConstraints with `whenUnsatisfiable: ScheduleAnyway` and maxSkew=1. Only one zone has sufficient CPU. What is correct? Choose ONE answer.
- The Pod can be scheduled in the feasible zone.
- The constraint automatically expands node allocatable CPU.
- It must wait until another zone gains CPU.
- It will evict old Pods to restore balance.
Explanation
Correct Answer
A:ScheduleAnyway treats the spread rule as a scoring preference rather than a hard rejection.
Incorrect Answers
B:Spread preferences do not change node resources.
C:A hard block would use DoNotSchedule, not ScheduleAnyway.
D:The scheduler does not evict existing Pods solely to satisfy a soft topology spread.
Question 174
A Pod has toleration `key=maintenance, value=true, effect=NoExecute`, but a node has `maintenance=true:NoSchedule`. No other tolerations exist. Does it tolerate this taint? Choose ONE answer.
- No, the taint effect differs.
- Yes, the key and value are sufficient despite the effect.
- It matches only when tolerationSeconds is set.
- Yes, because NoExecute is stronger than NoSchedule.
Explanation
Correct Answer
A:An explicitly effect-qualified toleration matches only the stated effect; NoExecute does not cover NoSchedule.
Incorrect Answers
B:The explicit toleration effect is part of the matching conditions.
C:A timer is not the missing field; the effect does not match.
D:Kubernetes matches effects by equality, not a strength hierarchy.
Question 175
An operator runs `kubectl cordon worker-2`. Healthy Pods on worker-2 continue serving traffic. What should happen to ordinary newly scheduled Pods? Choose ONE answer.
- The node’s container runtime stops.
- Every existing Pod is deleted.
- They are not newly assigned there by the scheduler.
- Only Pods with an app label are blocked.
Explanation
Correct Answer
C:Cordoning marks the node unschedulable without directly terminating existing Pods.
Incorrect Answers
A:Cordoning does not stop kubelet or container runtime services.
B:Deleting or evicting existing Pods is associated with drain, not cordon alone.
D:A cordon is a node scheduling property rather than an app-specific selector.
Question 176
A Pod declares `schedulerName: batch-scheduler`, but only `default-scheduler` is running. The Pod has no nodeName and meets all resource constraints. What is the likely result? Choose ONE answer.
- The default scheduler automatically handles it.
- It remains unscheduled until a scheduler with that name acts.
- Kubernetes deletes the Pod after one minute.
- The kubelet on any node will bind it.
Explanation
Correct Answer
B:The default scheduler does not bind Pods assigned to a different schedulerName.
Incorrect Answers
A:Scheduler profiles act only on Pods assigned to their scheduler name.
C:A missing named scheduler does not create that automatic deletion rule.
D:Kubelets do not replace a missing scheduler for unbound Pods.
Question 177
A Pod has two regular containers requesting 300m CPU each and RuntimeClass overhead of 50m. The sole node has 625m free CPU. Choose TWO accurate conclusions. Choose TWO answers.
- The node cannot fit this Pod as requested.
- Resource requests shrink automatically to fit the node.
- The effective CPU request is 350m.
- Its effective CPU request is 650m.
- Only CPU limit determines scheduler fit.
Explanation
Correct Answers
A:625m available is less than the 650m effective request.
D:Six hundred millicores for the regular containers plus fifty overhead are reserved.
Incorrect Answers
B:The scheduler does not rewrite the Pod’s declared resource request.
C:The application containers run together; their requests are summed before adding overhead.
E:Requests and overhead drive schedulable CPU feasibility.
Question 178
A Pod has two app containers requesting 250m CPU each, one init container requesting 700m CPU, and RuntimeClass overhead of 50m. Choose THREE accurate statements. Choose THREE answers.
- The effective request is 1,250m.
- The effective CPU request including overhead is 750m.
- Only the first app container matters.
- Overhead is ignored by the scheduler.
- The init-container phase raises the effective request above the app sum.
- The sum of regular app requests is 500m.
Explanation
Correct Answers
B:The init maximum of 700m plus 50m overhead establishes the Pod CPU reservation.
E:The maximum init request, 700m, exceeds the app sum of 500m.
F:The two app containers run together and add their scheduling requests.
Incorrect Answers
A:The init maximum is not added to the app sum as though they run simultaneously.
C:Both app containers contribute to simultaneous resource demand.
D:Configured RuntimeClass overhead is part of resource feasibility.
Question 179
A high-priority Pod requires zone=west, but all nodes are labeled zone=east. Several lower-priority Pods occupy all CPU. Can priority preemption resolve this admission failure by itself? Choose ONE answer.
- Yes, all NoSchedule rules are disabled for high priority Pods.
- No, removing lower-priority Pods cannot fix the zone-label mismatch.
- Yes, it automatically changes east labels to west.
- Yes, high priority overrides required affinity.
Explanation
Correct Answer
B:Preemption can free resources, but it cannot make a node satisfy required affinity.
Incorrect Answers
A:Priority does not confer general permission to ignore taints.
C:Preemption does not mutate node labels.
D:Priority does not relax hard placement constraints.
Question 180
A node has 600m unreserved CPU allocatable. A new Pod requests 700m CPU and limits 800m; current CPU utilization is only 5%. What does the default scheduler use for fit? Choose ONE answer.
- The 800m limit alone determines fit.
- The 700m request makes this node infeasible.
- The request is automatically reduced to 600m.
- The 5% observed utilization makes it feasible.
Explanation
Correct Answer
B:Scheduling accounts for reserved requests against allocatable, not momentary utilization or CPU limit headroom.
Incorrect Answers
A:CPU limits constrain runtime consumption but are not the primary scheduler fit reservation.
C:The scheduler does not silently lower Pod requests to available capacity.
D:Observed utilization is not substituted for the requests-based fit check.
Certified Kubernetes Administrator (CKA) Practice Tests