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 28

Question 270

At Horizon observability, in a disposable simulated environment during a monitored release window: A Helm release metrics-api in namespace observability requires rollback to known-good revision 3 after a failed update. Work only within the stated target and verify before declaring success. Which Kubernetes behavior best explains the required change or diagnosis?

  1. Helm rollback submits resources from a prior release revision but cannot automatically undo external side effects or storage migrations.
  2. Cordon marks a Node unschedulable to new Pods but does not drain running workloads.
  3. A ResourceQuota caps combined admitted requests in a namespace; per-Pod limits alone do not enforce a namespace-wide budget.
  4. Nodes are cluster-scoped and their access rules belong in a ClusterRole rather than a namespaced Role.

Explanation

Correct Answer

A:

Helm rollback submits resources from a prior release revision but cannot automatically undo external side effects or storage migrations. This explains the stated condition. The corresponding action is: Run helm rollback metrics-api 3 --namespace observability after verifying release history and any irreversible data migrations. The direct acceptance evidence is: Run helm history metrics-api -n observability and helm status metrics-api -n observability then inspect resource rollout health.

Incorrect Answers

B:

The offered statement is true for this other mechanism: Cordon marks a Node unschedulable to new Pods but does not drain running workloads. It does not explain the facts described here, which follow from: Helm rollback submits resources from a prior release revision but cannot automatically undo external side effects or storage migrations.

C:

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: Helm rollback submits resources from a prior release revision but cannot automatically undo external side effects or storage migrations. The two mechanisms should not be conflated.

D:

Nodes are cluster-scoped and their access rules belong in a ClusterRole rather than a namespaced Role. That explanation applies to a different technical failure. Here the controlling principle is: Helm rollback submits resources from a prior release revision but cannot automatically undo external side effects or storage migrations.

Question 271

At Horizon observability, in a disposable simulated environment during a monitored release window: A Helm release metrics-api in namespace observability requires rollback to known-good revision 3 after a failed update. 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 auth can-i list pods -n observability --as=system:serviceaccount:observability:audit-bot and expect yes.
  2. Run helm history metrics-api -n observability and helm status metrics-api -n observability then inspect resource rollout health.
  3. Run kubectl -n observability describe resourcequota metrics-api-cpu and compare hard and used CPU requests.
  4. Run kubectl get node worker-b and verify SchedulingDisabled is shown.

Explanation

Correct Answer

B:

Run helm history metrics-api -n observability and helm status metrics-api -n observability then inspect resource rollout health. This validates the affected object or control path, rather than only showing a command completed. The underlying reason is: Helm rollback submits resources from a prior release revision but cannot automatically undo external side effects or storage migrations. The intended action is: Run helm rollback metrics-api 3 --namespace observability after verifying release history and any irreversible data migrations.

Incorrect Answers

A:

That test belongs to another control with this basis: A RoleBinding associates the service account subject with a Role inside the binding namespace. In the current case, the governing reason is: Helm rollback submits resources from a prior release revision but cannot automatically undo external side effects or storage migrations. The direct verification is “Run helm history metrics-api -n observability and helm status metrics-api -n observability then inspect resource rollout health”.

C:

The alternative verifies a different condition: A ResourceQuota caps combined admitted requests in a namespace; per-Pod limits alone do not enforce a namespace-wide budget. The current case instead depends on: Helm rollback submits resources from a prior release revision but cannot automatically undo external side effects or storage migrations. Confirm that “Run helm history metrics-api -n observability and helm status metrics-api -n observability then inspect resource rollout health”.

D:

That test belongs to another control with this basis: Cordon marks a Node unschedulable to new Pods but does not drain running workloads. In the current case, the governing reason is: Helm rollback submits resources from a prior release revision but cannot automatically undo external side effects or storage migrations. The direct verification is “Run helm history metrics-api -n observability and helm status metrics-api -n observability then inspect resource rollout health”.

Question 272

At Horizon observability, in a disposable simulated environment during a monitored release window: A Helm release metrics-api in namespace observability requires rollback to known-good revision 3 after a failed update. 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. Keep namespace-scoped read policies in version control and avoid wildcard verbs or resources.
  3. Document versioned release checkpoints and test rollbacks before production updates.
  4. Schedule isolated restore drills, not just successful snapshot creation alerts.

Explanation

Correct Answer

C:

Document versioned release checkpoints and test rollbacks before production updates. This reduces recurrence of the specific operational failure. It reinforces the action: Run helm rollback metrics-api 3 --namespace observability after verifying release history and any irreversible data migrations. The relevant mechanism is: Helm rollback submits resources from a prior release revision but cannot automatically undo external side effects or storage migrations.

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: Helm rollback submits resources from a prior release revision but cannot automatically undo external side effects or storage migrations. The matching preventive check is “Document versioned release checkpoints and test rollbacks before production updates”.

B:

The suggested review tracks a different technical risk: A namespaced Role expresses allowed resource verbs; it has no effect until a RoleBinding associates a subject. Here the sustained control must address: Helm rollback submits resources from a prior release revision but cannot automatically undo external side effects or storage migrations. Choose “Document versioned release checkpoints and test rollbacks before production updates”.

D:

This routine guards against another mechanism: The snapshot-status tool inspects backup metadata without modifying the running etcd member or performing a restore. The recurring exposure in the current case is: Helm rollback submits resources from a prior release revision but cannot automatically undo external side effects or storage migrations. The matching preventive check is “Document versioned release checkpoints and test rollbacks before production updates”.

Question 273

At Pinecrest logistics, in a sandbox Kubernetes cluster during a recovery tabletop exercise: A Helm release dispatch-api in namespace fulfillment requires rollback to known-good revision 4 after a failed update. 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 helm rollback dispatch-api 4 --namespace fulfillment after verifying release history and any irreversible data migrations.
  2. Run kubectl taint nodes worker-c special=dedicated:NoSchedule after confirming it is absent.
  3. Run helm upgrade --install dispatch-api ./charts/dispatch-api --namespace fulfillment --create-namespace --set replicaCount=5 after inspecting values.
  4. Run kubectl uncordon worker-c.

Explanation

Correct Answer

A:

Run helm rollback dispatch-api 4 --namespace fulfillment after verifying release history and any irreversible data migrations. This is the appropriate command-line action or first safe diagnostic. The technical reason is: Helm rollback submits resources from a prior release revision but cannot automatically undo external side effects or storage migrations. Validate the result with: Run helm history dispatch-api -n fulfillment and helm status dispatch-api -n fulfillment then inspect resource rollout health. Execute changes only in an authorized disposable lab or after normal production change controls.

Incorrect Answers

B:

The offered action targets: A NoSchedule taint repels Pods without a matching toleration but does not automatically evict already running Pods. The case facts point instead to: Helm rollback submits resources from a prior release revision but cannot automatically undo external side effects or storage migrations. Implement “Run helm rollback dispatch-api 4 --namespace fulfillment after verifying release history and any irreversible data migrations” to address that specific condition.

C:

This alternative is a response to another technical cause: Helm maintains release revisions and renders templates; an install-or-upgrade path avoids treating an existing release as a new deployment. The reported case instead depends on: Helm rollback submits resources from a prior release revision but cannot automatically undo external side effects or storage migrations. The action that directly addresses it is “Run helm rollback dispatch-api 4 --namespace fulfillment after verifying release history and any irreversible data migrations”.

D:

The proposed action belongs to the mechanism: Uncordon clears the Node's unschedulable status; it does not guarantee any particular Pod will be placed there. Here the stated fault follows a different mechanism: Helm rollback submits resources from a prior release revision but cannot automatically undo external side effects or storage migrations. The corrective choice is “Run helm rollback dispatch-api 4 --namespace fulfillment after verifying release history and any irreversible data migrations”.

Question 274

At Pinecrest logistics, in a sandbox Kubernetes cluster during a recovery tabletop exercise: A Helm release dispatch-api in namespace fulfillment requires rollback to known-good revision 4 after a failed update. Work only within the stated target and verify before declaring success. Which Kubernetes behavior best explains the required change or diagnosis?

  1. ServiceAccounts provide workload identity; creating one does not automatically grant extra RBAC permissions.
  2. Helm rollback submits resources from a prior release revision but cannot automatically undo external side effects or storage migrations.
  3. Helm maintains release revisions and renders templates; an install-or-upgrade path avoids treating an existing release as a new deployment.
  4. Uncordon clears the Node's unschedulable status; it does not guarantee any particular Pod will be placed there.

Explanation

Correct Answer

B:

Helm rollback submits resources from a prior release revision but cannot automatically undo external side effects or storage migrations. This explains the stated condition. The corresponding action is: Run helm rollback dispatch-api 4 --namespace fulfillment after verifying release history and any irreversible data migrations. The direct acceptance evidence is: Run helm history dispatch-api -n fulfillment and helm status dispatch-api -n fulfillment then inspect resource rollout health.

