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 11

Question 100

At Northstar finance, in an isolated training cluster during a scheduled maintenance rehearsal: The worker worker-a needs the scheduling label workload=restricted used by an approved nodeSelector. Work only within the stated target and verify before declaring success. Which operational control most directly prevents this failure or configuration drift?

  1. Include schedulability restoration in maintenance completion checklists.
  2. Record node maintenance ownership and uncordon obligations before opening a window.
  3. Use narrowly defined ClusterRoles and periodically audit cluster-wide grants.
  4. Reserve and govern security-sensitive scheduling labels through controlled change procedures.

Explanation

Correct Answer

D:

Reserve and govern security-sensitive scheduling labels through controlled change procedures. This reduces recurrence of the specific operational failure. It reinforces the action: Run kubectl label node worker-a workload=restricted --overwrite. The relevant mechanism is: Node labels are discoverable metadata matched by selectors; a node label alone does not create a workload restriction.

Incorrect Answers

A:

That safeguard is relevant to: Uncordon clears the Node's unschedulable status; it does not guarantee any particular Pod will be placed there. The current failure instead follows from: Node labels are discoverable metadata matched by selectors; a node label alone does not create a workload restriction. Its prevention measure is “Reserve and govern security-sensitive scheduling labels through controlled change procedures”.

B:

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: Node labels are discoverable metadata matched by selectors; a node label alone does not create a workload restriction. The matching preventive check is “Reserve and govern security-sensitive scheduling labels through controlled change procedures”.

C:

The suggested review tracks a different technical risk: Nodes are cluster-scoped and their access rules belong in a ClusterRole rather than a namespaced Role. Here the sustained control must address: Node labels are discoverable metadata matched by selectors; a node label alone does not create a workload restriction. Choose “Reserve and govern security-sensitive scheduling labels through controlled change procedures”.

Question 101

At Horizon observability, in a disposable simulated environment during a monitored release window: The worker worker-b needs the scheduling label workload=restricted used by an approved nodeSelector. 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 cordon worker-a.
  2. Run kubectl label node worker-b workload=restricted --overwrite.
  3. Run kubectl cordon worker-c.
  4. Run kubectl taint nodes worker-b special=dedicated:NoSchedule-.

Explanation

Correct Answer

B:

Run kubectl label node worker-b workload=restricted --overwrite. This is the appropriate command-line action or first safe diagnostic. The technical reason is: Node labels are discoverable metadata matched by selectors; a node label alone does not create a workload restriction. Validate the result with: Run kubectl get node worker-b --show-labels and inspect workloads' node selectors. 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: Cordon marks a Node unschedulable to new Pods but does not drain running workloads. The reported case instead depends on: Node labels are discoverable metadata matched by selectors; a node label alone does not create a workload restriction. The action that directly addresses it is “Run kubectl label node worker-b workload=restricted --overwrite”.

C:

The offered action targets: Cordon marks a Node unschedulable to new Pods but does not drain running workloads. The case facts point instead to: Node labels are discoverable metadata matched by selectors; a node label alone does not create a workload restriction. Implement “Run kubectl label node worker-b workload=restricted --overwrite” to address that specific condition.

D:

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

Question 102

At Horizon observability, in a disposable simulated environment during a monitored release window: The worker worker-b needs the scheduling label workload=restricted used by an approved nodeSelector. Work only within the stated target and verify before declaring success. Which Kubernetes behavior best explains the required change or diagnosis?

  1. Cordon marks a Node unschedulable to new Pods but does not drain running workloads.
  2. A ClusterRoleBinding applies its referenced ClusterRole permission set at cluster scope to the named group.
  3. Node labels are discoverable metadata matched by selectors; a node label alone does not create a workload restriction.
  4. Uncordon clears the Node's unschedulable status; it does not guarantee any particular Pod will be placed there.

Explanation

Correct Answer

C:

Node labels are discoverable metadata matched by selectors; a node label alone does not create a workload restriction. This explains the stated condition. The corresponding action is: Run kubectl label node worker-b workload=restricted --overwrite. The direct acceptance evidence is: Run kubectl get node worker-b --show-labels and inspect workloads' node selectors.

Incorrect Answers

A:

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: Node labels are discoverable metadata matched by selectors; a node label alone does not create a workload restriction.

B:

The offered statement is true for this other mechanism: A ClusterRoleBinding applies its referenced ClusterRole permission set at cluster scope to the named group. It does not explain the facts described here, which follow from: Node labels are discoverable metadata matched by selectors; a node label alone does not create a workload restriction.

D:

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: Node labels are discoverable metadata matched by selectors; a node label alone does not create a workload restriction.

Question 103

