McAfee-Secured Website

Exam 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 Video 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

    Video Course

    138 Video Lectures

    $39.99
  • Study Guide

    Study Guide

    268 PDF Pages

    $29.99

CNCF CKA Practice Test 27

Question 260

A Kubernetes administrator recommends: Manage the application under a Deployment with a suitable replica count instead of relying on a standalone Pod. Which situation most directly calls for that operation?

  1. A customer-facing Deployment must keep all current replicas available during a cautious image rollout.
  2. An HPA remains at unknown current CPU utilization because no resource metrics are available.
  3. A single bare Pod dies after a node disappears and never recreates automatically on another node.
  4. An inference Pod must run only on nodes labeled accelerator=nvidia, but the scheduler places it on generic nodes.

Explanation

Correct Answer

C:

This is the original issue addressed by Deployment self-healing controller: The controller creates replacement Pod replicas to restore the declared workload state.

Incorrect Answers

A:

That separate problem requires another operation: Configure a rolling update strategy with maxUnavailable: 0 and an appropriate positive maxSurge. The Deployment can temporarily add replacement replicas without intentionally reducing available capacity.

B:

That separate problem requires another operation: Install or repair a compatible metrics-server and verify kubectl top pods before tuning the HPA. CPU utilization metrics become available for the HPA controller to compute replica recommendations.

D:

That separate problem requires another operation: Set requiredDuringSchedulingIgnoredDuringExecution nodeAffinity selecting accelerator=nvidia. The scheduler restricts placement to nodes satisfying the mandatory label expression.

Question 261

An inference Pod must run only on nodes labeled accelerator=nvidia, but the scheduler places it on generic nodes. Which Kubernetes administration step most directly addresses this problem?

  1. Pair the matching toleration with nodeAffinity or nodeSelector targeting the dedicated analytics node pool.
  2. Run kubectl rollout pause, apply the intended Pod-template edits, then rollout resume after review.
  3. Set requiredDuringSchedulingIgnoredDuringExecution nodeAffinity selecting accelerator=nvidia.
  4. Specify meaningful per-container CPU requests and keep a supported HPA utilization metric target.

Explanation

Correct Answer

C:

This action addresses Node affinity hard requirement: The scheduler restricts placement to nodes satisfying the mandatory label expression.

Incorrect Answers

A:

This instead addresses Toleration without node selection: Toleration permits the tainted nodes while explicit affinity also directs placement toward them. It does not directly correct the original Node affinity hard requirement issue.

B:

This instead addresses Paused rollout edit: The related changes can be reviewed together instead of triggering intermediate rollout steps. It does not directly correct the original Node affinity hard requirement issue.

D:

This instead addresses HPA CPU requests prerequisite: The autoscaler has the request baseline needed for percentage-based CPU utilization decisions. It does not directly correct the original Node affinity hard requirement issue.

Question 262

A Kubernetes administrator performs the following operation: Set requiredDuringSchedulingIgnoredDuringExecution nodeAffinity selecting accelerator=nvidia. Which outcome most directly follows?

  1. Toleration permits the tainted nodes while explicit affinity also directs placement toward them.
  2. The autoscaler has the request baseline needed for percentage-based CPU utilization decisions.
  3. The related changes can be reviewed together instead of triggering intermediate rollout steps.
  4. The scheduler restricts placement to nodes satisfying the mandatory label expression.

Explanation

Correct Answer

D:

This is the intended effect of Node affinity hard requirement: The scheduler restricts placement to nodes satisfying the mandatory label expression.

Incorrect Answers

A:

This effect belongs to Toleration without node selection, produced by a different operation: Pair the matching toleration with nodeAffinity or nodeSelector targeting the dedicated analytics node pool. It is not the direct consequence of the stated action.

B:

This effect belongs to HPA CPU requests prerequisite, produced by a different operation: Specify meaningful per-container CPU requests and keep a supported HPA utilization metric target. It is not the direct consequence of the stated action.

C:

This effect belongs to Paused rollout edit, produced by a different operation: Run kubectl rollout pause, apply the intended Pod-template edits, then rollout resume after review. It is not the direct consequence of the stated action.

Question 263

An inference Pod must run only on nodes labeled accelerator=nvidia, but the scheduler places it on generic nodes. A colleague instead proposes: Pair the matching toleration with nodeAffinity or nodeSelector targeting the dedicated analytics node pool. Which step best corrects the approach to the original issue?

  1. Set requiredDuringSchedulingIgnoredDuringExecution nodeAffinity selecting accelerator=nvidia.
  2. Specify meaningful per-container CPU requests and keep a supported HPA utilization metric target.
  3. Pair the matching toleration with nodeAffinity or nodeSelector targeting the dedicated analytics node pool.
  4. Run kubectl rollout pause, apply the intended Pod-template edits, then rollout resume after review.

