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 45

Question 440

At Horizon observability, in a disposable simulated environment during a monitored release window: Deployment metrics-api in namespace observability should autoscale between 3 and 8 replicas at 70% CPU utilization with metrics API available. Work only within the stated target and verify before declaring success. Which operational control most directly prevents this failure or configuration drift?

  1. Track HPA metric availability and avoid simultaneous manual scaling policies that fight the controller.
  2. Treat taints and tolerations as paired scheduling controls and review preexisting tolerations when patching arrays.
  3. Assess capacity for surge Pods and measure availability during upgrades.
  4. Use reviewed scaling boundaries and monitor HPA ownership before manual replica changes.

Explanation

Correct Answer

A:

Track HPA metric availability and avoid simultaneous manual scaling policies that fight the controller. This reduces recurrence of the specific operational failure. It reinforces the action: Run kubectl -n observability autoscale deployment metrics-api --cpu-percent=70 --min=3 --max=8 after setting valid CPU requests. The relevant mechanism is: HPA evaluates metrics relative to Pod resource requests; missing metrics or requests can leave desired replicas unknown.

Incorrect Answers

B:

The suggested review tracks a different technical risk: A toleration allows a Pod past a matching taint but does not ensure placement without node selection and capacity. Here the sustained control must address: HPA evaluates metrics relative to Pod resource requests; missing metrics or requests can leave desired replicas unknown. Choose “Track HPA metric availability and avoid simultaneous manual scaling policies that fight the controller”.

C:

That safeguard is relevant to: Deployment rolling-update parameters govern how many old Pods may be unavailable and extra Pods may be created during replacement. The current failure instead follows from: HPA evaluates metrics relative to Pod resource requests; missing metrics or requests can leave desired replicas unknown. Its prevention measure is “Track HPA metric availability and avoid simultaneous manual scaling policies that fight the controller”.

D:

This routine guards against another mechanism: Scaling the Deployment changes desired replica count through its controller; editing an individual Pod would not preserve the desired state. The recurring exposure in the current case is: HPA evaluates metrics relative to Pod resource requests; missing metrics or requests can leave desired replicas unknown. The matching preventive check is “Track HPA metric availability and avoid simultaneous manual scaling policies that fight the controller”.

Question 441

At Pinecrest logistics, in a sandbox Kubernetes cluster during a recovery tabletop exercise: Deployment dispatch-api in namespace fulfillment should autoscale between 2 and 9 replicas at 75% CPU utilization with metrics API available. 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 set image deployment/metrics-api app=registry.example.test/metrics-api:v3.
  2. Run kubectl -n fulfillment set env deployment/dispatch-api --from=configmap/dispatch-config.
  3. Run kubectl -n fulfillment autoscale deployment dispatch-api --cpu-percent=75 --min=2 --max=9 after setting valid CPU requests.
  4. Run kubectl -n fulfillment create secret generic lab-dispatch-key --from-literal=TOKEN=dummy-demo-three for this disposable lab only.

Explanation

Correct Answer

C:

Run kubectl -n fulfillment autoscale deployment dispatch-api --cpu-percent=75 --min=2 --max=9 after setting valid CPU requests. This is the appropriate command-line action or first safe diagnostic. The technical reason is: HPA evaluates metrics relative to Pod resource requests; missing metrics or requests can leave desired replicas unknown. Validate the result with: Run kubectl -n fulfillment get hpa dispatch-api and inspect observed utilization and replica bounds. Execute changes only in an authorized disposable lab or after normal production change controls.

Incorrect Answers

A:

The proposed action belongs to the mechanism: Updating a Deployment Pod template triggers a controlled rollout; restarting Pods alone will not change the image reference. Here the stated fault follows a different mechanism: HPA evaluates metrics relative to Pod resource requests; missing metrics or requests can leave desired replicas unknown. The corrective choice is “Run kubectl -n fulfillment autoscale deployment dispatch-api --cpu-percent=75 --min=2 --max=9 after setting valid CPU requests”.

B:

The offered action targets: Environment variables are copied into new container processes from ConfigMap values; existing running processes need replacement to pick up changes. The case facts point instead to: HPA evaluates metrics relative to Pod resource requests; missing metrics or requests can leave desired replicas unknown. Implement “Run kubectl -n fulfillment autoscale deployment dispatch-api --cpu-percent=75 --min=2 --max=9 after setting valid CPU requests” to address that specific condition.

D:

The proposed action belongs to the mechanism: Kubernetes Secrets are API objects intended for sensitive values, but literals in a shell command can leak via shell history and process observation. Here the stated fault follows a different mechanism: HPA evaluates metrics relative to Pod resource requests; missing metrics or requests can leave desired replicas unknown. The corrective choice is “Run kubectl -n fulfillment autoscale deployment dispatch-api --cpu-percent=75 --min=2 --max=9 after setting valid CPU requests”.

Question 442

At Pinecrest logistics, in a sandbox Kubernetes cluster during a recovery tabletop exercise: Deployment dispatch-api in namespace fulfillment should autoscale between 2 and 9 replicas at 75% CPU utilization with metrics API available. Work only within the stated target and verify before declaring success. Which Kubernetes behavior best explains the required change or diagnosis?

  1. Rollout restart annotates the Pod template so the Deployment controller replaces Pods according to its rollout strategy.
  2. Requests inform scheduling and limits cap runtime consumption; the settings play different roles.
  3. A toleration allows a Pod past a matching taint but does not ensure placement without node selection and capacity.
  4. HPA evaluates metrics relative to Pod resource requests; missing metrics or requests can leave desired replicas unknown.

Explanation

Correct Answer

D:

HPA evaluates metrics relative to Pod resource requests; missing metrics or requests can leave desired replicas unknown. This explains the stated condition. The corresponding action is: Run kubectl -n fulfillment autoscale deployment dispatch-api --cpu-percent=75 --min=2 --max=9 after setting valid CPU requests. The direct acceptance evidence is: Run kubectl -n fulfillment get hpa dispatch-api and inspect observed utilization and replica bounds.

Incorrect Answers

A:

The offered statement is true for this other mechanism: Rollout restart annotates the Pod template so the Deployment controller replaces Pods according to its rollout strategy. It does not explain the facts described here, which follow from: HPA evaluates metrics relative to Pod resource requests; missing metrics or requests can leave desired replicas unknown.

B:

This principle describes a separate cause: Requests inform scheduling and limits cap runtime consumption; the settings play different roles. The reported condition is governed by: HPA evaluates metrics relative to Pod resource requests; missing metrics or requests can leave desired replicas unknown. The two mechanisms should not be conflated.

C:

A toleration allows a Pod past a matching taint but does not ensure placement without node selection and capacity. That explanation applies to a different technical failure. Here the controlling principle is: HPA evaluates metrics relative to Pod resource requests; missing metrics or requests can leave desired replicas unknown.

Question 443

At Pinecrest logistics, in a sandbox Kubernetes cluster during a recovery tabletop exercise: Deployment dispatch-api in namespace fulfillment should autoscale between 2 and 9 replicas at 75% CPU utilization with metrics API available. 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 -n fulfillment get hpa dispatch-api and inspect observed utilization and replica bounds.
  2. Run kubectl -n fulfillment get deployment dispatch-api -o jsonpath='{.spec.strategy.rollingUpdate}' and verify the values.
  3. Run kubectl -n ledger get deployment invoice-api -o yaml and inspect resource requests and limits for each container.
  4. Run kubectl -n ledger rollout status deployment/invoice-api and kubectl -n ledger get deployment invoice-api to compare desired and ready counts.

Explanation

Correct Answer

A:

Run kubectl -n fulfillment get hpa dispatch-api and inspect observed utilization and replica bounds. This validates the affected object or control path, rather than only showing a command completed. The underlying reason is: HPA evaluates metrics relative to Pod resource requests; missing metrics or requests can leave desired replicas unknown. The intended action is: Run kubectl -n fulfillment autoscale deployment dispatch-api --cpu-percent=75 --min=2 --max=9 after setting valid CPU requests.

Incorrect Answers

B:

The alternative verifies a different condition: Deployment rolling-update parameters govern how many old Pods may be unavailable and extra Pods may be created during replacement. The current case instead depends on: HPA evaluates metrics relative to Pod resource requests; missing metrics or requests can leave desired replicas unknown. Confirm that “Run kubectl -n fulfillment get hpa dispatch-api and inspect observed utilization and replica bounds”.

C:

That test belongs to another control with this basis: Requests inform scheduling and limits cap runtime consumption; the settings play different roles. In the current case, the governing reason is: HPA evaluates metrics relative to Pod resource requests; missing metrics or requests can leave desired replicas unknown. The direct verification is “Run kubectl -n fulfillment get hpa dispatch-api and inspect observed utilization and replica bounds”.

D:

This observation would test a different technical dependency: Scaling the Deployment changes desired replica count through its controller; editing an individual Pod would not preserve the desired state. The current issue is governed by: HPA evaluates metrics relative to Pod resource requests; missing metrics or requests can leave desired replicas unknown. Its decisive check is “Run kubectl -n fulfillment get hpa dispatch-api and inspect observed utilization and replica bounds”.

Question 444

At Pinecrest logistics, in a sandbox Kubernetes cluster during a recovery tabletop exercise: Deployment dispatch-api in namespace fulfillment should autoscale between 2 and 9 replicas at 75% CPU utilization with metrics API available. Work only within the stated target and verify before declaring success. Which operational control most directly prevents this failure or configuration drift?

  1. For production use protected secret-delivery workflows, RBAC and encryption-at-rest controls.
  2. Track HPA metric availability and avoid simultaneous manual scaling policies that fight the controller.
  3. Review resource sizing against actual usage and avoid scheduling on unsupported limits alone.
  4. Retain meaningful revisions and perform health checks after every rollback.

Explanation

Correct Answer

B:

Track HPA metric availability and avoid simultaneous manual scaling policies that fight the controller. This reduces recurrence of the specific operational failure. It reinforces the action: Run kubectl -n fulfillment autoscale deployment dispatch-api --cpu-percent=75 --min=2 --max=9 after setting valid CPU requests. The relevant mechanism is: HPA evaluates metrics relative to Pod resource requests; missing metrics or requests can leave desired replicas unknown.

Incorrect Answers

A:

The suggested review tracks a different technical risk: Kubernetes Secrets are API objects intended for sensitive values, but literals in a shell command can leak via shell history and process observation. Here the sustained control must address: HPA evaluates metrics relative to Pod resource requests; missing metrics or requests can leave desired replicas unknown. Choose “Track HPA metric availability and avoid simultaneous manual scaling policies that fight the controller”.

C:

This routine guards against another mechanism: Requests inform scheduling and limits cap runtime consumption; the settings play different roles. The recurring exposure in the current case is: HPA evaluates metrics relative to Pod resource requests; missing metrics or requests can leave desired replicas unknown. The matching preventive check is “Track HPA metric availability and avoid simultaneous manual scaling policies that fight the controller”.

D:

The suggested review tracks a different technical risk: A Deployment tracks ReplicaSet revisions and rollout undo restores a recorded earlier Pod template. Here the sustained control must address: HPA evaluates metrics relative to Pod resource requests; missing metrics or requests can leave desired replicas unknown. Choose “Track HPA metric availability and avoid simultaneous manual scaling policies that fight the controller”.

Question 445

At Northstar finance, in an isolated training cluster during a scheduled maintenance rehearsal: A CronJob daily-archive in namespace ledger needs to stop scheduling new runs during a planned dependency outage. 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 ledger set env deployment/invoice-api --from=configmap/invoice-config.
  2. Run kubectl -n fulfillment patch deployment dispatch-api --type=merge -p '{"spec":{"template":{"spec":{"nodeSelector":{"workload":"restricted"}}}}}'.
  3. Run kubectl -n observability patch deployment metrics-api --type=merge -p '{"spec":{"template":{"spec":{"nodeSelector":{"workload":"restricted"}}}}}'.
  4. Run kubectl -n ledger patch cronjob daily-archive --type=merge -p '{"spec":{"suspend":true}}'.

Explanation

Correct Answer

D:

Run kubectl -n ledger patch cronjob daily-archive --type=merge -p '{"spec":{"suspend":true}}'. This is the appropriate command-line action or first safe diagnostic. The technical reason is: CronJob suspension prevents new scheduled Jobs but does not terminate existing Jobs already running. Validate the result with: Run kubectl -n ledger get cronjob daily-archive -o jsonpath='{.spec.suspend}' and verify true. Execute changes only in an authorized disposable lab or after normal production change controls.

Incorrect Answers

A:

The offered action targets: Environment variables are copied into new container processes from ConfigMap values; existing running processes need replacement to pick up changes. The case facts point instead to: CronJob suspension prevents new scheduled Jobs but does not terminate existing Jobs already running. Implement “Run kubectl -n ledger patch cronjob daily-archive --type=merge -p '{"spec":{"suspend":true}}'” to address that specific condition.

B:

This alternative is a response to another technical cause: Node selectors constrain scheduling to nodes whose labels match all specified key/value pairs; patching the Pod template triggers a rollout. The reported case instead depends on: CronJob suspension prevents new scheduled Jobs but does not terminate existing Jobs already running. The action that directly addresses it is “Run kubectl -n ledger patch cronjob daily-archive --type=merge -p '{"spec":{"suspend":true}}'”.

C:

The proposed action belongs to the mechanism: Node selectors constrain scheduling to nodes whose labels match all specified key/value pairs; patching the Pod template triggers a rollout. Here the stated fault follows a different mechanism: CronJob suspension prevents new scheduled Jobs but does not terminate existing Jobs already running. The corrective choice is “Run kubectl -n ledger patch cronjob daily-archive --type=merge -p '{"spec":{"suspend":true}}'”.

Question 446

At Northstar finance, in an isolated training cluster during a scheduled maintenance rehearsal: A CronJob daily-archive in namespace ledger needs to stop scheduling new runs during a planned dependency outage. Work only within the stated target and verify before declaring success. Which Kubernetes behavior best explains the required change or diagnosis?

  1. CronJob suspension prevents new scheduled Jobs but does not terminate existing Jobs already running.
  2. A toleration allows a Pod past a matching taint but does not ensure placement without node selection and capacity.
  3. Updating a Deployment Pod template triggers a controlled rollout; restarting Pods alone will not change the image reference.
  4. Node selectors constrain scheduling to nodes whose labels match all specified key/value pairs; patching the Pod template triggers a rollout.

Explanation

Correct Answer

A:

CronJob suspension prevents new scheduled Jobs but does not terminate existing Jobs already running. This explains the stated condition. The corresponding action is: Run kubectl -n ledger patch cronjob daily-archive --type=merge -p '{"spec":{"suspend":true}}'. The direct acceptance evidence is: Run kubectl -n ledger get cronjob daily-archive -o jsonpath='{.spec.suspend}' and verify true.

Incorrect Answers

B:

A toleration allows a Pod past a matching taint but does not ensure placement without node selection and capacity. That explanation applies to a different technical failure. Here the controlling principle is: CronJob suspension prevents new scheduled Jobs but does not terminate existing Jobs already running.

C:

The offered statement is true for this other mechanism: Updating a Deployment Pod template triggers a controlled rollout; restarting Pods alone will not change the image reference. It does not explain the facts described here, which follow from: CronJob suspension prevents new scheduled Jobs but does not terminate existing Jobs already running.

D:

This principle describes a separate cause: Node selectors constrain scheduling to nodes whose labels match all specified key/value pairs; patching the Pod template triggers a rollout. The reported condition is governed by: CronJob suspension prevents new scheduled Jobs but does not terminate existing Jobs already running. The two mechanisms should not be conflated.

Question 447

At Northstar finance, in an isolated training cluster during a scheduled maintenance rehearsal: A CronJob daily-archive in namespace ledger needs to stop scheduling new runs during a planned dependency outage. 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 -n ledger get secret lab-api-key -o jsonpath='{.type}' and confirm the expected Secret exists without displaying the test token.
  2. Run kubectl -n ledger get cronjob daily-archive -o jsonpath='{.spec.suspend}' and verify true.
  3. Run kubectl -n ledger get deployment invoice-api -o yaml and inspect resource requests and limits for each container.
  4. Run kubectl -n fulfillment get deployment dispatch-api -o yaml and inspect spec.template.spec.tolerations before testing scheduling.