Incorrect Answers

A:

The offered statement is true for this other mechanism: ServiceAccounts provide workload identity; creating one does not automatically grant extra RBAC permissions. It does not explain the facts described here, which follow from: Helm rollback submits resources from a prior release revision but cannot automatically undo external side effects or storage migrations.

C:

Helm maintains release revisions and renders templates; an install-or-upgrade path avoids treating an existing release as a new deployment. That explanation applies to a different technical failure. Here the controlling principle is: Helm rollback submits resources from a prior release revision but cannot automatically undo external side effects or storage migrations.

D:

The offered statement is true for this other mechanism: Uncordon clears the Node's unschedulable status; it does not guarantee any particular Pod will be placed there. It does not explain the facts described here, which follow from: Helm rollback submits resources from a prior release revision but cannot automatically undo external side effects or storage migrations.

Question 275

At Pinecrest logistics, in a sandbox Kubernetes cluster during a recovery tabletop exercise: A Helm release dispatch-api in namespace fulfillment requires rollback to known-good revision 4 after a failed update. 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-c and inspect the Taints field for the intended key, value and effect.
  2. Run both kubectl auth can-i list pods and kubectl auth can-i delete deployments under the service-account impersonation and compare to the policy.
  3. Run helm history dispatch-api -n fulfillment and helm status dispatch-api -n fulfillment then inspect resource rollout health.
  4. Run kubectl get pods -A -o wide --field-selector spec.nodeName=worker-c and review remaining DaemonSets.

Explanation

Correct Answer

C:

Run helm history dispatch-api -n fulfillment and helm status dispatch-api -n fulfillment then inspect resource rollout health. This validates the affected object or control path, rather than only showing a command completed. The underlying reason is: Helm rollback submits resources from a prior release revision but cannot automatically undo external side effects or storage migrations. The intended action is: Run helm rollback dispatch-api 4 --namespace fulfillment after verifying release history and any irreversible data migrations.

Incorrect Answers

A:

This observation would test a different technical dependency: A NoSchedule taint repels Pods without a matching toleration but does not automatically evict already running Pods. The current issue is governed by: Helm rollback submits resources from a prior release revision but cannot automatically undo external side effects or storage migrations. Its decisive check is “Run helm history dispatch-api -n fulfillment and helm status dispatch-api -n fulfillment then inspect resource rollout health”.

B:

The alternative verifies a different condition: 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 current case instead depends on: Helm rollback submits resources from a prior release revision but cannot automatically undo external side effects or storage migrations. Confirm that “Run helm history dispatch-api -n fulfillment and helm status dispatch-api -n fulfillment then inspect resource rollout health”.

D:

This observation would test a different technical dependency: 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 current issue is governed by: Helm rollback submits resources from a prior release revision but cannot automatically undo external side effects or storage migrations. Its decisive check is “Run helm history dispatch-api -n fulfillment and helm status dispatch-api -n fulfillment then inspect resource rollout health”.

Question 276

At Pinecrest logistics, in a sandbox Kubernetes cluster during a recovery tabletop exercise: A Helm release dispatch-api in namespace fulfillment requires rollback to known-good revision 4 after a failed update. Work only within the stated target and verify before declaring success. Which operational control most directly prevents this failure or configuration drift?

  1. Review namespace quota headroom after material changes in workload size or tenancy.
  2. Manage namespace creation and required labels through version-controlled bootstrap manifests.
  3. Schedule isolated restore drills, not just successful snapshot creation alerts.
  4. Document versioned release checkpoints and test rollbacks before production updates.

Explanation

Correct Answer

D:

Document versioned release checkpoints and test rollbacks before production updates. This reduces recurrence of the specific operational failure. It reinforces the action: Run helm rollback dispatch-api 4 --namespace fulfillment after verifying release history and any irreversible data migrations. The relevant mechanism is: Helm rollback submits resources from a prior release revision but cannot automatically undo external side effects or storage migrations.

Incorrect Answers

A:

The suggested review tracks a different technical risk: A ResourceQuota caps combined admitted requests in a namespace; per-Pod limits alone do not enforce a namespace-wide budget. Here the sustained control must address: Helm rollback submits resources from a prior release revision but cannot automatically undo external side effects or storage migrations. Choose “Document versioned release checkpoints and test rollbacks before production updates”.