At Horizon observability, in a disposable simulated environment during a monitored release window: The worker worker-b needs the scheduling label workload=restricted used by an approved nodeSelector. 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 fulfillment --show-labels and confirm the namespace and owner label exist.
  2. Run kubectl -n ledger get serviceaccount release-bot and inspect the Deployment's serviceAccountName after binding it.
  3. Run kubectl -n observability get serviceaccount audit-bot and inspect the Deployment's serviceAccountName after binding it.
  4. Run kubectl get node worker-b --show-labels and inspect workloads' node selectors.

Explanation

Correct Answer

D:

Run kubectl get node worker-b --show-labels and inspect workloads' node selectors. This validates the affected object or control path, rather than only showing a command completed. The underlying reason is: Node labels are discoverable metadata matched by selectors; a node label alone does not create a workload restriction. The intended action is: Run kubectl label node worker-b workload=restricted --overwrite.

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: Node labels are discoverable metadata matched by selectors; a node label alone does not create a workload restriction. The direct verification is “Run kubectl get node worker-b --show-labels and inspect workloads' node selectors”.

B:

This observation would test a different technical dependency: ServiceAccounts provide workload identity; creating one does not automatically grant extra RBAC permissions. The current issue is governed by: Node labels are discoverable metadata matched by selectors; a node label alone does not create a workload restriction. Its decisive check is “Run kubectl get node worker-b --show-labels and inspect workloads' node selectors”.

C:

The alternative verifies a different condition: ServiceAccounts provide workload identity; creating one does not automatically grant extra RBAC permissions. The current case instead depends on: Node labels are discoverable metadata matched by selectors; a node label alone does not create a workload restriction. Confirm that “Run kubectl get node worker-b --show-labels and inspect workloads' node selectors”.

Question 104

At Horizon observability, in a disposable simulated environment during a monitored release window: The worker worker-b needs the scheduling label workload=restricted used by an approved nodeSelector. Work only within the stated target and verify before declaring success. Which operational control most directly prevents this failure or configuration drift?

  1. Reserve and govern security-sensitive scheduling labels through controlled change procedures.
  2. Record node maintenance ownership and uncordon obligations before opening a window.
  3. Manage namespace creation and required labels through version-controlled bootstrap manifests.
  4. Require approval and periodic recertification for ClusterRoleBindings and group membership.

Explanation

Correct Answer

A:

Reserve and govern security-sensitive scheduling labels through controlled change procedures. This reduces recurrence of the specific operational failure. It reinforces the action: Run kubectl label node worker-b workload=restricted --overwrite. The relevant mechanism is: Node labels are discoverable metadata matched by selectors; a node label alone does not create a workload restriction.

Incorrect Answers

B:

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: Node labels are discoverable metadata matched by selectors; a node label alone does not create a workload restriction. Choose “Reserve and govern security-sensitive scheduling labels through controlled change procedures”.

C:

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: Node labels are discoverable metadata matched by selectors; a node label alone does not create a workload restriction. Its prevention measure is “Reserve and govern security-sensitive scheduling labels through controlled change procedures”.

D:

This routine guards against another mechanism: A ClusterRoleBinding applies its referenced ClusterRole permission set at cluster scope to the named group. The recurring exposure in the current case is: Node labels are discoverable metadata matched by selectors; a node label alone does not create a workload restriction. The matching preventive check is “Reserve and govern security-sensitive scheduling labels through controlled change procedures”.

Question 105

At Pinecrest logistics, in a sandbox Kubernetes cluster during a recovery tabletop exercise: The worker worker-c needs the scheduling label workload=restricted used by an approved nodeSelector. 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 -n observability create serviceaccount audit-bot and set the workload to use that service account separately.
  2. Run kubectl cordon worker-b.
  3. Run kubectl label node worker-c workload=restricted --overwrite.
  4. Execute the verified kubeadm join command generated on the control plane with the token and CA certificate hash; do not invent these values.

Explanation

Correct Answer

C:

Run kubectl label node worker-c workload=restricted --overwrite. This is the appropriate command-line action or first safe diagnostic. The technical reason is: Node labels are discoverable metadata matched by selectors; a node label alone does not create a workload restriction. Validate the result with: Run kubectl get node worker-c --show-labels and inspect workloads' node selectors. Execute changes only in an authorized disposable lab or after normal production change controls.

Incorrect Answers

A:

The proposed action belongs to the mechanism: ServiceAccounts provide workload identity; creating one does not automatically grant extra RBAC permissions. Here the stated fault follows a different mechanism: Node labels are discoverable metadata matched by selectors; a node label alone does not create a workload restriction. The corrective choice is “Run kubectl label node worker-c workload=restricted --overwrite”.

B:

The offered action targets: Cordon marks a Node unschedulable to new Pods but does not drain running workloads. The case facts point instead to: Node labels are discoverable metadata matched by selectors; a node label alone does not create a workload restriction. Implement “Run kubectl label node worker-c workload=restricted --overwrite” to address that specific condition.

D:

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: Node labels are discoverable metadata matched by selectors; a node label alone does not create a workload restriction. The corrective choice is “Run kubectl label node worker-c workload=restricted --overwrite”.

Question 106

At Pinecrest logistics, in a sandbox Kubernetes cluster during a recovery tabletop exercise: The worker worker-c needs the scheduling label workload=restricted used by an approved nodeSelector. 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. Cordon marks a Node unschedulable to new Pods but does not drain running workloads.
  3. ServiceAccounts provide workload identity; creating one does not automatically grant extra RBAC permissions.
  4. Node labels are discoverable metadata matched by selectors; a node label alone does not create a workload restriction.

Explanation

Correct Answer

D:

Node labels are discoverable metadata matched by selectors; a node label alone does not create a workload restriction. This explains the stated condition. The corresponding action is: Run kubectl label node worker-c workload=restricted --overwrite. The direct acceptance evidence is: Run kubectl get node worker-c --show-labels and inspect workloads' node selectors.

Incorrect Answers

A:

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

B:

This principle describes a separate cause: Cordon marks a Node unschedulable to new Pods but does not drain running workloads. The reported condition is governed by: Node labels are discoverable metadata matched by selectors; a node label alone does not create a workload restriction. The two mechanisms should not be conflated.

C:

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: Node labels are discoverable metadata matched by selectors; a node label alone does not create a workload restriction.

Question 107

At Pinecrest logistics, in a sandbox Kubernetes cluster during a recovery tabletop exercise: The worker worker-c needs the scheduling label workload=restricted used by an approved nodeSelector. 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 node worker-c --show-labels and inspect workloads' node selectors.
  2. Run kubectl describe node worker-c and inspect the Taints field for the intended key, value and effect.
  3. Run kubectl get namespace observability --show-labels and confirm the namespace and owner label exist.
  4. Run kubectl get node worker-c and verify that SchedulingDisabled is absent.

Explanation

Correct Answer

A:

Run kubectl get node worker-c --show-labels and inspect workloads' node selectors. This validates the affected object or control path, rather than only showing a command completed. The underlying reason is: Node labels are discoverable metadata matched by selectors; a node label alone does not create a workload restriction. The intended action is: Run kubectl label node worker-c workload=restricted --overwrite.

Incorrect Answers

B:

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: Node labels are discoverable metadata matched by selectors; a node label alone does not create a workload restriction. Confirm that “Run kubectl get node worker-c --show-labels and inspect workloads' node selectors”.

C:

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: Node labels are discoverable metadata matched by selectors; a node label alone does not create a workload restriction. The direct verification is “Run kubectl get node worker-c --show-labels and inspect workloads' node selectors”.

D:

This observation would test a different technical dependency: Uncordon clears the Node's unschedulable status; it does not guarantee any particular Pod will be placed there. The current issue is governed by: Node labels are discoverable metadata matched by selectors; a node label alone does not create a workload restriction. Its decisive check is “Run kubectl get node worker-c --show-labels and inspect workloads' node selectors”.

Question 108

At Pinecrest logistics, in a sandbox Kubernetes cluster during a recovery tabletop exercise: The worker worker-c needs the scheduling label workload=restricted used by an approved nodeSelector. Work only within the stated target and verify before declaring success. Which operational control most directly prevents this failure or configuration drift?

  1. Review workload identity ownership and avoid unnecessary credentials on the default service account.
  2. Reserve and govern security-sensitive scheduling labels through controlled change procedures.
  3. Add explicit allowed-and-denied authorization tests after RBAC changes.
  4. Use disruption budgets, replicated workloads and rollback plans before planned node drains.

Explanation

Correct Answer

B:

Reserve and govern security-sensitive scheduling labels through controlled change procedures. This reduces recurrence of the specific operational failure. It reinforces the action: Run kubectl label node worker-c workload=restricted --overwrite. The relevant mechanism is: Node labels are discoverable metadata matched by selectors; a node label alone does not create a workload restriction.

Incorrect Answers

A:

The suggested review tracks a different technical risk: ServiceAccounts provide workload identity; creating one does not automatically grant extra RBAC permissions. Here the sustained control must address: Node labels are discoverable metadata matched by selectors; a node label alone does not create a workload restriction. Choose “Reserve and govern security-sensitive scheduling labels through controlled change procedures”.

C:

This routine guards against another mechanism: RBAC authorization decisions depend on the subject, verb, resource and namespace; an admin's own access does not prove the workload identity's access. The recurring exposure in the current case is: Node labels are discoverable metadata matched by selectors; a node label alone does not create a workload restriction. The matching preventive check is “Reserve and govern security-sensitive scheduling labels through controlled change procedures”.

D:

The suggested review tracks a different technical risk: Drain cordons the node and requests evictions for eligible Pods; the ignore-daemonsets flag is needed because DaemonSet Pods are not deleted by drain. Here the sustained control must address: Node labels are discoverable metadata matched by selectors; a node label alone does not create a workload restriction. Choose “Reserve and govern security-sensitive scheduling labels through controlled change procedures”.

Question 109

At Northstar finance, in an isolated training cluster during a scheduled maintenance rehearsal: Prevent general workloads from scheduling on worker-a until they explicitly tolerate special=dedicated:NoSchedule. 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 cordon worker-b.
  2. Run kubectl taint nodes worker-b special=dedicated:NoSchedule-.
  3. Run sudo kubeadm upgrade plan on the eligible control-plane host after checking package and version prerequisites.
  4. Run kubectl taint nodes worker-a special=dedicated:NoSchedule after confirming it is absent.

Explanation

Correct Answer

D:

Run kubectl taint nodes worker-a special=dedicated:NoSchedule after confirming it is absent. This is the appropriate command-line action or first safe diagnostic. The technical reason is: A NoSchedule taint repels Pods without a matching toleration but does not automatically evict already running Pods. Validate the result with: Run kubectl describe node worker-a and inspect the Taints field for the intended key, value and effect. Execute changes only in an authorized disposable lab or after normal production change controls.

Incorrect Answers

A:

The offered action targets: Cordon marks a Node unschedulable to new Pods but does not drain running workloads. The case facts point instead to: A NoSchedule taint repels Pods without a matching toleration but does not automatically evict already running Pods. Implement “Run kubectl taint nodes worker-a special=dedicated:NoSchedule after confirming it is absent” to address that specific condition.

B:

This alternative is a response to another technical cause: A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints. The reported case instead depends on: A NoSchedule taint repels Pods without a matching toleration but does not automatically evict already running Pods. The action that directly addresses it is “Run kubectl taint nodes worker-a special=dedicated:NoSchedule after confirming it is absent”.

C:

The proposed action belongs to the mechanism: Upgrade plan reports reachable upgrade targets and version skew considerations without applying a new control-plane version. Here the stated fault follows a different mechanism: A NoSchedule taint repels Pods without a matching toleration but does not automatically evict already running Pods. The corrective choice is “Run kubectl taint nodes worker-a special=dedicated:NoSchedule after confirming it is absent”.

Question 110

At Northstar finance, in an isolated training cluster during a scheduled maintenance rehearsal: Prevent general workloads from scheduling on worker-a until they explicitly tolerate special=dedicated:NoSchedule. Work only within the stated target and verify before declaring success. Which Kubernetes behavior best explains the required change or diagnosis?

  1. A NoSchedule taint repels Pods without a matching toleration but does not automatically evict already running Pods.
  2. Drain cordons the node and requests evictions for eligible Pods; the ignore-daemonsets flag is needed because DaemonSet Pods are not deleted by drain.
  3. A ResourceQuota caps combined admitted requests in a namespace; per-Pod limits alone do not enforce a namespace-wide budget.
  4. ServiceAccounts provide workload identity; creating one does not automatically grant extra RBAC permissions.

Explanation

Correct Answer

A:

A NoSchedule taint repels Pods without a matching toleration but does not automatically evict already running Pods. This explains the stated condition. The corresponding action is: Run kubectl taint nodes worker-a special=dedicated:NoSchedule after confirming it is absent. The direct acceptance evidence is: Run kubectl describe node worker-a and inspect the Taints field for the intended key, value and effect.

Incorrect Answers

B:

Drain cordons the node and requests evictions for eligible Pods; the ignore-daemonsets flag is needed because DaemonSet Pods are not deleted by drain. That explanation applies to a different technical failure. Here the controlling principle is: A NoSchedule taint repels Pods without a matching toleration but does not automatically evict already running Pods.

C:

The offered statement is true for this other mechanism: A ResourceQuota caps combined admitted requests in a namespace; per-Pod limits alone do not enforce a namespace-wide budget. It does not explain the facts described here, which follow from: A NoSchedule taint repels Pods without a matching toleration but does not automatically evict already running Pods.

D:

This principle describes a separate cause: ServiceAccounts provide workload identity; creating one does not automatically grant extra RBAC permissions. The reported condition is governed by: A NoSchedule taint repels Pods without a matching toleration but does not automatically evict already running Pods. The two mechanisms should not be conflated.