Explanation

Correct Answer

B:

Run kubectl -n ledger get cronjob daily-archive -o jsonpath='{.spec.suspend}' and verify true. This validates the affected object or control path, rather than only showing a command completed. The underlying reason is: CronJob suspension prevents new scheduled Jobs but does not terminate existing Jobs already running. The intended action is: Run kubectl -n ledger patch cronjob daily-archive --type=merge -p '{"spec":{"suspend":true}}'.

Incorrect Answers

A:

The alternative verifies a different condition: Kubernetes Secrets are API objects intended for sensitive values, but literals in a shell command can leak via shell history and process observation. The current case instead depends on: CronJob suspension prevents new scheduled Jobs but does not terminate existing Jobs already running. Confirm that “Run kubectl -n ledger get cronjob daily-archive -o jsonpath='{.spec.suspend}' and verify true”.

C:

This observation would test a different technical dependency: Requests inform scheduling and limits cap runtime consumption; the settings play different roles. The current issue is governed by: CronJob suspension prevents new scheduled Jobs but does not terminate existing Jobs already running. Its decisive check is “Run kubectl -n ledger get cronjob daily-archive -o jsonpath='{.spec.suspend}' and verify true”.

D:

The alternative verifies a different condition: A toleration allows a Pod past a matching taint but does not ensure placement without node selection and capacity. The current case instead depends on: CronJob suspension prevents new scheduled Jobs but does not terminate existing Jobs already running. Confirm that “Run kubectl -n ledger get cronjob daily-archive -o jsonpath='{.spec.suspend}' and verify true”.

Question 448

At Northstar finance, in an isolated training cluster during a scheduled maintenance rehearsal: A CronJob daily-archive in namespace ledger needs to stop scheduling new runs during a planned dependency outage. Work only within the stated target and verify before declaring success. Which operational control most directly prevents this failure or configuration drift?

  1. Version nonsecret application settings and avoid putting credentials into ConfigMaps.
  2. Retain meaningful revisions and perform health checks after every rollback.
  3. Record resume ownership and inspect currently active Jobs during planned suspensions.
  4. Pin reviewed image tags or digests and retain rollout history for recovery.

Explanation

Correct Answer

C:

Record resume ownership and inspect currently active Jobs during planned suspensions. This reduces recurrence of the specific operational failure. It reinforces the action: Run kubectl -n ledger patch cronjob daily-archive --type=merge -p '{"spec":{"suspend":true}}'. The relevant mechanism is: CronJob suspension prevents new scheduled Jobs but does not terminate existing Jobs already running.

Incorrect Answers

A:

That safeguard is relevant to: ConfigMaps hold ordinary configuration data; their existence does not automatically inject values into running Pods. The current failure instead follows from: CronJob suspension prevents new scheduled Jobs but does not terminate existing Jobs already running. Its prevention measure is “Record resume ownership and inspect currently active Jobs during planned suspensions”.

B:

This routine guards against another mechanism: A Deployment tracks ReplicaSet revisions and rollout undo restores a recorded earlier Pod template. The recurring exposure in the current case is: CronJob suspension prevents new scheduled Jobs but does not terminate existing Jobs already running. The matching preventive check is “Record resume ownership and inspect currently active Jobs during planned suspensions”.

D:

That safeguard is relevant to: Updating a Deployment Pod template triggers a controlled rollout; restarting Pods alone will not change the image reference. The current failure instead follows from: CronJob suspension prevents new scheduled Jobs but does not terminate existing Jobs already running. Its prevention measure is “Record resume ownership and inspect currently active Jobs during planned suspensions”.

Question 449