B:

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: Helm rollback submits resources from a prior release revision but cannot automatically undo external side effects or storage migrations. Its prevention measure is “Document versioned release checkpoints and test rollbacks before production updates”.

C:

This routine guards against another mechanism: The snapshot-status tool inspects backup metadata without modifying the running etcd member or performing a restore. The recurring exposure in the current case is: Helm rollback submits resources from a prior release revision but cannot automatically undo external side effects or storage migrations. The matching preventive check is “Document versioned release checkpoints and test rollbacks before production updates”.

Question 277

At Northstar finance, in an isolated training cluster during a scheduled maintenance rehearsal: A new custom resource definition manifest at ./crds/invoice-api.yaml must be validated against the live API server before installation. 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 apply -k ./overlays/staging after inspecting the rendered output with kubectl kustomize ./overlays/staging.
  2. Run kubectl apply --dry-run=server -f ./crds/invoice-api.yaml and review validation failures before any actual apply.
  3. Run helm rollback invoice-api 2 --namespace ledger after verifying release history and any irreversible data migrations.
  4. Run kubectl create clusterrole invoice-api-node-reader --verb=get,list --resource=nodes.

Explanation

Correct Answer

B:

Run kubectl apply --dry-run=server -f ./crds/invoice-api.yaml and review validation failures before any actual apply. This is the appropriate command-line action or first safe diagnostic. The technical reason is: Server-side dry-run evaluates admission and resource schema without persisting the CRD when supported by the relevant admission stack. Validate the result with: Confirm the command passes and use kubectl get crds to verify no unintended CRD was persisted. Execute changes only in an authorized disposable lab or after normal production change controls.

Incorrect Answers

A:

The offered action targets: Kustomize renders declarative resource transformations before Kubernetes admission and reconciliation. The case facts point instead to: Server-side dry-run evaluates admission and resource schema without persisting the CRD when supported by the relevant admission stack. Implement “Run kubectl apply --dry-run=server -f ./crds/invoice-api.yaml and review validation failures before any actual apply” to address that specific condition.

C:

The proposed action belongs to the mechanism: Helm rollback submits resources from a prior release revision but cannot automatically undo external side effects or storage migrations. Here the stated fault follows a different mechanism: Server-side dry-run evaluates admission and resource schema without persisting the CRD when supported by the relevant admission stack. The corrective choice is “Run kubectl apply --dry-run=server -f ./crds/invoice-api.yaml and review validation failures before any actual apply”.

D:

The offered action targets: Nodes are cluster-scoped and their access rules belong in a ClusterRole rather than a namespaced Role. The case facts point instead to: Server-side dry-run evaluates admission and resource schema without persisting the CRD when supported by the relevant admission stack. Implement “Run kubectl apply --dry-run=server -f ./crds/invoice-api.yaml and review validation failures before any actual apply” to address that specific condition.

Question 278

At Northstar finance, in an isolated training cluster during a scheduled maintenance rehearsal: A new custom resource definition manifest at ./crds/invoice-api.yaml must be validated against the live API server before installation. Work only within the stated target and verify before declaring success. Which Kubernetes behavior best explains the required change or diagnosis?

  1. Helm maintains release revisions and renders templates; an install-or-upgrade path avoids treating an existing release as a new deployment.
  2. Helm rollback submits resources from a prior release revision but cannot automatically undo external side effects or storage migrations.
  3. Server-side dry-run evaluates admission and resource schema without persisting the CRD when supported by the relevant admission stack.
  4. A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints.

Explanation

Correct Answer

C:

Server-side dry-run evaluates admission and resource schema without persisting the CRD when supported by the relevant admission stack. This explains the stated condition. The corresponding action is: Run kubectl apply --dry-run=server -f ./crds/invoice-api.yaml and review validation failures before any actual apply. The direct acceptance evidence is: Confirm the command passes and use kubectl get crds to verify no unintended CRD was persisted.

Incorrect Answers

A:

This principle describes a separate cause: Helm maintains release revisions and renders templates; an install-or-upgrade path avoids treating an existing release as a new deployment. The reported condition is governed by: Server-side dry-run evaluates admission and resource schema without persisting the CRD when supported by the relevant admission stack. The two mechanisms should not be conflated.

B:

Helm rollback submits resources from a prior release revision but cannot automatically undo external side effects or storage migrations. That explanation applies to a different technical failure. Here the controlling principle is: Server-side dry-run evaluates admission and resource schema without persisting the CRD when supported by the relevant admission stack.