Explanation

Correct Answer

A:

This correction targets Node affinity hard requirement: The scheduler restricts placement to nodes satisfying the mandatory label expression.

Incorrect Answers

B:

This option concerns HPA CPU requests prerequisite instead. The autoscaler has the request baseline needed for percentage-based CPU utilization decisions.

C:

This option concerns Toleration without node selection instead. Toleration permits the tainted nodes while explicit affinity also directs placement toward them.

D:

This option concerns Paused rollout edit instead. The related changes can be reviewed together instead of triggering intermediate rollout steps.

Question 264

A Kubernetes administrator recommends: Set requiredDuringSchedulingIgnoredDuringExecution nodeAffinity selecting accelerator=nvidia. Which situation most directly calls for that operation?

  1. A workload tolerates dedicated=analytics:NoSchedule but unexpectedly lands on ordinary workers.
  2. An inference Pod must run only on nodes labeled accelerator=nvidia, but the scheduler places it on generic nodes.
  3. A release team wants to stage multiple changes to a Deployment before allowing the rollout to proceed.
  4. A Deployment has no CPU requests and its utilization-based HPA cannot calculate a reliable target percentage.

Explanation

Correct Answer

B:

This is the original issue addressed by Node affinity hard requirement: The scheduler restricts placement to nodes satisfying the mandatory label expression.

Incorrect Answers

A:

That separate problem requires another operation: Pair the matching toleration with nodeAffinity or nodeSelector targeting the dedicated analytics node pool. Toleration permits the tainted nodes while explicit affinity also directs placement toward them.

C:

That separate problem requires another operation: Run kubectl rollout pause, apply the intended Pod-template edits, then rollout resume after review. The related changes can be reviewed together instead of triggering intermediate rollout steps.

D:

That separate problem requires another operation: Specify meaningful per-container CPU requests and keep a supported HPA utilization metric target. The autoscaler has the request baseline needed for percentage-based CPU utilization decisions.

Question 265

A workload tolerates dedicated=analytics:NoSchedule but unexpectedly lands on ordinary workers. Which Kubernetes administration step most directly addresses this problem?

  1. Inspect kubectl rollout history deployment/api and compare ReplicaSet template images and revisions.
  2. Increase spec.maxReplicas after checking cluster capacity and desired risk limits.
  3. Pair the matching toleration with nodeAffinity or nodeSelector targeting the dedicated analytics node pool.
  4. Inspect the quota status and reduce workload requests or obtain an approved quota adjustment.

Explanation

Correct Answer

C:

This action addresses Toleration without node selection: Toleration permits the tainted nodes while explicit affinity also directs placement toward them.

Incorrect Answers

A:

This instead addresses Deployment revision evidence: The team selects the correct rollback revision rather than guessing which running Pods are older. It does not directly correct the original Toleration without node selection issue.

B:

This instead addresses HPA max replicas limit: The HPA may expand beyond the old replica cap when metrics justify more Pods. It does not directly correct the original Toleration without node selection issue.

D:

This instead addresses Namespace ResourceQuota exhausted: Pod admission succeeds only when aggregate namespace resource requests fit the enforced quota. It does not directly correct the original Toleration without node selection issue.

Question 266

A Kubernetes administrator performs the following operation: Pair the matching toleration with nodeAffinity or nodeSelector targeting the dedicated analytics node pool. Which outcome most directly follows?

  1. The team selects the correct rollback revision rather than guessing which running Pods are older.
  2. The HPA may expand beyond the old replica cap when metrics justify more Pods.
  3. Pod admission succeeds only when aggregate namespace resource requests fit the enforced quota.
  4. Toleration permits the tainted nodes while explicit affinity also directs placement toward them.

Explanation

Correct Answer

D:

This is the intended effect of Toleration without node selection: Toleration permits the tainted nodes while explicit affinity also directs placement toward them.

Incorrect Answers

A:

This effect belongs to Deployment revision evidence, produced by a different operation: Inspect kubectl rollout history deployment/api and compare ReplicaSet template images and revisions. It is not the direct consequence of the stated action.

B:

This effect belongs to HPA max replicas limit, produced by a different operation: Increase spec.maxReplicas after checking cluster capacity and desired risk limits. It is not the direct consequence of the stated action.

C:

This effect belongs to Namespace ResourceQuota exhausted, produced by a different operation: Inspect the quota status and reduce workload requests or obtain an approved quota adjustment. It is not the direct consequence of the stated action.

Question 267

A workload tolerates dedicated=analytics:NoSchedule but unexpectedly lands on ordinary workers. A colleague instead proposes: Inspect the quota status and reduce workload requests or obtain an approved quota adjustment. Which step best corrects the approach to the original issue?

  1. Pair the matching toleration with nodeAffinity or nodeSelector targeting the dedicated analytics node pool.
  2. Increase spec.maxReplicas after checking cluster capacity and desired risk limits.
  3. Inspect kubectl rollout history deployment/api and compare ReplicaSet template images and revisions.
  4. Inspect the quota status and reduce workload requests or obtain an approved quota adjustment.

