100% Latest & Updated CNCF CKA Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 230
Before applying a change, the cluster team checks what the configuration actually permits. An HPA calculates a desired replica count above spec.maxReplicas while the workload target is otherwise healthy Context: the affected environment is `staging` and the component is `indexer`. Identify only claims supported by this evidence. Choose THREE statements.
- Adjust maxReplicas only after evaluating capacity and intended scaling policy.
- Increase a Deployment rollout maxUnavailable to raise HPA maxReplicas.
- HPA scaling is bounded by spec.maxReplicas regardless of a higher raw computed demand.
- Change Service ClusterIP to extend HPA capacity.
- Check HPA conditions for scaling-limited indicators.
- The HPA must ignore maxReplicas whenever CPU utilization exceeds target.
Explanation
Correct Answers
A:increasing a cap changes allowed demand but does not create available node resources.
C:The HPA clamps its recommendation to configured replica limits. Before changing live state, distinguish this from 'Increase a Deployment rollout maxUnavailable to raise HPA maxReplicas': Rolling update availability and autoscaler replica bounds are independent.
E:Status conditions can expose clamping by min/max replica settings. Before changing live state, distinguish this from 'Change Service ClusterIP to extend HPA capacity': ClusterIP virtual addressing does not change HPA replica limits.
Incorrect Answers
B:Rolling update availability and autoscaler replica bounds are independent. The prerequisite check or operation is 'HPA scaling is bounded by spec.maxReplicas regardless of a higher raw computed demand': The HPA clamps its recommendation to configured replica limits.
D:ClusterIP virtual addressing does not change HPA replica limits. The prerequisite check or operation is 'HPA scaling is bounded by spec.maxReplicas regardless of a higher raw computed demand': The HPA clamps its recommendation to configured replica limits.
F:The configured maximum bounds the HPA even when demand is high. The prerequisite check or operation is 'Adjust maxReplicas only after evaluating capacity and intended scaling policy': Increasing a cap changes allowed demand but does not create available node resources.
Question 231
During a remediation drill, the team evaluates the safe next steps and their consequences. An HPA calculates a desired replica count above spec.maxReplicas while the workload target is otherwise healthy Context: the affected environment is `payments` and the component is `controller`. Identify only claims supported by this evidence. Choose ONE statement.
- The HPA must ignore maxReplicas whenever CPU utilization exceeds target.
- Increase a Deployment rollout maxUnavailable to raise HPA maxReplicas.
- Change Service ClusterIP to extend HPA capacity.
- Adjust maxReplicas only after evaluating capacity and intended scaling policy.
Explanation
Correct Answer
D:Increasing a cap changes allowed demand but does not create available node resources. 'The HPA must ignore maxReplicas whenever CPU utilization exceeds target' would not achieve the required recovery because The configured maximum bounds the HPA even when demand is high.
Incorrect Answers
A:The configured maximum bounds the HPA even when demand is high. Instead, 'Adjust maxReplicas only after evaluating capacity and intended scaling policy' addresses the failure directly: Increasing a cap changes allowed demand but does not create available node resources.
B:Rolling update availability and autoscaler replica bounds are independent. Instead, 'Adjust maxReplicas only after evaluating capacity and intended scaling policy' addresses the failure directly: Increasing a cap changes allowed demand but does not create available node resources.
C:ClusterIP virtual addressing does not change HPA replica limits. Instead, 'Adjust maxReplicas only after evaluating capacity and intended scaling policy' addresses the failure directly: Increasing a cap changes allowed demand but does not create available node resources.
Question 232
During an incident review, an operator must choose an accurate diagnosis. A node-wide telemetry agent needs one eligible Pod on each suitable worker when nodes are added or removed Context: the affected environment is `production` and the component is `gateway`. Identify only claims supported by this evidence. Choose ONE statement.
- Choose a ClusterIP Service because it schedules exactly one Pod per node.
- Change a Secret type to DaemonSet to make Pods appear.
- Use a one-off Job with completions=1 to maintain an agent on every node.
- Use a DaemonSet for per-node agent placement.
Explanation
Correct Answer
D:a DaemonSet controller reconciles a Pod on each eligible node.
Incorrect Answers
A:Services provide stable networking and do not implement per-node reconciliation.
B:Secret API types do not create workload controller behavior.
C:a completed Job does not continuously create an agent Pod on new nodes.
Question 233
Before applying a change, the cluster team checks what the configuration actually permits. A node-wide telemetry agent needs one eligible Pod on each suitable worker when nodes are added or removed Context: the affected environment is `staging` and the component is `indexer`. Identify only claims supported by this evidence. Choose ONE statement.
- Use a one-off Job with completions=1 to maintain an agent on every node.
- Apply appropriate node selectors and tolerations for intended node coverage.
- Choose a ClusterIP Service because it schedules exactly one Pod per node.
- Change a Secret type to DaemonSet to make Pods appear.
Explanation
Correct Answer
B:DaemonSet pods still obey placement constraints and relevant taints.
Incorrect Answers
A:A completed Job does not continuously create an agent Pod on new nodes. The prerequisite check or operation is 'Apply appropriate node selectors and tolerations for intended node coverage': DaemonSet pods still obey placement constraints and relevant taints.
C:Services provide stable networking and do not implement per-node reconciliation. The prerequisite check or operation is 'Apply appropriate node selectors and tolerations for intended node coverage': DaemonSet pods still obey placement constraints and relevant taints.
D:Secret API types do not create workload controller behavior. The prerequisite check or operation is 'Apply appropriate node selectors and tolerations for intended node coverage': DaemonSet pods still obey placement constraints and relevant taints.
Question 234
During a remediation drill, the team evaluates the safe next steps and their consequences. A node-wide telemetry agent needs one eligible Pod on each suitable worker when nodes are added or removed Context: the affected environment is `payments` and the component is `controller`. Identify only claims supported by this evidence. Choose ONE statement.
- Use a one-off Job with completions=1 to maintain an agent on every node.
- Verify desired, current and ready DaemonSet Pod counts.
- Change a Secret type to DaemonSet to make Pods appear.
- Choose a ClusterIP Service because it schedules exactly one Pod per node.
Explanation
Correct Answer
B:DaemonSet status reveals whether intended nodes have operational agent Pods.
Incorrect Answers
A:A completed Job does not continuously create an agent Pod on new nodes. Instead, 'Verify desired, current and ready DaemonSet Pod counts' addresses the failure directly: DaemonSet status reveals whether intended nodes have operational agent Pods.
C:Secret API types do not create workload controller behavior. Instead, 'Verify desired, current and ready DaemonSet Pod counts' addresses the failure directly: DaemonSet status reveals whether intended nodes have operational agent Pods.
D:Services provide stable networking and do not implement per-node reconciliation. Instead, 'Verify desired, current and ready DaemonSet Pod counts' addresses the failure directly: DaemonSet status reveals whether intended nodes have operational agent Pods.
Question 235
During an incident review, an operator must choose an accurate diagnosis. A replicated database tier needs ordered Pod identities and stable per-replica storage claims across rescheduling Context: the affected environment is `production` and the component is `gateway`. Identify only claims supported by this evidence. Choose ONE statement.
- Use a NodePort to assign stable ordinal database disk names.
- Use a StatefulSet with a headless Service and volumeClaimTemplates where appropriate.
- Delete every PVC when a StatefulSet Pod restarts.
- Replace the StatefulSet with a bare ReplicaSet to guarantee per-ordinal PVCs.
Explanation
Correct Answer
B:StatefulSets provide stable ordinal identities and can create stable per-Pod PVCs.
Incorrect Answers
A:NodePort exposes a network port, not stable per-replica storage.
C:PVC deletion risks persisted data loss and is not required for ordinary Pod replacement.
D:ReplicaSets do not natively provision stable ordinal PVC identities.
Question 236
Before applying a change, the cluster team checks what the configuration actually permits. A replicated database tier needs ordered Pod identities and stable per-replica storage claims across rescheduling Context: the affected environment is `staging` and the component is `indexer`. Identify only claims supported by this evidence. Choose ONE statement.
- Use a NodePort to assign stable ordinal database disk names.
- Delete every PVC when a StatefulSet Pod restarts.
- Preserve PVCs according to the configured retention policy during replacement.
- Replace the StatefulSet with a bare ReplicaSet to guarantee per-ordinal PVCs.
Explanation
Correct Answer
C:Pod rescheduling should not accidentally discard data tied to an ordinal identity.
Incorrect Answers
A:NodePort exposes a network port, not stable per-replica storage. The prerequisite check or operation is 'Preserve PVCs according to the configured retention policy during replacement': Pod rescheduling should not accidentally discard data tied to an ordinal identity.
B:PVC deletion risks persisted data loss and is not required for ordinary Pod replacement. The prerequisite check or operation is 'Preserve PVCs according to the configured retention policy during replacement': Pod rescheduling should not accidentally discard data tied to an ordinal identity.
D:ReplicaSets do not natively provision stable ordinal PVC identities. The prerequisite check or operation is 'Preserve PVCs according to the configured retention policy during replacement': Pod rescheduling should not accidentally discard data tied to an ordinal identity.
Question 237
During a remediation drill, the team evaluates the safe next steps and their consequences. A replicated database tier needs ordered Pod identities and stable per-replica storage claims across rescheduling Context: the affected environment is `payments` and the component is `controller`. Identify only claims supported by this evidence. Choose ONE statement.
- Use a NodePort to assign stable ordinal database disk names.
- Confirm the StatefulSet controller recreates a lost ordinal Pod consistently.
- Delete every PVC when a StatefulSet Pod restarts.
- Replace the StatefulSet with a bare ReplicaSet to guarantee per-ordinal PVCs.
Explanation
Correct Answer
B:the workload controller maintains named ordinal identities instead of anonymous replica names.
Incorrect Answers
A:NodePort exposes a network port, not stable per-replica storage. Instead, 'Confirm the StatefulSet controller recreates a lost ordinal Pod consistently' addresses the failure directly: The workload controller maintains named ordinal identities instead of anonymous replica names.
C:PVC deletion risks persisted data loss and is not required for ordinary Pod replacement. Instead, 'Confirm the StatefulSet controller recreates a lost ordinal Pod consistently' addresses the failure directly: The workload controller maintains named ordinal identities instead of anonymous replica names.
D:ReplicaSets do not natively provision stable ordinal PVC identities. Instead, 'Confirm the StatefulSet controller recreates a lost ordinal Pod consistently' addresses the failure directly: The workload controller maintains named ordinal identities instead of anonymous replica names.
Question 238
A finite migration Job has `activeDeadlineSeconds: 300` and its work is still incomplete after six minutes. The backoffLimit has not been reached. What is the correct effect of the Job deadline? Choose ONE answer.
- The Job may be marked failed when its active deadline is exceeded.
- The Job must continue until backoffLimit is hit.
- The Job automatically becomes a DaemonSet.
- The Job is guaranteed to succeed because it was active for five minutes.
Explanation
Correct Answer
A:activeDeadlineSeconds bounds Job active runtime independently of how many retries remain.
Incorrect Answers
B:Deadline expiry can fail a Job before exhausting retry attempts.
C:Kubernetes does not change controller kinds after a deadline.
D:Elapsed runtime does not constitute a successful completion.
Question 239
A Job is configured with completions=3 and parallelism=2. Two tasks succeed; a third Pod fails with an error, and the Job has remaining retries. Choose TWO accurate assessments. Choose TWO answers.
- parallelism=2 requires exactly two failures.
- A single Pod failure always deletes the Job.
- A failed Pod may be retried subject to Job backoff settings.
- The Job still needs a third successful completion.
- Two successes mean the entire Job is complete.
Explanation
Correct Answers
C:Job controller behavior can create replacement attempts while its backoff limit permits it.
D:The completions target counts successful Pod completions, not failed attempts.
Incorrect Answers
A:Parallelism limits concurrent active Pods, not a failure quota.
B:Retry and failure policy configuration determines response to Pod failures.
E:The target is three successful completions, so one remains.
Question 240
During a remediation drill, the team evaluates the safe next steps and their consequences. A finite batch task needs successful completions and should stop when the requested number is reached, unlike a continuously running web service Context: the affected environment is `payments` and the component is `controller`. Identify only claims supported by this evidence. Choose THREE statements.
- Use a PersistentVolume reclaimPolicy as the batch completion counter.
- Use a Deployment with replicas equal to desired completions.
- Set restartPolicy Always in a Job Pod template to mark completion.
- Specify a valid restartPolicy such as Never or OnFailure in its Pod template.
- Inspect Job status for succeeded/failed completions.
- Use a Job with completions/parallelism appropriate to the batch task.
Explanation
Correct Answers
D:Job Pod templates allow Never or OnFailure rather than Always.
E:Job status reports batch progress and conditions such as complete or failed.
F:Jobs track successful Pod completions instead of continuously maintaining available serving Pods.
Incorrect Answers
A:volume reclamation is unrelated to succeeded Job Pod counts.
B:Deployments continuously reconcile serving replica count and do not model finished work.
C:Job Pod templates require Never or OnFailure; Always is not valid for Job work Pods.
Certified Kubernetes Administrator (CKA) Practice Tests