McAfee Secure

CNCF CKA Bundle

Exam Code: CKA

Exam Name Certified Kubernetes Administrator

Certification Provider: CNCF

Corresponding Certification: CKA

CNCF CKA Bundle $44.99

100% CNCF CKA Guaranteed Success With Testking Training Materials

Get Real CKA Exam Questions & Expert Verified Answers as Experienced on the Real Exam!

  • Questions & Answers

    CKA Questions & Answers

    58 Questions & Answers

    The ultimate exam preparation tool, Questions & Answers mirrors the actual CKA exam while allowing you to hone and measure every aspect of your test-taking ability.

  • CKA Video Course

    CKA Training Course

    138 Video Lectures

    CKA Video Course is developed by CNCF Professionals to help you pass the CKA exam.

    Description

    This course will improve your knowledge and skills required to pass Certified Kubernetes Administrator exam.
  • Study Guide

    CKA Study Guide

    268 PDF Pages

    Developed by industry experts, this 268-page guide spells out in painstaking detail all of the information you need to ace CKA exam.

Certified Kubernetes Administrator (CKA) Practice Tests

Satisfaction Guaranteed

Money Back Guarantee

Testking provides hassle-free money back guarantee with our products. That is because we have 100% trust in the abilities of our professional and experience product team, and our record is a proof of that.

99.6% PASS RATE
Total Cost: $194.97
Bundle Price: $149.98

Purchase Individually

  • Questions & Answers

    Questions & Answers

    58 Questions

    $124.99
  • CKA Video Course

    Training Course

    138 Video Lectures

    $39.99
  • Study Guide

    Study Guide

    268 PDF Pages

    $29.99

CNCF CKA Practice Test 13

Question 120

At Pinecrest logistics, in a sandbox Kubernetes cluster during a recovery tabletop exercise: Prevent general workloads from scheduling on worker-c until they explicitly tolerate special=dedicated:NoSchedule. Work only within the stated target and verify before declaring success. Which operational control most directly prevents this failure or configuration drift?

  1. Reconcile taints with workload tolerations and document dedicated-node policies.
  2. Track temporary maintenance taints in runbooks with explicit removal checkpoints.
  3. Review namespace quota headroom after material changes in workload size or tenancy.
  4. Record node maintenance ownership and uncordon obligations before opening a window.

Explanation

Correct Answer

A:

Reconcile taints with workload tolerations and document dedicated-node policies. This reduces recurrence of the specific operational failure. It reinforces the action: Run kubectl taint nodes worker-c special=dedicated:NoSchedule after confirming it is absent. The relevant mechanism is: A NoSchedule taint repels Pods without a matching toleration but does not automatically evict already running Pods.

Incorrect Answers

B:

That safeguard is relevant to: A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints. The current failure instead follows from: A NoSchedule taint repels Pods without a matching toleration but does not automatically evict already running Pods. Its prevention measure is “Reconcile taints with workload tolerations and document dedicated-node policies”.

C:

This routine guards against another mechanism: A ResourceQuota caps combined admitted requests in a namespace; per-Pod limits alone do not enforce a namespace-wide budget. The recurring exposure in the current case is: A NoSchedule taint repels Pods without a matching toleration but does not automatically evict already running Pods. The matching preventive check is “Reconcile taints with workload tolerations and document dedicated-node policies”.

D:

The suggested review tracks a different technical risk: Cordon marks a Node unschedulable to new Pods but does not drain running workloads. Here the sustained control must address: A NoSchedule taint repels Pods without a matching toleration but does not automatically evict already running Pods. Choose “Reconcile taints with workload tolerations and document dedicated-node policies”.

Question 121

At Northstar finance, in an isolated training cluster during a scheduled maintenance rehearsal: The dedicated-node maintenance window ends and the special=dedicated:NoSchedule taint on worker-a must be removed. Work only within the stated target and verify before declaring success. Which command or initial safe diagnostic step best addresses the stated lab task?

  1. Run kubectl create namespace ledger and then kubectl label namespace ledger owner=finance --overwrite.
  2. Run kubectl uncordon worker-c.
  3. Run kubectl taint nodes worker-a special=dedicated:NoSchedule-.
  4. Run kubectl -n ledger create rolebinding invoice-api-reader-binding --role=invoice-api-pod-reader --serviceaccount=ledger:release-bot.

