100% Latest & Updated CNCF CKA Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 190
A high-priority Pod can preempt lower-priority workloads but specifies a nonexistent node label. Choose TWO statements about the pending state. Choose TWO answers.
- Preemption changes node labels to match the Pod.
- Required nodeSelector remains a placement constraint at any priority.
- Evicting lower-priority Pods will not create the missing label.
- The Pod will be scheduled immediately because it is high priority.
- A matching ServiceAccount automatically grants node affinity.
Explanation
Correct Answers
B:Priority does not disable hard node-selection rules.
C:Preemption can reclaim resource requests but cannot satisfy a nonexistent label.
Incorrect Answers
A:Preemption does not edit node labels.
D:Priority cannot resolve an unsatisfiable selector.
E:ServiceAccount API identity is unrelated to Node label matching.
Question 191
A Pod requires zone=west, prefers disk=ssd, and requests 1Gi memory. West node A has disk=hdd and 2Gi free, west node B has disk=ssd and 600Mi free, east node C has disk=ssd and 4Gi free. Choose THREE correct assessments. Choose THREE answers.
- Node C must win because it has most memory.
- Node A fails because disk=hdd.
- Node A satisfies the hard affinity and resource request.
- Node B must win because it has SSD.
- Node C violates hard node affinity.
- Node B is resource-infeasible.
Explanation
Correct Answers
C:It is west and has at least 1Gi free even though the disk preference is not met.
E:Its east zone disqualifies it despite the preferred disk and abundant memory.
F:600Mi is below the Pod’s 1Gi memory request.
Incorrect Answers
A:More memory cannot override the west-only hard affinity.
B:The disk condition is a preference, not a mandatory filter.
D:Preferred disk cannot compensate for insufficient requested memory.
Question 192
A node has 200Mi unreserved ephemeral-storage allocatable. A Pod requests 400Mi ephemeral-storage and has ample CPU/memory headroom. What is the correct fit result? Choose ONE answer.
- It is infeasible on that node due to ephemeral-storage request.
- It fits if its container image is small.
- It fits because ephemeral-storage is a runtime-only limit.
- It fits because only memory requests matter.
Explanation
Correct Answer
A:Ephemeral-storage requests are a schedulable resource, separate from CPU and memory.
Incorrect Answers
B:Image size does not override the declared ephemeral-storage request.
C:Both ephemeral-storage requests and limits can be specified; requests affect scheduling.
D:The scheduler separately evaluates requested ephemeral-storage capacity.
Question 193
A Pending Pod has `dnsPolicy: ClusterFirst`, but scheduler Events say `node(s) didn’t match Pod’s node affinity/selector`. The DNS Service is healthy. What should be addressed? Choose ONE answer.
- The Service’s Endpoints.
- The Pod’s readiness probe.
- Its hard node-label placement rules.
- The CoreDNS ConfigMap.
Explanation
Correct Answer
C:The scheduler rejected nodes for affinity/selector mismatch, before DNS settings affect running containers.
Incorrect Answers
A:Service endpoints are not involved in satisfying hard node affinity.
B:Readiness checks do not run until the Pod is scheduled and started.
D:ClusterFirst DNS setup does not cause a node-affinity selector mismatch.
Question 194
A team wants one log-collection Pod on every eligible node including nodes added tomorrow. Which controller expresses that node-oriented scheduling intent? Choose ONE answer.
- Job with parallelism equal to current node count.
- DaemonSet.
- HorizontalPodAutoscaler alone.
- ReplicaSet with replicas=1.
Explanation
Correct Answer
B:DaemonSet controllers arrange for a matching Pod on eligible nodes and react to node additions.
Incorrect Answers
A:Jobs represent finite tasks, not ongoing per-node service placement.
C:HPA adjusts replicas for supported workloads rather than expressing one Pod per node.
D:One replica is not one Pod per node.
Question 195
A node needs kernel maintenance. Operators must prevent new assignments and safely evict controller-managed workloads. Which action is designed for the eviction part after respecting workload constraints? Choose ONE answer.
- kubectl scale deployment --replicas=0 for every namespace.
- kubectl cordon alone.
- kubectl label nodes maintenance=true.
- kubectl drain with appropriate flags and disruption review.
Explanation
Correct Answer
D:Drain requests eviction/deletion of eligible existing Pods, while cordon alone only marks the node unschedulable.
Incorrect Answers
A:Blanket scaling damages unrelated workloads and does not express node-scoped draining.
B:Cordon blocks new scheduler assignments but does not evict running Pods.
C:Arbitrary labels alone do not safely evict existing workloads.
Question 196
A Pod asks for `limits: {nvidia.com/gpu: 1}` and omits the GPU request. The extended resource is supported. What request is used for scheduling? Choose ONE answer.
- A GPU request of one is implied.
- The Pod can use GPUs on every node without allocation.
- The limit makes the Pod invalid in every cluster.
- A request of zero is implied.
Explanation
Correct Answer
A:For extended resources such as GPUs, a limit can be used as the request when the request is omitted.
Incorrect Answers
B:Extended resource allocation still depends on allocatable devices.
C:A GPU limit without an explicit separate request is a supported pattern.
D:The GPU limit is not ignored during scheduler reservation.
Question 197
A Pod stays Pending, its phase has no container termination reason, and `kubectl describe pod` Events report `0/3 nodes are available: 3 Insufficient cpu`. What should be investigated first? Choose ONE answer.
- The readiness probe endpoint response.
- Service session affinity.
- Application stack trace inside the container.
- Node allocatable/request reservations relative to the Pod CPU request.
Explanation
Correct Answer
D:A FailedScheduling Insufficient cpu event points to scheduler resource feasibility, not container startup.
Incorrect Answers
A:Readiness is evaluated after a container is running, unlike this Pending placement error.
B:Service routing behavior cannot remedy a scheduler CPU fit failure.
C:No container has started on a node, so there may be no application stack trace.
Question 198
A Deployment uses `DoNotSchedule`, maxSkew=1 across zones, but a new Pod has insufficient CPU in the underrepresented zone. Choose TWO sound statements. Choose TWO answers.
- The topology rule can block placement on the overrepresented zone.
- The scheduler always ignores the skew if CPU is tight.
- CPU requests are an additional independent scheduling filter.
- The scheduler invents CPU capacity in the underrepresented zone.
- The Pod must be assigned to any node reporting low observed CPU usage.
Explanation
Correct Answers
A:A hard skew filter is not waived just because a zone lacks available CPU.
C:A feasible topology domain must also have enough unreserved allocatable CPU.
Incorrect Answers
B:DoNotSchedule does not automatically become a soft preference.
D:Topology spreading does not affect resource accounting.
E:Scheduling checks requests and hard constraints, not usage alone.
Question 199
A Pod has a toleration with key=department, operator=Exists, effect=NoSchedule, and no value. A node is tainted department=research:NoSchedule. Which statement holds? Choose ONE answer.
- The toleration matches this taint.
- It matches every NoExecute taint as well.
- It fails unless `operator: Equal` is used.
- It fails because the value is omitted.
Explanation
Correct Answer
A:Exists tests the key/effect without requiring an Equal value match.
Incorrect Answers
B:An explicitly named NoSchedule effect does not cover NoExecute.
C:Equal is the value-comparison operator, not required for Exists semantics.
D:Exists permits omitting a value while matching by key and effect.
Question 200
In namespace development, LimitRange defaults omitted container CPU requests to 300m. A newly created Pod has two regular containers with no explicit requests. A node has 500m unreserved CPU. How does admission affect its scheduler fit? Choose ONE answer.
- The Pod effectively requests 600m CPU and cannot fit that node.
- Only one 300m default is counted across the whole Pod.
- The scheduler sees zero CPU request because the manifest omitted both values.
- The node accepts the Pod because its CPU usage is currently low.
Explanation
Correct Answer
A:LimitRange admission defaults both regular containers to 300m, and their scheduling CPU requests are summed.
Incorrect Answers
B:The default is per container and both regular-container requests contribute.
C:The LimitRange admission defaults are applied to the Pod before normal scheduling.
D:Scheduler resource feasibility compares effective requests with unreserved allocatable capacity.
Certified Kubernetes Administrator (CKA) Practice Tests