100% Latest & Updated CNCF CKA Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
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.
Question 201
A manifest sets `requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms: []` with an empty list, rather than omitting required node affinity. How is the empty required term set treated? Choose ONE answer.
- It matches every node.
- It matches nodes with any arbitrary label.
- It converts to preferred affinity.
- It matches no nodes.
Explanation
Correct Answer
D:An empty set of required node selector terms does not supply a satisfiable OR term.
Incorrect Answers
A:An empty list of required terms is not an unrestricted match.
B:The empty list contains no matching expression or term.
C:An empty required term set does not change affinity strength.
Question 202
A single nodeSelectorTerm contains `zone In [west]` and `disk In [ssd]`. Node-a is west/hdd and node-b is east/ssd. Both have free resources. What is the scheduling conclusion? Choose ONE answer.
- Node-a matches by zone alone.
- Neither satisfies this one required term.
- Node-b matches by disk alone.
- Both match because expressions are ORed.
Explanation
Correct Answer
B:Expressions inside a single term are ANDed; both zone and disk must match on one node.
Incorrect Answers
A:A partial match fails the other disk expression.
C:A partial match fails the other zone expression.
D:Only separate nodeSelectorTerms are ORed, not expressions in the same term.
Question 203
A pending Pod in namespace `shop` requests 250m CPU and 256Mi memory and requires node labels `topology.kubernetes.io/zone=east` and `disk=fast`. It has no tolerations. Available node capacity excludes existing reservations. `worker-81-a` has matching labels and 750m/768Mi free with no taints; `worker-81-b` has zone `west` and enough resources; `worker-81-c` matches labels but has only 150m/768Mi free; `worker-81-d` matches labels and has 500m/768Mi free but has taint `dedicated=ops:NoSchedule`. Choose ONE statement.
- `worker-81-d` must be eligible because `NoSchedule` only affects already running Pods.
- `worker-81-b` is eligible because enough CPU overrides the required zone label.
- `worker-81-a` satisfies the displayed node selection, resource and taint constraints.
- `worker-81-c` is eligible because containers may use more than their CPU request later.
Explanation
Correct Answer
C:`worker-81-a` has both required labels, at least 250m CPU and 256Mi memory free, and no blocking taint.
Incorrect Answers
A:`NoSchedule` specifically blocks placement of new Pods without a toleration; its effect is not limited to existing Pods. This Pod needs at least 250m requested CPU and 256Mi requested memory; resource headroom, hard labels, and each intolerated NoSchedule taint are independent feasibility gates.
B:Node selection is a hard constraint; sufficient capacity cannot override `west` versus required `east`. This Pod needs at least 250m requested CPU and 256Mi requested memory; resource headroom, hard labels, and each intolerated NoSchedule taint are independent feasibility gates.
D:CPU limits and runtime burst do not erase scheduling requests; 150m free is below 250m requested. This Pod needs at least 250m requested CPU and 256Mi requested memory; resource headroom, hard labels, and each intolerated NoSchedule taint are independent feasibility gates.
Question 204
After a worker becomes NotReady it has a `node.kubernetes.io/not-ready:NoSchedule` taint. A new Pod is otherwise resource-feasible but has no matching toleration. Why does it remain Pending? Choose ONE answer.
- The Pod requires a liveness probe before it can schedule.
- The scheduler always ignores node taints.
- A Service ClusterIP is needed to make a node Ready.
- The node’s unmatched NoSchedule taint excludes it.
Explanation
Correct Answer
D:The scheduler filters nodes with an untolerated NoSchedule effect, including not-ready conditions.
Incorrect Answers
A:Probes apply after containers start and are unrelated to taint filtering.
B:Taints and tolerations are standard scheduler feasibility inputs.
C:A Service address is not a prerequisite for Pod taint tolerance.
Question 205
During an incident review, an operator must choose an accurate diagnosis. A Deployment revision with a new image causes failed health checks, and an earlier working revision is still retained Context: the affected environment is `production` and the component is `gateway`. Identify only claims supported by this evidence. Choose ONE statement.
- Delete every ReplicaSet to roll back safely.
- Recreate the cluster CA to restore the previous ReplicaSet.
- Change Service type from ClusterIP to NodePort to restore the old image.
- Inspect rollout history to identify the prior good revision.
Explanation
Correct Answer
D:Deployment revision history helps identify the existing ReplicaSet revision suitable for rollback.
Incorrect Answers
A:removing all ReplicaSets destroys rollout history and risks additional outage.
B:cluster certificate authority changes are unrelated to Deployment revision rollback.
C:Service exposure does not change a Deployment Pod template revision.
Question 206
Before applying a change, the cluster team checks what the configuration actually permits. A Deployment revision with a new image causes failed health checks, and an earlier working revision is still retained Context: the affected environment is `staging` and the component is `indexer`. Identify only claims supported by this evidence. Choose ONE statement.
- Change Service type from ClusterIP to NodePort to restore the old image.
- Recreate the cluster CA to restore the previous ReplicaSet.
- Use `kubectl rollout undo deployment/<name>` to return to the previous revision.
- Delete every ReplicaSet to roll back safely.
Explanation
Correct Answer
C:Deployment rollback restores the prior Pod template and lets the controller reconcile new Pods.
Incorrect Answers
A:Service exposure does not change a Deployment Pod template revision. The prerequisite check or operation is 'Use `kubectl rollout undo deployment/<name>` to return to the previous revision': Deployment rollback restores the prior Pod template and lets the controller reconcile new Pods.
B:Cluster certificate authority changes are unrelated to Deployment revision rollback. The prerequisite check or operation is 'Use `kubectl rollout undo deployment/<name>` to return to the previous revision': Deployment rollback restores the prior Pod template and lets the controller reconcile new Pods.
D:Removing all ReplicaSets destroys rollout history and risks additional outage. The prerequisite check or operation is 'Use `kubectl rollout undo deployment/<name>` to return to the previous revision': Deployment rollback restores the prior Pod template and lets the controller reconcile new Pods.
Question 207
During a remediation drill, the team evaluates the safe next steps and their consequences. A Deployment revision with a new image causes failed health checks, and an earlier working revision is still retained Context: the affected environment is `payments` and the component is `controller`. Identify only claims supported by this evidence. Choose ONE statement.
- Recreate the cluster CA to restore the previous ReplicaSet.
- Confirm the rollout status and ready replicas after the undo.
- Change Service type from ClusterIP to NodePort to restore the old image.
- Delete every ReplicaSet to roll back safely.
Explanation
Correct Answer
B:successful API acceptance does not guarantee replacement Pods became healthy.
Incorrect Answers
A:Cluster certificate authority changes are unrelated to Deployment revision rollback. Instead, 'Confirm the rollout status and ready replicas after the undo' addresses the failure directly: Successful API acceptance does not guarantee replacement Pods became healthy.
C:Service exposure does not change a Deployment Pod template revision. Instead, 'Confirm the rollout status and ready replicas after the undo' addresses the failure directly: Successful API acceptance does not guarantee replacement Pods became healthy.
D:Removing all ReplicaSets destroys rollout history and risks additional outage. Instead, 'Confirm the rollout status and ready replicas after the undo' addresses the failure directly: Successful API acceptance does not guarantee replacement Pods became healthy.
Question 208
During an incident review, an operator must choose an accurate diagnosis. A Deployment with rolling update strategy should replace replicas gradually while maintaining capacity where possible Context: the affected environment is `production` and the component is `gateway`. Identify only claims supported by this evidence. Choose ONE statement.
- Change Pod DNS policy to control the number of surge replicas.
- Use maxSurge to control additional temporary Pods above the desired replica count.
- Set maxUnavailable above replica count to guarantee zero downtime.
- Use Service externalTrafficPolicy to define Deployment rollout surge.
Explanation
Correct Answer
B:maxSurge bounds excess Pods permitted during a rolling update.
Incorrect Answers
A:DNS lookup settings do not configure Deployment rolling update budgets.
C:large unavailability allowances weaken availability rather than guarantee it.
D:externalTrafficPolicy controls Service network routing, not controller replacement strategy.
Question 209
Before applying a change, the cluster team checks what the configuration actually permits. A Deployment with rolling update strategy should replace replicas gradually while maintaining capacity where possible Context: the affected environment is `staging` and the component is `indexer`. Identify only claims supported by this evidence. Choose TWO statements.
- Set maxUnavailable above replica count to guarantee zero downtime.
- Use maxUnavailable to bound unavailable desired replicas during rollout.
- Observe rollout status and ready replicas rather than counting created Pods alone.
- Use Service externalTrafficPolicy to define Deployment rollout surge.
- Change Pod DNS policy to control the number of surge replicas.
Explanation
Correct Answers
B:maxUnavailable is the rolling update availability budget.
C:the controller can create Pods that are not ready to serve traffic.
Incorrect Answers
A:Large unavailability allowances weaken availability rather than guarantee it. The prerequisite check or operation is 'Use maxUnavailable to bound unavailable desired replicas during rollout': MaxUnavailable is the rolling update availability budget.
D:ExternalTrafficPolicy controls Service network routing, not controller replacement strategy. The prerequisite check or operation is 'Use maxUnavailable to bound unavailable desired replicas during rollout': MaxUnavailable is the rolling update availability budget.
E:DNS lookup settings do not configure Deployment rolling update budgets. The prerequisite check or operation is 'Use maxUnavailable to bound unavailable desired replicas during rollout': MaxUnavailable is the rolling update availability budget.
Question 210
During a remediation drill, the team evaluates the safe next steps and their consequences. A Deployment with rolling update strategy should replace replicas gradually while maintaining capacity where possible Context: the affected environment is `payments` and the component is `controller`. Identify only claims supported by this evidence. Choose THREE statements.
- Set maxUnavailable above replica count to guarantee zero downtime.
- Use maxSurge to control additional temporary Pods above the desired replica count.
- Change Pod DNS policy to control the number of surge replicas.
- Use maxUnavailable to bound unavailable desired replicas during rollout.
- Observe rollout status and ready replicas rather than counting created Pods alone.
- Use Service externalTrafficPolicy to define Deployment rollout surge.
Explanation
Correct Answers
B:MaxSurge bounds excess Pods permitted during a rolling update. 'Set maxUnavailable above replica count to guarantee zero downtime' would not achieve the required recovery because Large unavailability allowances weaken availability rather than guarantee it.
D:MaxUnavailable is the rolling update availability budget. 'Set maxUnavailable above replica count to guarantee zero downtime' would not achieve the required recovery because Large unavailability allowances weaken availability rather than guarantee it.
E:The controller can create Pods that are not ready to serve traffic. 'Set maxUnavailable above replica count to guarantee zero downtime' would not achieve the required recovery because Large unavailability allowances weaken availability rather than guarantee it.
Incorrect Answers
A:Large unavailability allowances weaken availability rather than guarantee it. Instead, 'Use maxUnavailable to bound unavailable desired replicas during rollout' addresses the failure directly: MaxUnavailable is the rolling update availability budget.
C:DNS lookup settings do not configure Deployment rolling update budgets. Instead, 'Use maxUnavailable to bound unavailable desired replicas during rollout' addresses the failure directly: MaxUnavailable is the rolling update availability budget.
F:ExternalTrafficPolicy controls Service network routing, not controller replacement strategy. Instead, 'Use maxUnavailable to bound unavailable desired replicas during rollout' addresses the failure directly: MaxUnavailable is the rolling update availability budget.
Certified Kubernetes Administrator (CKA) Practice Tests