Explanation

Correct Answer

C:

Run kubectl taint nodes worker-a special=dedicated:NoSchedule-. This is the appropriate command-line action or first safe diagnostic. The technical reason is: A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints. Validate the result with: Run kubectl describe node worker-a and confirm the specific taint is absent. Execute changes only in an authorized disposable lab or after normal production change controls.

Incorrect Answers

A:

The offered action targets: A Namespace supplies a scope for namespaced resources while its metadata labels support policy and inventory selectors. The case facts point instead to: A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints. Implement “Run kubectl taint nodes worker-a special=dedicated:NoSchedule-” to address that specific condition.

B:

This alternative is a response to another technical cause: Uncordon clears the Node's unschedulable status; it does not guarantee any particular Pod will be placed there. The reported case instead depends on: A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints. The action that directly addresses it is “Run kubectl taint nodes worker-a special=dedicated:NoSchedule-”.

D:

The offered action targets: A RoleBinding associates the service account subject with a Role inside the binding namespace. The case facts point instead to: A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints. Implement “Run kubectl taint nodes worker-a special=dedicated:NoSchedule-” to address that specific condition.

Question 122

At Northstar finance, in an isolated training cluster during a scheduled maintenance rehearsal: The dedicated-node maintenance window ends and the special=dedicated:NoSchedule taint on worker-a must be removed. Work only within the stated target and verify before declaring success. Which Kubernetes behavior best explains the required change or diagnosis?

  1. A ResourceQuota caps combined admitted requests in a namespace; per-Pod limits alone do not enforce a namespace-wide budget.
  2. Uncordon clears the Node's unschedulable status; it does not guarantee any particular Pod will be placed there.
  3. Bootstrap join tokens are sensitive credentials and a short TTL reduces the period in which a leaked token could be abused.
  4. A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints.

Explanation

Correct Answer

D:

A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints. This explains the stated condition. The corresponding action is: Run kubectl taint nodes worker-a special=dedicated:NoSchedule-. The direct acceptance evidence is: Run kubectl describe node worker-a and confirm the specific taint is absent.

Incorrect Answers

A:

This principle describes a separate cause: A ResourceQuota caps combined admitted requests in a namespace; per-Pod limits alone do not enforce a namespace-wide budget. The reported condition is governed by: A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints. The two mechanisms should not be conflated.

B:

Uncordon clears the Node's unschedulable status; it does not guarantee any particular Pod will be placed there. That explanation applies to a different technical failure. Here the controlling principle is: A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints.

C:

The offered statement is true for this other mechanism: Bootstrap join tokens are sensitive credentials and a short TTL reduces the period in which a leaked token could be abused. It does not explain the facts described here, which follow from: A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints.

Question 123

At Northstar finance, in an isolated training cluster during a scheduled maintenance rehearsal: The dedicated-node maintenance window ends and the special=dedicated:NoSchedule taint on worker-a must be removed. Work only within the stated target and verify before declaring success. Which observation best verifies the requested outcome rather than an unrelated state?

  1. Run kubectl describe node worker-a and confirm the specific taint is absent.
  2. Check the authorized join operation completes and inspect sudo kubeadm token list for expected expiry.
  3. Run kubectl auth can-i list nodes --as=auditor --as-group=ops-observers using an authorized impersonation-capable admin context.
  4. Run kubectl get clusterrole invoice-api-node-reader -o yaml and inspect resources and verbs.

Explanation

Correct Answer

A:

Run kubectl describe node worker-a and confirm the specific taint is absent. This validates the affected object or control path, rather than only showing a command completed. The underlying reason is: A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints. The intended action is: Run kubectl taint nodes worker-a special=dedicated:NoSchedule-.

Incorrect Answers

B:

That test belongs to another control with this basis: Bootstrap join tokens are sensitive credentials and a short TTL reduces the period in which a leaked token could be abused. In the current case, the governing reason is: A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints. The direct verification is “Run kubectl describe node worker-a and confirm the specific taint is absent”.

