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 20

Question 190

A Kubernetes administrator performs the following operation: Run kubectl rollout pause, apply the intended Pod-template edits, then rollout resume after review. Which outcome most directly follows?

  1. The related changes can be reviewed together instead of triggering intermediate rollout steps.
  2. The team selects the correct rollback revision rather than guessing which running Pods are older.
  3. The controller creates replacement Pod replicas to restore the declared workload state.
  4. CPU utilization metrics become available for the HPA controller to compute replica recommendations.

Explanation

Correct Answer

A:

This is the intended effect of Paused rollout edit: The related changes can be reviewed together instead of triggering intermediate rollout steps.

Incorrect Answers

B:

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.

C:

This effect belongs to Deployment self-healing controller, produced by a different operation: Manage the application under a Deployment with a suitable replica count instead of relying on a standalone Pod. It is not the direct consequence of the stated action.

D:

This effect belongs to HPA metrics API missing, produced by a different operation: Install or repair a compatible metrics-server and verify kubectl top pods before tuning the HPA. It is not the direct consequence of the stated action.

Question 191

A release team wants to stage multiple changes to a Deployment before allowing the rollout to proceed. A colleague instead proposes: Inspect kubectl rollout history deployment/api and compare ReplicaSet template images and revisions. Which step best corrects the approach to the original issue?

  1. Manage the application under a Deployment with a suitable replica count instead of relying on a standalone Pod.
  2. Run kubectl rollout pause, apply the intended Pod-template edits, then rollout resume after review.
  3. Install or repair a compatible metrics-server and verify kubectl top pods before tuning the HPA.
  4. Inspect kubectl rollout history deployment/api and compare ReplicaSet template images and revisions.

Explanation

Correct Answer

B:

This correction targets Paused rollout edit: The related changes can be reviewed together instead of triggering intermediate rollout steps.

Incorrect Answers

A:

This option concerns Deployment self-healing controller instead. The controller creates replacement Pod replicas to restore the declared workload state.

C:

This option concerns HPA metrics API missing instead. CPU utilization metrics become available for the HPA controller to compute replica recommendations.

D:

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

Question 192

A Kubernetes administrator recommends: Run kubectl rollout pause, apply the intended Pod-template edits, then rollout resume after review. 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 single bare Pod dies after a node disappears and never recreates automatically on another node.
  3. A release team wants to stage multiple changes to a Deployment before allowing the rollout to proceed.
  4. An HPA remains at unknown current CPU utilization because no resource metrics are available.

Explanation

Correct Answer

C:

This is the original issue addressed by Paused rollout edit: The related changes can be reviewed together instead of triggering intermediate rollout steps.

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.

B:

That separate problem requires another operation: Manage the application under a Deployment with a suitable replica count instead of relying on a standalone Pod. The controller creates replacement Pod replicas to restore the declared workload state.

D:

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.

Question 193

An operator needs to identify which ReplicaSet was created by a faulty image change before rollback. Which Kubernetes administration step most directly addresses this problem?

  1. Inspect kubectl rollout history deployment/api and compare ReplicaSet template images and revisions.
  2. Specify meaningful per-container CPU requests and keep a supported HPA utilization metric target.
  3. Set requiredDuringSchedulingIgnoredDuringExecution nodeAffinity selecting accelerator=nvidia.
  4. Use a StatefulSet with OrderedReady management and a controlled rolling update after validating quorum behavior.

Explanation

Correct Answer

A:

This action addresses Deployment revision evidence: The team selects the correct rollback revision rather than guessing which running Pods are older.

Incorrect Answers

B:

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 Deployment revision evidence issue.

C:

This instead addresses Node affinity hard requirement: The scheduler restricts placement to nodes satisfying the mandatory label expression. It does not directly correct the original Deployment revision evidence 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 Deployment revision evidence issue.

Question 194

A Kubernetes administrator performs the following operation: Inspect kubectl rollout history deployment/api and compare ReplicaSet template images and revisions. Which outcome most directly follows?

  1. The autoscaler has the request baseline needed for percentage-based CPU utilization decisions.
  2. The team selects the correct rollback revision rather than guessing which running Pods are older.
  3. Pod identities remain stable and members roll through ordered replacement rather than arbitrary Deployment-style churn.
  4. The scheduler restricts placement to nodes satisfying the mandatory label expression.

Explanation

Correct Answer

B:

This is the intended effect of Deployment revision evidence: The team selects the correct rollback revision rather than guessing which running Pods are older.

Incorrect Answers

A:

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 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.

D:

This effect belongs to Node affinity hard requirement, produced by a different operation: Set requiredDuringSchedulingIgnoredDuringExecution nodeAffinity selecting accelerator=nvidia. It is not the direct consequence of the stated action.

Question 195

An operator needs to identify which ReplicaSet was created by a faulty image change before rollback. A colleague instead proposes: Use a StatefulSet with OrderedReady management and a controlled rolling update after validating quorum behavior. Which step best corrects the approach to the original issue?

  1. Specify meaningful per-container CPU requests and keep a supported HPA utilization metric target.
  2. Use a StatefulSet with OrderedReady management and a controlled rolling update after validating quorum behavior.
  3. Inspect kubectl rollout history deployment/api and compare ReplicaSet template images and revisions.
  4. Set requiredDuringSchedulingIgnoredDuringExecution nodeAffinity selecting accelerator=nvidia.