At Horizon observability, in a disposable simulated environment during a monitored release window: A CronJob hourly-rollup in namespace observability needs to stop scheduling new runs during a planned dependency outage. 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 patch cronjob hourly-rollup --type=merge -p '{"spec":{"suspend":true}}'.
  2. Run kubectl -n observability scale deployment/metrics-api --replicas=4.
  3. Run kubectl -n observability patch deployment metrics-api --type=merge -p '{"spec":{"template":{"spec":{"tolerations":[{"key":"special","operator":"Equal","value":"dedicated","effect":"NoSchedule"}]}}}}' after checking existing tolerations.
  4. Run kubectl -n fulfillment patch deployment dispatch-api --type=merge -p '{"spec":{"template":{"spec":{"nodeSelector":{"workload":"restricted"}}}}}'.

Explanation

Correct Answer

A:

Run kubectl -n observability patch cronjob hourly-rollup --type=merge -p '{"spec":{"suspend":true}}'. This is the appropriate command-line action or first safe diagnostic. The technical reason is: CronJob suspension prevents new scheduled Jobs but does not terminate existing Jobs already running. Validate the result with: Run kubectl -n observability get cronjob hourly-rollup -o jsonpath='{.spec.suspend}' and verify true. Execute changes only in an authorized disposable lab or after normal production change controls.

Incorrect Answers

B:

The proposed action belongs to the mechanism: Scaling the Deployment changes desired replica count through its controller; editing an individual Pod would not preserve the desired state. Here the stated fault follows a different mechanism: CronJob suspension prevents new scheduled Jobs but does not terminate existing Jobs already running. The corrective choice is “Run kubectl -n observability patch cronjob hourly-rollup --type=merge -p '{"spec":{"suspend":true}}'”.

C:

The offered action targets: A toleration allows a Pod past a matching taint but does not ensure placement without node selection and capacity. The case facts point instead to: CronJob suspension prevents new scheduled Jobs but does not terminate existing Jobs already running. Implement “Run kubectl -n observability patch cronjob hourly-rollup --type=merge -p '{"spec":{"suspend":true}}'” to address that specific condition.

D:

This alternative is a response to another technical cause: Node selectors constrain scheduling to nodes whose labels match all specified key/value pairs; patching the Pod template triggers a rollout. The reported case instead depends on: CronJob suspension prevents new scheduled Jobs but does not terminate existing Jobs already running. The action that directly addresses it is “Run kubectl -n observability patch cronjob hourly-rollup --type=merge -p '{"spec":{"suspend":true}}'”.

Question 450

At Horizon observability, in a disposable simulated environment during a monitored release window: A CronJob hourly-rollup in namespace observability needs to stop scheduling new runs during a planned dependency outage. Work only within the stated target and verify before declaring success. Which Kubernetes behavior best explains the required change or diagnosis?

  1. A toleration allows a Pod past a matching taint but does not ensure placement without node selection and capacity.
  2. CronJob suspension prevents new scheduled Jobs but does not terminate existing Jobs already running.
  3. Scaling the Deployment changes desired replica count through its controller; editing an individual Pod would not preserve the desired state.
  4. A Deployment tracks ReplicaSet revisions and rollout undo restores a recorded earlier Pod template.

Explanation

Correct Answer

B:

CronJob suspension prevents new scheduled Jobs but does not terminate existing Jobs already running. This explains the stated condition. The corresponding action is: Run kubectl -n observability patch cronjob hourly-rollup --type=merge -p '{"spec":{"suspend":true}}'. The direct acceptance evidence is: Run kubectl -n observability get cronjob hourly-rollup -o jsonpath='{.spec.suspend}' and verify true.

Incorrect Answers

A:

A toleration allows a Pod past a matching taint but does not ensure placement without node selection and capacity. That explanation applies to a different technical failure. Here the controlling principle is: CronJob suspension prevents new scheduled Jobs but does not terminate existing Jobs already running.

C:

This principle describes a separate cause: Scaling the Deployment changes desired replica count through its controller; editing an individual Pod would not preserve the desired state. The reported condition is governed by: CronJob suspension prevents new scheduled Jobs but does not terminate existing Jobs already running. The two mechanisms should not be conflated.

D:

A Deployment tracks ReplicaSet revisions and rollout undo restores a recorded earlier Pod template. That explanation applies to a different technical failure. Here the controlling principle is: CronJob suspension prevents new scheduled Jobs but does not terminate existing Jobs already running.