Explanation

Correct Answer

A:

This correction targets Toleration without node selection: Toleration permits the tainted nodes while explicit affinity also directs placement toward them.

Incorrect Answers

B:

This option concerns HPA max replicas limit instead. The HPA may expand beyond the old replica cap when metrics justify more Pods.

C:

This option concerns Deployment revision evidence instead. The team selects the correct rollback revision rather than guessing which running Pods are older.

D:

This option concerns Namespace ResourceQuota exhausted instead. Pod admission succeeds only when aggregate namespace resource requests fit the enforced quota.

Question 268

A Kubernetes administrator recommends: Pair the matching toleration with nodeAffinity or nodeSelector targeting the dedicated analytics node pool. Which situation most directly calls for that operation?

  1. An operator needs to identify which ReplicaSet was created by a faulty image change before rollback.
  2. A workload tolerates dedicated=analytics:NoSchedule but unexpectedly lands on ordinary workers.
  3. A new Deployment remains unable to create Pods because the namespace has reached its requests.cpu ResourceQuota.
  4. A service scales only to four replicas under sustained load although the HPA requests additional capacity.

Explanation

Correct Answer

B:

This is the original issue addressed by Toleration without node selection: Toleration permits the tainted nodes while explicit affinity also directs placement toward them.

Incorrect Answers

A:

That separate problem requires another operation: Inspect kubectl rollout history deployment/api and compare ReplicaSet template images and revisions. The team selects the correct rollback revision rather than guessing which running Pods are older.

C:

That separate problem requires another operation: Inspect the quota status and reduce workload requests or obtain an approved quota adjustment. Pod admission succeeds only when aggregate namespace resource requests fit the enforced quota.

D:

That separate problem requires another operation: Increase spec.maxReplicas after checking cluster capacity and desired risk limits. The HPA may expand beyond the old replica cap when metrics justify more Pods.

Question 269

A new Deployment remains unable to create Pods because the namespace has reached its requests.cpu ResourceQuota. Which Kubernetes administration step most directly addresses this problem?

  1. Adjust HPA desired metric targets or bounds rather than repeatedly overwriting the Deployment scale field.
  2. Inspect the quota status and reduce workload requests or obtain an approved quota adjustment.
  3. Create an appropriate namespace LimitRange with default and defaultRequest values for containers.
  4. Use a StatefulSet with OrderedReady management and a controlled rolling update after validating quorum behavior.

Explanation

Correct Answer

B:

This action addresses Namespace ResourceQuota exhausted: Pod admission succeeds only when aggregate namespace resource requests fit the enforced quota.

Incorrect Answers

A:

This instead addresses HPA target conflict manual scale: The autoscaling controller and intended desired capacity policies no longer compete with manual changes. It does not directly correct the original Namespace ResourceQuota exhausted issue.

C:

This instead addresses LimitRange default requests: Admission injects configured resource defaults into newly admitted containers that omit those fields. It does not directly correct the original Namespace ResourceQuota exhausted issue.

D:

This instead addresses StatefulSet ordered replacement: Pod identities remain stable and members roll through ordered replacement rather than arbitrary Deployment-style churn. It does not directly correct the original Namespace ResourceQuota exhausted issue.

Question 270

A Kubernetes administrator performs the following operation: Inspect the quota status and reduce workload requests or obtain an approved quota adjustment. Which outcome most directly follows?

  1. Pod identities remain stable and members roll through ordered replacement rather than arbitrary Deployment-style churn.
  2. The autoscaling controller and intended desired capacity policies no longer compete with manual changes.
  3. Pod admission succeeds only when aggregate namespace resource requests fit the enforced quota.
  4. Admission injects configured resource defaults into newly admitted containers that omit those fields.

Explanation

Correct Answer

C:

This is the intended effect of Namespace ResourceQuota exhausted: Pod admission succeeds only when aggregate namespace resource requests fit the enforced quota.

Incorrect Answers

A:

This effect belongs to StatefulSet ordered replacement, produced by a different operation: Use a StatefulSet with OrderedReady management and a controlled rolling update after validating quorum behavior. It is not the direct consequence of the stated action.

B:

This effect belongs to HPA target conflict manual scale, produced by a different operation: Adjust HPA desired metric targets or bounds rather than repeatedly overwriting the Deployment scale field. It is not the direct consequence of the stated action.

D:

This effect belongs to LimitRange default requests, produced by a different operation: Create an appropriate namespace LimitRange with default and defaultRequest values for containers. It is not the direct consequence of the stated action.