Explanation

Correct Answer

C:

This correction targets Deployment revision evidence: The team selects the correct rollback revision rather than guessing which running Pods are older.

Incorrect Answers

A:

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

B:

This option concerns StatefulSet ordered replacement instead. Pod identities remain stable and members roll through ordered replacement rather than arbitrary Deployment-style churn.

D:

This option concerns Node affinity hard requirement instead. The scheduler restricts placement to nodes satisfying the mandatory label expression.

Question 196

A Kubernetes administrator recommends: Inspect kubectl rollout history deployment/api and compare ReplicaSet template images and revisions. Which situation most directly calls for that operation?

  1. A clustered database requires stable identities and ordered Pod termination during a version change.
  2. An inference Pod must run only on nodes labeled accelerator=nvidia, but the scheduler places it on generic nodes.
  3. A Deployment has no CPU requests and its utilization-based HPA cannot calculate a reliable target percentage.
  4. An operator needs to identify which ReplicaSet was created by a faulty image change before rollback.

Explanation

Correct Answer

D:

This is the original issue addressed by Deployment revision evidence: The team selects the correct rollback revision rather than guessing which running Pods are older.

Incorrect Answers

A:

That separate problem requires another operation: Use a StatefulSet with OrderedReady management and a controlled rolling update after validating quorum behavior. Pod identities remain stable and members roll through ordered replacement rather than arbitrary Deployment-style churn.

B:

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

C:

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 197

A clustered database requires stable identities and ordered Pod termination during a version change. Which Kubernetes administration step most directly addresses this problem?

  1. Increase spec.maxReplicas after checking cluster capacity and desired risk limits.
  2. Pair the matching toleration with nodeAffinity or nodeSelector targeting the dedicated analytics node pool.
  3. Use a StatefulSet with OrderedReady management and a controlled rolling update after validating quorum behavior.
  4. Trigger an intentional rollout restart of the Deployment to recreate Pods with the updated environment values.

Explanation

Correct Answer

C:

This action addresses StatefulSet ordered replacement: Pod identities remain stable and members roll through ordered replacement rather than arbitrary Deployment-style churn.

Incorrect Answers

A:

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 StatefulSet ordered replacement issue.

B:

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 StatefulSet ordered replacement issue.

D:

This instead addresses ConfigMap env var refresh: New Pods read the revised ConfigMap value while previously running processes no longer retain the stale env snapshot. It does not directly correct the original StatefulSet ordered replacement issue.

Question 198

A Kubernetes administrator performs the following operation: Use a StatefulSet with OrderedReady management and a controlled rolling update after validating quorum behavior. Which outcome most directly follows?

  1. Toleration permits the tainted nodes while explicit affinity also directs placement toward them.
  2. New Pods read the revised ConfigMap value while previously running processes no longer retain the stale env snapshot.
  3. The HPA may expand beyond the old replica cap when metrics justify more Pods.
  4. Pod identities remain stable and members roll through ordered replacement rather than arbitrary Deployment-style churn.

Explanation

Correct Answer

D:

This is the intended effect of StatefulSet ordered replacement: Pod identities remain stable and members roll through ordered replacement rather than arbitrary Deployment-style churn.

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 ConfigMap env var refresh, produced by a different operation: Trigger an intentional rollout restart of the Deployment to recreate Pods with the updated environment values. It is not the direct consequence of the stated action.

C:

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.

Question 199

A clustered database requires stable identities and ordered Pod termination during a version change. A colleague instead proposes: Trigger an intentional rollout restart of the Deployment to recreate Pods with the updated environment values. Which step best corrects the approach to the original issue?

  1. Use a StatefulSet with OrderedReady management and a controlled rolling update after validating quorum behavior.
  2. Pair the matching toleration with nodeAffinity or nodeSelector targeting the dedicated analytics node pool.
  3. Trigger an intentional rollout restart of the Deployment to recreate Pods with the updated environment values.
  4. Increase spec.maxReplicas after checking cluster capacity and desired risk limits.

Explanation

Correct Answer

A:

This correction targets StatefulSet ordered replacement: Pod identities remain stable and members roll through ordered replacement rather than arbitrary Deployment-style churn.

Incorrect Answers

B:

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

C:

This option concerns ConfigMap env var refresh instead. New Pods read the revised ConfigMap value while previously running processes no longer retain the stale env snapshot.

D:

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

Question 200

A Kubernetes administrator recommends: Use a StatefulSet with OrderedReady management and a controlled rolling update after validating quorum behavior. Which situation most directly calls for that operation?

  1. A service scales only to four replicas under sustained load although the HPA requests additional capacity.
  2. A clustered database requires stable identities and ordered Pod termination during a version change.
  3. A Deployment uses a ConfigMap value through environment variables, but existing Pods still show the old value after the ConfigMap update.
  4. A workload tolerates dedicated=analytics:NoSchedule but unexpectedly lands on ordinary workers.

Explanation

Correct Answer

B:

This is the original issue addressed by StatefulSet ordered replacement: Pod identities remain stable and members roll through ordered replacement rather than arbitrary Deployment-style churn.

Incorrect Answers

A:

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.

C:

That separate problem requires another operation: Trigger an intentional rollout restart of the Deployment to recreate Pods with the updated environment values. New Pods read the revised ConfigMap value while previously running processes no longer retain the stale env snapshot.

D:

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.