D:

This principle describes a separate cause: A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints. The reported condition is governed by: Server-side dry-run evaluates admission and resource schema without persisting the CRD when supported by the relevant admission stack. The two mechanisms should not be conflated.

Question 279

At Northstar finance, in an isolated training cluster during a scheduled maintenance rehearsal: A new custom resource definition manifest at ./crds/invoice-api.yaml must be validated against the live API server before installation. 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 both kubectl auth can-i list pods and kubectl auth can-i delete deployments under the service-account impersonation and compare to the policy.
  2. Run kubectl describe node worker-a and confirm the specific taint is absent.
  3. Run kubectl -n ledger get deployment invoice-api --show-labels and compare the live labels with the overlay.
  4. Confirm the command passes and use kubectl get crds to verify no unintended CRD was persisted.

Explanation

Correct Answer

D:

Confirm the command passes and use kubectl get crds to verify no unintended CRD was persisted. This validates the affected object or control path, rather than only showing a command completed. The underlying reason is: Server-side dry-run evaluates admission and resource schema without persisting the CRD when supported by the relevant admission stack. The intended action is: Run kubectl apply --dry-run=server -f ./crds/invoice-api.yaml and review validation failures before any actual apply.

Incorrect Answers

A:

The alternative verifies a different condition: 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 current case instead depends on: Server-side dry-run evaluates admission and resource schema without persisting the CRD when supported by the relevant admission stack. Confirm that “Confirm the command passes and use kubectl get crds to verify no unintended CRD was persisted”.

B:

That test belongs to another control with this basis: A trailing minus removes the matching taint; adding a new toleration on every Pod would leave unnecessary cluster constraints. In the current case, the governing reason is: Server-side dry-run evaluates admission and resource schema without persisting the CRD when supported by the relevant admission stack. The direct verification is “Confirm the command passes and use kubectl get crds to verify no unintended CRD was persisted”.

C:

This observation would test a different technical dependency: Kustomize renders declarative resource transformations before Kubernetes admission and reconciliation. The current issue is governed by: Server-side dry-run evaluates admission and resource schema without persisting the CRD when supported by the relevant admission stack. Its decisive check is “Confirm the command passes and use kubectl get crds to verify no unintended CRD was persisted”.

Question 280

At Northstar finance, in an isolated training cluster during a scheduled maintenance rehearsal: A new custom resource definition manifest at ./crds/invoice-api.yaml must be validated against the live API server before installation. Work only within the stated target and verify before declaring success. Which operational control most directly prevents this failure or configuration drift?

  1. Review CRD compatibility, webhooks and conversion versions during API extension upgrades.
  2. Manage namespace creation and required labels through version-controlled bootstrap manifests.
  3. Require a validated backup and version-skew plan before applying kubeadm upgrades.
  4. Schedule isolated restore drills, not just successful snapshot creation alerts.

Explanation

Correct Answer

A:

Review CRD compatibility, webhooks and conversion versions during API extension upgrades. This reduces recurrence of the specific operational failure. It reinforces the action: Run kubectl apply --dry-run=server -f ./crds/invoice-api.yaml and review validation failures before any actual apply. The relevant mechanism is: Server-side dry-run evaluates admission and resource schema without persisting the CRD when supported by the relevant admission stack.

Incorrect Answers

B:

This routine guards against another mechanism: A Namespace supplies a scope for namespaced resources while its metadata labels support policy and inventory selectors. The recurring exposure in the current case is: Server-side dry-run evaluates admission and resource schema without persisting the CRD when supported by the relevant admission stack. The matching preventive check is “Review CRD compatibility, webhooks and conversion versions during API extension upgrades”.

C:

The suggested review tracks a different technical risk: Upgrade plan reports reachable upgrade targets and version skew considerations without applying a new control-plane version. Here the sustained control must address: Server-side dry-run evaluates admission and resource schema without persisting the CRD when supported by the relevant admission stack. Choose “Review CRD compatibility, webhooks and conversion versions during API extension upgrades”.

D:

That safeguard is relevant to: The snapshot-status tool inspects backup metadata without modifying the running etcd member or performing a restore. The current failure instead follows from: Server-side dry-run evaluates admission and resource schema without persisting the CRD when supported by the relevant admission stack. Its prevention measure is “Review CRD compatibility, webhooks and conversion versions during API extension upgrades”.