C:

This observation would test a different technical dependency: A ClusterRoleBinding applies its referenced ClusterRole permission set at cluster scope to the named group. The current issue is governed by: A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints. Its decisive check is “Run kubectl describe node worker-a and confirm the specific taint is absent”.

D:

The alternative verifies a different condition: Nodes are cluster-scoped and their access rules belong in a ClusterRole rather than a namespaced Role. The current case instead depends on: A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints. Confirm that “Run kubectl describe node worker-a and confirm the specific taint is absent”.

Question 124

At Northstar finance, in an isolated training cluster during a scheduled maintenance rehearsal: The dedicated-node maintenance window ends and the special=dedicated:NoSchedule taint on worker-a must be removed. Work only within the stated target and verify before declaring success. Which operational control most directly prevents this failure or configuration drift?

  1. Avoid logging join tokens and rotate or expire temporary bootstrap credentials promptly.
  2. Track temporary maintenance taints in runbooks with explicit removal checkpoints.
  3. Include schedulability restoration in maintenance completion checklists.
  4. Manage namespace creation and required labels through version-controlled bootstrap manifests.

Explanation

Correct Answer

B:

Track temporary maintenance taints in runbooks with explicit removal checkpoints. This reduces recurrence of the specific operational failure. It reinforces the action: Run kubectl taint nodes worker-a special=dedicated:NoSchedule-. The relevant mechanism is: A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints.

Incorrect Answers

A:

That safeguard is relevant to: Bootstrap join tokens are sensitive credentials and a short TTL reduces the period in which a leaked token could be abused. The current failure instead follows from: A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints. Its prevention measure is “Track temporary maintenance taints in runbooks with explicit removal checkpoints”.

C:

The suggested review tracks a different technical risk: Uncordon clears the Node's unschedulable status; it does not guarantee any particular Pod will be placed there. Here the sustained control must address: A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints. Choose “Track temporary maintenance taints in runbooks with explicit removal checkpoints”.

D:

That safeguard is relevant to: A Namespace supplies a scope for namespaced resources while its metadata labels support policy and inventory selectors. The current failure instead follows from: A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints. Its prevention measure is “Track temporary maintenance taints in runbooks with explicit removal checkpoints”.

Question 125

At Horizon observability, in a disposable simulated environment during a monitored release window: The dedicated-node maintenance window ends and the special=dedicated:NoSchedule taint on worker-b must be removed. Work only within the stated target and verify before declaring success. Which command or initial safe diagnostic step best addresses the stated lab task?

  1. Run kubectl label node worker-b workload=restricted --overwrite.
  2. Execute the verified kubeadm join command generated on the control plane with the token and CA certificate hash; do not invent these values.
  3. Run kubectl create clusterrolebinding metrics-api-node-audit --clusterrole=metrics-api-node-reader --group=platform-auditors.
  4. Run kubectl taint nodes worker-b special=dedicated:NoSchedule-.

Explanation

Correct Answer

D:

Run kubectl taint nodes worker-b special=dedicated:NoSchedule-. This is the appropriate command-line action or first safe diagnostic. The technical reason is: A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints. Validate the result with: Run kubectl describe node worker-b and confirm the specific taint is absent. Execute changes only in an authorized disposable lab or after normal production change controls.

Incorrect Answers

A:

This alternative is a response to another technical cause: Node labels are discoverable metadata matched by selectors; a node label alone does not create a workload restriction. The reported case instead depends on: A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints. The action that directly addresses it is “Run kubectl taint nodes worker-b special=dedicated:NoSchedule-”.

B:

The proposed action belongs to the mechanism: A worker joins through trusted control-plane discovery and TLS bootstrap; a random API endpoint or mismatched CA hash is unsafe. Here the stated fault follows a different mechanism: A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints. The corrective choice is “Run kubectl taint nodes worker-b special=dedicated:NoSchedule-”.

C:

The offered action targets: A ClusterRoleBinding applies its referenced ClusterRole permission set at cluster scope to the named group. The case facts point instead to: A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints. Implement “Run kubectl taint nodes worker-b special=dedicated:NoSchedule-” to address that specific condition.

Question 126

At Horizon observability, in a disposable simulated environment during a monitored release window: The dedicated-node maintenance window ends and the special=dedicated:NoSchedule taint on worker-b must be removed. Work only within the stated target and verify before declaring success. Which Kubernetes behavior best explains the required change or diagnosis?

  1. A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints.
  2. Node labels are discoverable metadata matched by selectors; a node label alone does not create a workload restriction.
  3. A NoSchedule taint repels Pods without a matching toleration but does not automatically evict already running Pods.
  4. ServiceAccounts provide workload identity; creating one does not automatically grant extra RBAC permissions.

Explanation

Correct Answer

A:

A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints. This explains the stated condition. The corresponding action is: Run kubectl taint nodes worker-b special=dedicated:NoSchedule-. The direct acceptance evidence is: Run kubectl describe node worker-b and confirm the specific taint is absent.

Incorrect Answers

B:

The offered statement is true for this other mechanism: Node labels are discoverable metadata matched by selectors; a node label alone does not create a workload restriction. It does not explain the facts described here, which follow from: A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints.

C:

This principle describes a separate cause: A NoSchedule taint repels Pods without a matching toleration but does not automatically evict already running Pods. The reported condition is governed by: A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints. The two mechanisms should not be conflated.

D:

ServiceAccounts provide workload identity; creating one does not automatically grant extra RBAC permissions. That explanation applies to a different technical failure. Here the controlling principle is: A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints.

Question 127

At Horizon observability, in a disposable simulated environment during a monitored release window: The dedicated-node maintenance window ends and the special=dedicated:NoSchedule taint on worker-b must be removed. Work only within the stated target and verify before declaring success. Which observation best verifies the requested outcome rather than an unrelated state?

  1. Run kubectl get namespace observability --show-labels and confirm the namespace and owner label exist.
  2. Run kubectl describe node worker-b and confirm the specific taint is absent.
  3. Run kubectl describe node worker-a and inspect the Taints field for the intended key, value and effect.
  4. Run kubectl get nodes from the control plane and confirm worker-b becomes Ready after CNI initialization.

Explanation

Correct Answer

B:

Run kubectl describe node worker-b and confirm the specific taint is absent. This validates the affected object or control path, rather than only showing a command completed. The underlying reason is: A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints. The intended action is: Run kubectl taint nodes worker-b special=dedicated:NoSchedule-.

Incorrect Answers

A:

That test belongs to another control with this basis: A Namespace supplies a scope for namespaced resources while its metadata labels support policy and inventory selectors. In the current case, the governing reason is: A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints. The direct verification is “Run kubectl describe node worker-b and confirm the specific taint is absent”.

C:

The alternative verifies a different condition: A NoSchedule taint repels Pods without a matching toleration but does not automatically evict already running Pods. The current case instead depends on: A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints. Confirm that “Run kubectl describe node worker-b and confirm the specific taint is absent”.

D:

That test belongs to another control with this basis: A worker joins through trusted control-plane discovery and TLS bootstrap; a random API endpoint or mismatched CA hash is unsafe. In the current case, the governing reason is: A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints. The direct verification is “Run kubectl describe node worker-b and confirm the specific taint is absent”.

Question 128

At Horizon observability, in a disposable simulated environment during a monitored release window: The dedicated-node maintenance window ends and the special=dedicated:NoSchedule taint on worker-b must be removed. Work only within the stated target and verify before declaring success. Which operational control most directly prevents this failure or configuration drift?

  1. Record node maintenance ownership and uncordon obligations before opening a window.
  2. Reconcile taints with workload tolerations and document dedicated-node policies.
  3. Track temporary maintenance taints in runbooks with explicit removal checkpoints.
  4. Use disruption budgets, replicated workloads and rollback plans before planned node drains.

Explanation

Correct Answer

C:

Track temporary maintenance taints in runbooks with explicit removal checkpoints. This reduces recurrence of the specific operational failure. It reinforces the action: Run kubectl taint nodes worker-b special=dedicated:NoSchedule-. The relevant mechanism is: A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints.

Incorrect Answers

A:

This routine guards against another mechanism: Cordon marks a Node unschedulable to new Pods but does not drain running workloads. The recurring exposure in the current case is: A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints. The matching preventive check is “Track temporary maintenance taints in runbooks with explicit removal checkpoints”.

B:

The suggested review tracks a different technical risk: A NoSchedule taint repels Pods without a matching toleration but does not automatically evict already running Pods. Here the sustained control must address: A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints. Choose “Track temporary maintenance taints in runbooks with explicit removal checkpoints”.

D:

This routine guards against another mechanism: Drain cordons the node and requests evictions for eligible Pods; the ignore-daemonsets flag is needed because DaemonSet Pods are not deleted by drain. The recurring exposure in the current case is: A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints. The matching preventive check is “Track temporary maintenance taints in runbooks with explicit removal checkpoints”.

Question 129

At Pinecrest logistics, in a sandbox Kubernetes cluster during a recovery tabletop exercise: The dedicated-node maintenance window ends and the special=dedicated:NoSchedule taint on worker-c must be removed. Work only within the stated target and verify before declaring success. Which command or initial safe diagnostic step best addresses the stated lab task?

  1. Run kubectl taint nodes worker-c special=dedicated:NoSchedule-.
  2. Run sudo kubeadm token create --ttl 15m --print-join-command on an authorized control-plane host and keep the output confidential.
  3. Run kubectl -n fulfillment create rolebinding dispatch-api-reader-binding --role=dispatch-api-pod-reader --serviceaccount=fulfillment:sync-bot.
  4. Run kubectl label node worker-c workload=restricted --overwrite.

Explanation

Correct Answer

A:

Run kubectl taint nodes worker-c special=dedicated:NoSchedule-. This is the appropriate command-line action or first safe diagnostic. The technical reason is: A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints. Validate the result with: Run kubectl describe node worker-c and confirm the specific taint is absent. Execute changes only in an authorized disposable lab or after normal production change controls.

Incorrect Answers

B:

The offered action targets: Bootstrap join tokens are sensitive credentials and a short TTL reduces the period in which a leaked token could be abused. The case facts point instead to: A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints. Implement “Run kubectl taint nodes worker-c special=dedicated:NoSchedule-” to address that specific condition.

C:

This alternative is a response to another technical cause: A RoleBinding associates the service account subject with a Role inside the binding namespace. The reported case instead depends on: A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints. The action that directly addresses it is “Run kubectl taint nodes worker-c special=dedicated:NoSchedule-”.

D:

The proposed action belongs to the mechanism: Node labels are discoverable metadata matched by selectors; a node label alone does not create a workload restriction. Here the stated fault follows a different mechanism: A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints. The corrective choice is “Run kubectl taint nodes worker-c special=dedicated:NoSchedule-”.

Question 130

At Pinecrest logistics, in a sandbox Kubernetes cluster during a recovery tabletop exercise: The dedicated-node maintenance window ends and the special=dedicated:NoSchedule taint on worker-c must be removed. Work only within the stated target and verify before declaring success. Which Kubernetes behavior best explains the required change or diagnosis?

  1. A namespaced Role expresses allowed resource verbs; it has no effect until a RoleBinding associates a subject.
  2. A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints.
  3. Cordon marks a Node unschedulable to new Pods but does not drain running workloads.
  4. A NoSchedule taint repels Pods without a matching toleration but does not automatically evict already running Pods.

Explanation

Correct Answer

B:

A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints. This explains the stated condition. The corresponding action is: Run kubectl taint nodes worker-c special=dedicated:NoSchedule-. The direct acceptance evidence is: Run kubectl describe node worker-c and confirm the specific taint is absent.

Incorrect Answers

A:

The offered statement is true for this other mechanism: A namespaced Role expresses allowed resource verbs; it has no effect until a RoleBinding associates a subject. It does not explain the facts described here, which follow from: A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints.

C:

Cordon marks a Node unschedulable to new Pods but does not drain running workloads. That explanation applies to a different technical failure. Here the controlling principle is: A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints.

D:

The offered statement is true for this other mechanism: A NoSchedule taint repels Pods without a matching toleration but does not automatically evict already running Pods. It does not explain the facts described here, which follow from: A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints.