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 23

Question 220

At Northstar finance, in an isolated training cluster during a scheduled maintenance rehearsal: Before a high-impact change, create an authenticated etcd snapshot at /var/backups/invoice-api.db on the kubeadm lab control-plane host. 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. Test restoration in an isolated environment and protect snapshot files as sensitive cluster state.
  3. Store join credentials only in approved short-lived channels and verify the new node is assigned to the intended cluster.
  4. Gate control-plane upgrades on tested backup, maintenance sequencing and rollback procedures.

Explanation

Correct Answer

B:

Test restoration in an isolated environment and protect snapshot files as sensitive cluster state. This reduces recurrence of the specific operational failure. It reinforces the action: Run sudo ETCDCTL_API=3 etcdctl --endpoints=https://127.0.0.1:2379 --cacert=/etc/kubernetes/pki/etcd/ca.crt --cert=/etc/kubernetes/pki/etcd/healthcheck-client.crt --key=/etc/kubernetes/pki/etcd/healthcheck-client.key snapshot save /var/backups/invoice-api.db once the directory exists. The relevant mechanism is: A consistent etcd snapshot preserves control-plane state; an unauthenticated network copy is not a substitute.

Incorrect Answers

A:

That safeguard is relevant to: A ResourceQuota caps combined admitted requests in a namespace; per-Pod limits alone do not enforce a namespace-wide budget. The current failure instead follows from: A consistent etcd snapshot preserves control-plane state; an unauthenticated network copy is not a substitute. Its prevention measure is “Test restoration in an isolated environment and protect snapshot files as sensitive cluster state”.

C:

The suggested review tracks a different technical risk: A worker joins through trusted control-plane discovery and TLS bootstrap; a random API endpoint or mismatched CA hash is unsafe. Here the sustained control must address: A consistent etcd snapshot preserves control-plane state; an unauthenticated network copy is not a substitute. Choose “Test restoration in an isolated environment and protect snapshot files as sensitive cluster state”.

D:

That safeguard is relevant to: Kubeadm upgrade apply updates the managed control-plane configuration; kubelet packages and other nodes require separate coordinated work. The current failure instead follows from: A consistent etcd snapshot preserves control-plane state; an unauthenticated network copy is not a substitute. Its prevention measure is “Test restoration in an isolated environment and protect snapshot files as sensitive cluster state”.

Question 221

At Horizon observability, in a disposable simulated environment during a monitored release window: Before a high-impact change, create an authenticated etcd snapshot at /var/backups/metrics-api.db on the kubeadm lab control-plane host. Work only within the stated target and verify before declaring success. Which command or initial safe diagnostic step best addresses the stated lab task?

  1. Run kubectl -n observability create quota metrics-api-cpu --hard=requests.cpu=6 after checking no conflicting quota exists.
  2. Run sudo etcdutl snapshot status /var/backups/invoice-api.db -w table on a compatible administrative host.
  3. Run sudo kubeadm token create --ttl 15m --print-join-command on an authorized control-plane host and keep the output confidential.
  4. Run sudo ETCDCTL_API=3 etcdctl --endpoints=https://127.0.0.1:2379 --cacert=/etc/kubernetes/pki/etcd/ca.crt --cert=/etc/kubernetes/pki/etcd/healthcheck-client.crt --key=/etc/kubernetes/pki/etcd/healthcheck-client.key snapshot save /var/backups/metrics-api.db once the directory exists.

Explanation

Correct Answer

D:

Run sudo ETCDCTL_API=3 etcdctl --endpoints=https://127.0.0.1:2379 --cacert=/etc/kubernetes/pki/etcd/ca.crt --cert=/etc/kubernetes/pki/etcd/healthcheck-client.crt --key=/etc/kubernetes/pki/etcd/healthcheck-client.key snapshot save /var/backups/metrics-api.db once the directory exists. This is the appropriate command-line action or first safe diagnostic. The technical reason is: A consistent etcd snapshot preserves control-plane state; an unauthenticated network copy is not a substitute. Validate the result with: Run sudo etcdutl snapshot status /var/backups/metrics-api.db -w table and confirm a readable snapshot. Execute changes only in an authorized disposable lab or after normal production change controls.

Incorrect Answers

A:

This alternative is a response to another technical cause: A ResourceQuota caps combined admitted requests in a namespace; per-Pod limits alone do not enforce a namespace-wide budget. The reported case instead depends on: A consistent etcd snapshot preserves control-plane state; an unauthenticated network copy is not a substitute. The action that directly addresses it is “Run sudo ETCDCTL_API=3 etcdctl --endpoints=https://127.0.0.1:2379 --cacert=/etc/kubernetes/pki/etcd/ca.crt --cert=/etc/kubernetes/pki/etcd/healthcheck-client.crt --key=/etc/kubernetes/pki/etcd/healthcheck-client.key snapshot save /var/backups/metrics-api.db once the directory exists”.

B:

The proposed action belongs to the mechanism: The snapshot-status tool inspects backup metadata without modifying the running etcd member or performing a restore. Here the stated fault follows a different mechanism: A consistent etcd snapshot preserves control-plane state; an unauthenticated network copy is not a substitute. The corrective choice is “Run sudo ETCDCTL_API=3 etcdctl --endpoints=https://127.0.0.1:2379 --cacert=/etc/kubernetes/pki/etcd/ca.crt --cert=/etc/kubernetes/pki/etcd/healthcheck-client.crt --key=/etc/kubernetes/pki/etcd/healthcheck-client.key snapshot save /var/backups/metrics-api.db once the directory exists”.

C:

The offered action targets: Bootstrap join tokens are sensitive credentials and a short TTL reduces the period in which a leaked token could be abused. The case facts point instead to: A consistent etcd snapshot preserves control-plane state; an unauthenticated network copy is not a substitute. Implement “Run sudo ETCDCTL_API=3 etcdctl --endpoints=https://127.0.0.1:2379 --cacert=/etc/kubernetes/pki/etcd/ca.crt --cert=/etc/kubernetes/pki/etcd/healthcheck-client.crt --key=/etc/kubernetes/pki/etcd/healthcheck-client.key snapshot save /var/backups/metrics-api.db once the directory exists” to address that specific condition.

Question 222

At Horizon observability, in a disposable simulated environment during a monitored release window: Before a high-impact change, create an authenticated etcd snapshot at /var/backups/metrics-api.db on the kubeadm lab control-plane host. Work only within the stated target and verify before declaring success. Which Kubernetes behavior best explains the required change or diagnosis?

  1. A consistent etcd snapshot preserves control-plane state; an unauthenticated network copy is not a substitute.
  2. The snapshot-status tool inspects backup metadata without modifying the running etcd member or performing a restore.
  3. Upgrade plan reports reachable upgrade targets and version skew considerations without applying a new control-plane version.
  4. Bootstrap join tokens are sensitive credentials and a short TTL reduces the period in which a leaked token could be abused.

Explanation

Correct Answer

A:

A consistent etcd snapshot preserves control-plane state; an unauthenticated network copy is not a substitute. This explains the stated condition. The corresponding action is: Run sudo ETCDCTL_API=3 etcdctl --endpoints=https://127.0.0.1:2379 --cacert=/etc/kubernetes/pki/etcd/ca.crt --cert=/etc/kubernetes/pki/etcd/healthcheck-client.crt --key=/etc/kubernetes/pki/etcd/healthcheck-client.key snapshot save /var/backups/metrics-api.db once the directory exists. The direct acceptance evidence is: Run sudo etcdutl snapshot status /var/backups/metrics-api.db -w table and confirm a readable snapshot.

Incorrect Answers

B:

The offered statement is true for this other mechanism: The snapshot-status tool inspects backup metadata without modifying the running etcd member or performing a restore. It does not explain the facts described here, which follow from: A consistent etcd snapshot preserves control-plane state; an unauthenticated network copy is not a substitute.

C:

This principle describes a separate cause: Upgrade plan reports reachable upgrade targets and version skew considerations without applying a new control-plane version. The reported condition is governed by: A consistent etcd snapshot preserves control-plane state; an unauthenticated network copy is not a substitute. The two mechanisms should not be conflated.

D:

Bootstrap join tokens are sensitive credentials and a short TTL reduces the period in which a leaked token could be abused. That explanation applies to a different technical failure. Here the controlling principle is: A consistent etcd snapshot preserves control-plane state; an unauthenticated network copy is not a substitute.

Question 223

At Horizon observability, in a disposable simulated environment during a monitored release window: Before a high-impact change, create an authenticated etcd snapshot at /var/backups/metrics-api.db on the kubeadm lab control-plane host. 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 sudo etcdutl snapshot status /var/backups/metrics-api.db -w table and confirm a readable snapshot.
  3. Verify the snapshot command returns readable metadata and a documented file checksum.
  4. Run kubectl get nodes from the control plane and confirm worker-c becomes Ready after CNI initialization.

Explanation

Correct Answer

B:

Run sudo etcdutl snapshot status /var/backups/metrics-api.db -w table and confirm a readable snapshot. This validates the affected object or control path, rather than only showing a command completed. The underlying reason is: A consistent etcd snapshot preserves control-plane state; an unauthenticated network copy is not a substitute. The intended action is: Run sudo ETCDCTL_API=3 etcdctl --endpoints=https://127.0.0.1:2379 --cacert=/etc/kubernetes/pki/etcd/ca.crt --cert=/etc/kubernetes/pki/etcd/healthcheck-client.crt --key=/etc/kubernetes/pki/etcd/healthcheck-client.key snapshot save /var/backups/metrics-api.db once the directory exists.

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: A consistent etcd snapshot preserves control-plane state; an unauthenticated network copy is not a substitute. The direct verification is “Run sudo etcdutl snapshot status /var/backups/metrics-api.db -w table and confirm a readable snapshot”.

C:

The alternative verifies a different condition: The snapshot-status tool inspects backup metadata without modifying the running etcd member or performing a restore. The current case instead depends on: A consistent etcd snapshot preserves control-plane state; an unauthenticated network copy is not a substitute. Confirm that “Run sudo etcdutl snapshot status /var/backups/metrics-api.db -w table and confirm a readable snapshot”.

D:

That test belongs to another control with this basis: A worker joins through trusted control-plane discovery and TLS bootstrap; a random API endpoint or mismatched CA hash is unsafe. In the current case, the governing reason is: A consistent etcd snapshot preserves control-plane state; an unauthenticated network copy is not a substitute. The direct verification is “Run sudo etcdutl snapshot status /var/backups/metrics-api.db -w table and confirm a readable snapshot”.

Question 224

At Horizon observability, in a disposable simulated environment during a monitored release window: Before a high-impact change, create an authenticated etcd snapshot at /var/backups/metrics-api.db on the kubeadm lab control-plane host. Work only within the stated target and verify before declaring success. Which operational control most directly prevents this failure or configuration drift?

  1. Document versioned release checkpoints and test rollbacks before production updates.
  2. Review service-account subjects when workloads or bindings are renamed.
  3. Test restoration in an isolated environment and protect snapshot files as sensitive cluster state.
  4. Store join credentials only in approved short-lived channels and verify the new node is assigned to the intended cluster.

Explanation

Correct Answer

C:

Test restoration in an isolated environment and protect snapshot files as sensitive cluster state. This reduces recurrence of the specific operational failure. It reinforces the action: Run sudo ETCDCTL_API=3 etcdctl --endpoints=https://127.0.0.1:2379 --cacert=/etc/kubernetes/pki/etcd/ca.crt --cert=/etc/kubernetes/pki/etcd/healthcheck-client.crt --key=/etc/kubernetes/pki/etcd/healthcheck-client.key snapshot save /var/backups/metrics-api.db once the directory exists. The relevant mechanism is: A consistent etcd snapshot preserves control-plane state; an unauthenticated network copy is not a substitute.

Incorrect Answers

A:

This routine guards against another mechanism: Helm rollback submits resources from a prior release revision but cannot automatically undo external side effects or storage migrations. The recurring exposure in the current case is: A consistent etcd snapshot preserves control-plane state; an unauthenticated network copy is not a substitute. The matching preventive check is “Test restoration in an isolated environment and protect snapshot files as sensitive cluster state”.

B:

The suggested review tracks a different technical risk: A RoleBinding associates the service account subject with a Role inside the binding namespace. Here the sustained control must address: A consistent etcd snapshot preserves control-plane state; an unauthenticated network copy is not a substitute. Choose “Test restoration in an isolated environment and protect snapshot files as sensitive cluster state”.

D:

This routine guards against another mechanism: A worker joins through trusted control-plane discovery and TLS bootstrap; a random API endpoint or mismatched CA hash is unsafe. The recurring exposure in the current case is: A consistent etcd snapshot preserves control-plane state; an unauthenticated network copy is not a substitute. The matching preventive check is “Test restoration in an isolated environment and protect snapshot files as sensitive cluster state”.

Question 225

At Pinecrest logistics, in a sandbox Kubernetes cluster during a recovery tabletop exercise: Before a high-impact change, create an authenticated etcd snapshot at /var/backups/dispatch-api.db on the kubeadm lab control-plane host. 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 sudo ETCDCTL_API=3 etcdctl --endpoints=https://127.0.0.1:2379 --cacert=/etc/kubernetes/pki/etcd/ca.crt --cert=/etc/kubernetes/pki/etcd/healthcheck-client.crt --key=/etc/kubernetes/pki/etcd/healthcheck-client.key snapshot save /var/backups/dispatch-api.db once the directory exists.
  2. Run kubectl create clusterrolebinding dispatch-api-node-audit --clusterrole=dispatch-api-node-reader --group=regional-readers.
  3. Run kubectl create clusterrole dispatch-api-node-reader --verb=get,list --resource=nodes.
  4. Run sudo etcdutl snapshot status /var/backups/dispatch-api.db -w table on a compatible administrative host.

Explanation

Correct Answer

A:

Run sudo ETCDCTL_API=3 etcdctl --endpoints=https://127.0.0.1:2379 --cacert=/etc/kubernetes/pki/etcd/ca.crt --cert=/etc/kubernetes/pki/etcd/healthcheck-client.crt --key=/etc/kubernetes/pki/etcd/healthcheck-client.key snapshot save /var/backups/dispatch-api.db once the directory exists. This is the appropriate command-line action or first safe diagnostic. The technical reason is: A consistent etcd snapshot preserves control-plane state; an unauthenticated network copy is not a substitute. Validate the result with: Run sudo etcdutl snapshot status /var/backups/dispatch-api.db -w table and confirm a readable snapshot. Execute changes only in an authorized disposable lab or after normal production change controls.

Incorrect Answers

B:

The offered action targets: A ClusterRoleBinding applies its referenced ClusterRole permission set at cluster scope to the named group. The case facts point instead to: A consistent etcd snapshot preserves control-plane state; an unauthenticated network copy is not a substitute. Implement “Run sudo ETCDCTL_API=3 etcdctl --endpoints=https://127.0.0.1:2379 --cacert=/etc/kubernetes/pki/etcd/ca.crt --cert=/etc/kubernetes/pki/etcd/healthcheck-client.crt --key=/etc/kubernetes/pki/etcd/healthcheck-client.key snapshot save /var/backups/dispatch-api.db once the directory exists” to address that specific condition.

C:

This alternative is a response to another technical cause: Nodes are cluster-scoped and their access rules belong in a ClusterRole rather than a namespaced Role. The reported case instead depends on: A consistent etcd snapshot preserves control-plane state; an unauthenticated network copy is not a substitute. The action that directly addresses it is “Run sudo ETCDCTL_API=3 etcdctl --endpoints=https://127.0.0.1:2379 --cacert=/etc/kubernetes/pki/etcd/ca.crt --cert=/etc/kubernetes/pki/etcd/healthcheck-client.crt --key=/etc/kubernetes/pki/etcd/healthcheck-client.key snapshot save /var/backups/dispatch-api.db once the directory exists”.

D:

The proposed action belongs to the mechanism: The snapshot-status tool inspects backup metadata without modifying the running etcd member or performing a restore. Here the stated fault follows a different mechanism: A consistent etcd snapshot preserves control-plane state; an unauthenticated network copy is not a substitute. The corrective choice is “Run sudo ETCDCTL_API=3 etcdctl --endpoints=https://127.0.0.1:2379 --cacert=/etc/kubernetes/pki/etcd/ca.crt --cert=/etc/kubernetes/pki/etcd/healthcheck-client.crt --key=/etc/kubernetes/pki/etcd/healthcheck-client.key snapshot save /var/backups/dispatch-api.db once the directory exists”.

Question 226

At Pinecrest logistics, in a sandbox Kubernetes cluster during a recovery tabletop exercise: Before a high-impact change, create an authenticated etcd snapshot at /var/backups/dispatch-api.db on the kubeadm lab control-plane host. Work only within the stated target and verify before declaring success. Which Kubernetes behavior best explains the required change or diagnosis?

  1. Upgrade plan reports reachable upgrade targets and version skew considerations without applying a new control-plane version.
  2. A consistent etcd snapshot preserves control-plane state; an unauthenticated network copy is not a substitute.
  3. The snapshot-status tool inspects backup metadata without modifying the running etcd member or performing a restore.
  4. Helm rollback submits resources from a prior release revision but cannot automatically undo external side effects or storage migrations.

Explanation

Correct Answer

B:

A consistent etcd snapshot preserves control-plane state; an unauthenticated network copy is not a substitute. This explains the stated condition. The corresponding action is: Run sudo ETCDCTL_API=3 etcdctl --endpoints=https://127.0.0.1:2379 --cacert=/etc/kubernetes/pki/etcd/ca.crt --cert=/etc/kubernetes/pki/etcd/healthcheck-client.crt --key=/etc/kubernetes/pki/etcd/healthcheck-client.key snapshot save /var/backups/dispatch-api.db once the directory exists. The direct acceptance evidence is: Run sudo etcdutl snapshot status /var/backups/dispatch-api.db -w table and confirm a readable snapshot.

Incorrect Answers

A:

The offered statement is true for this other mechanism: Upgrade plan reports reachable upgrade targets and version skew considerations without applying a new control-plane version. It does not explain the facts described here, which follow from: A consistent etcd snapshot preserves control-plane state; an unauthenticated network copy is not a substitute.

C:

The snapshot-status tool inspects backup metadata without modifying the running etcd member or performing a restore. That explanation applies to a different technical failure. Here the controlling principle is: A consistent etcd snapshot preserves control-plane state; an unauthenticated network copy is not a substitute.

D:

The offered statement is true for this other mechanism: Helm rollback submits resources from a prior release revision but cannot automatically undo external side effects or storage migrations. It does not explain the facts described here, which follow from: A consistent etcd snapshot preserves control-plane state; an unauthenticated network copy is not a substitute.

Question 227

At Pinecrest logistics, in a sandbox Kubernetes cluster during a recovery tabletop exercise: Before a high-impact change, create an authenticated etcd snapshot at /var/backups/dispatch-api.db on the kubeadm lab control-plane host. Work only within the stated target and verify before declaring success. Which observation best verifies the requested outcome rather than an unrelated state?

  1. Run kubectl get nodes from the control plane and confirm worker-a becomes Ready after CNI initialization.
  2. Run kubectl -n fulfillment get role dispatch-api-pod-reader -o yaml and confirm only Pod read verbs are present.
  3. Run sudo etcdutl snapshot status /var/backups/dispatch-api.db -w table and confirm a readable snapshot.
  4. Run helm history dispatch-api -n fulfillment and helm status dispatch-api -n fulfillment then inspect resource rollout health.

Explanation

Correct Answer

C:

Run sudo etcdutl snapshot status /var/backups/dispatch-api.db -w table and confirm a readable snapshot. This validates the affected object or control path, rather than only showing a command completed. The underlying reason is: A consistent etcd snapshot preserves control-plane state; an unauthenticated network copy is not a substitute. The intended action is: Run sudo ETCDCTL_API=3 etcdctl --endpoints=https://127.0.0.1:2379 --cacert=/etc/kubernetes/pki/etcd/ca.crt --cert=/etc/kubernetes/pki/etcd/healthcheck-client.crt --key=/etc/kubernetes/pki/etcd/healthcheck-client.key snapshot save /var/backups/dispatch-api.db once the directory exists.

Incorrect Answers

A:

This observation would test a different technical dependency: A worker joins through trusted control-plane discovery and TLS bootstrap; a random API endpoint or mismatched CA hash is unsafe. The current issue is governed by: A consistent etcd snapshot preserves control-plane state; an unauthenticated network copy is not a substitute. Its decisive check is “Run sudo etcdutl snapshot status /var/backups/dispatch-api.db -w table and confirm a readable snapshot”.

B:

The alternative verifies a different condition: A namespaced Role expresses allowed resource verbs; it has no effect until a RoleBinding associates a subject. The current case instead depends on: A consistent etcd snapshot preserves control-plane state; an unauthenticated network copy is not a substitute. Confirm that “Run sudo etcdutl snapshot status /var/backups/dispatch-api.db -w table and confirm a readable snapshot”.

D:

This observation would test a different technical dependency: Helm rollback submits resources from a prior release revision but cannot automatically undo external side effects or storage migrations. The current issue is governed by: A consistent etcd snapshot preserves control-plane state; an unauthenticated network copy is not a substitute. Its decisive check is “Run sudo etcdutl snapshot status /var/backups/dispatch-api.db -w table and confirm a readable snapshot”.

Question 228

At Pinecrest logistics, in a sandbox Kubernetes cluster during a recovery tabletop exercise: Before a high-impact change, create an authenticated etcd snapshot at /var/backups/dispatch-api.db on the kubeadm lab control-plane host. Work only within the stated target and verify before declaring success. Which operational control most directly prevents this failure or configuration drift?

  1. Use narrowly defined ClusterRoles and periodically audit cluster-wide grants.
  2. Store join credentials only in approved short-lived channels and verify the new node is assigned to the intended cluster.
  3. Require a validated backup and version-skew plan before applying kubeadm upgrades.
  4. Test restoration in an isolated environment and protect snapshot files as sensitive cluster state.

Explanation

Correct Answer

D:

Test restoration in an isolated environment and protect snapshot files as sensitive cluster state. This reduces recurrence of the specific operational failure. It reinforces the action: Run sudo ETCDCTL_API=3 etcdctl --endpoints=https://127.0.0.1:2379 --cacert=/etc/kubernetes/pki/etcd/ca.crt --cert=/etc/kubernetes/pki/etcd/healthcheck-client.crt --key=/etc/kubernetes/pki/etcd/healthcheck-client.key snapshot save /var/backups/dispatch-api.db once the directory exists. The relevant mechanism is: A consistent etcd snapshot preserves control-plane state; an unauthenticated network copy is not a substitute.

Incorrect Answers

A:

The suggested review tracks a different technical risk: Nodes are cluster-scoped and their access rules belong in a ClusterRole rather than a namespaced Role. Here the sustained control must address: A consistent etcd snapshot preserves control-plane state; an unauthenticated network copy is not a substitute. Choose “Test restoration in an isolated environment and protect snapshot files as sensitive cluster state”.

B:

That safeguard is relevant to: A worker joins through trusted control-plane discovery and TLS bootstrap; a random API endpoint or mismatched CA hash is unsafe. The current failure instead follows from: A consistent etcd snapshot preserves control-plane state; an unauthenticated network copy is not a substitute. Its prevention measure is “Test restoration in an isolated environment and protect snapshot files as sensitive cluster state”.

C:

This routine guards against another mechanism: Upgrade plan reports reachable upgrade targets and version skew considerations without applying a new control-plane version. The recurring exposure in the current case is: A consistent etcd snapshot preserves control-plane state; an unauthenticated network copy is not a substitute. The matching preventive check is “Test restoration in an isolated environment and protect snapshot files as sensitive cluster state”.

Question 229

At Northstar finance, in an isolated training cluster during a scheduled maintenance rehearsal: An existing etcd backup /var/backups/invoice-api.db must be checked before approving a restoration rehearsal. 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 uncordon worker-a.
  2. Run sudo etcdutl snapshot status /var/backups/invoice-api.db -w table on a compatible administrative host.
  3. Run sudo ETCDCTL_API=3 etcdctl --endpoints=https://127.0.0.1:2379 --cacert=/etc/kubernetes/pki/etcd/ca.crt --cert=/etc/kubernetes/pki/etcd/healthcheck-client.crt --key=/etc/kubernetes/pki/etcd/healthcheck-client.key snapshot save /var/backups/dispatch-api.db once the directory exists.
  4. Run kubectl -n ledger create rolebinding invoice-api-reader-binding --role=invoice-api-pod-reader --serviceaccount=ledger:release-bot.

Explanation

Correct Answer

B:

Run sudo etcdutl snapshot status /var/backups/invoice-api.db -w table on a compatible administrative host. This is the appropriate command-line action or first safe diagnostic. The technical reason is: The snapshot-status tool inspects backup metadata without modifying the running etcd member or performing a restore. Validate the result with: Verify the snapshot command returns readable metadata and a documented file checksum. Execute changes only in an authorized disposable lab or after normal production change controls.

Incorrect Answers

A:

The offered action targets: Uncordon clears the Node's unschedulable status; it does not guarantee any particular Pod will be placed there. The case facts point instead to: The snapshot-status tool inspects backup metadata without modifying the running etcd member or performing a restore. Implement “Run sudo etcdutl snapshot status /var/backups/invoice-api.db -w table on a compatible administrative host” to address that specific condition.

C:

The proposed action belongs to the mechanism: A consistent etcd snapshot preserves control-plane state; an unauthenticated network copy is not a substitute. Here the stated fault follows a different mechanism: The snapshot-status tool inspects backup metadata without modifying the running etcd member or performing a restore. The corrective choice is “Run sudo etcdutl snapshot status /var/backups/invoice-api.db -w table on a compatible administrative host”.

D:

The offered action targets: A RoleBinding associates the service account subject with a Role inside the binding namespace. The case facts point instead to: The snapshot-status tool inspects backup metadata without modifying the running etcd member or performing a restore. Implement “Run sudo etcdutl snapshot status /var/backups/invoice-api.db -w table on a compatible administrative host” to address that specific condition.

Question 230

At Northstar finance, in an isolated training cluster during a scheduled maintenance rehearsal: An existing etcd backup /var/backups/invoice-api.db must be checked before approving a restoration rehearsal. Work only within the stated target and verify before declaring success. Which Kubernetes behavior best explains the required change or diagnosis?

  1. A consistent etcd snapshot preserves control-plane state; an unauthenticated network copy is not a substitute.
  2. Server-side dry-run evaluates admission and resource schema without persisting the CRD when supported by the relevant admission stack.
  3. The snapshot-status tool inspects backup metadata without modifying the running etcd member or performing a restore.
  4. Kubeadm upgrade apply updates the managed control-plane configuration; kubelet packages and other nodes require separate coordinated work.

Explanation

Correct Answer

C:

The snapshot-status tool inspects backup metadata without modifying the running etcd member or performing a restore. This explains the stated condition. The corresponding action is: Run sudo etcdutl snapshot status /var/backups/invoice-api.db -w table on a compatible administrative host. The direct acceptance evidence is: Verify the snapshot command returns readable metadata and a documented file checksum.

Incorrect Answers

A:

This principle describes a separate cause: A consistent etcd snapshot preserves control-plane state; an unauthenticated network copy is not a substitute. The reported condition is governed by: The snapshot-status tool inspects backup metadata without modifying the running etcd member or performing a restore. The two mechanisms should not be conflated.

B:

Server-side dry-run evaluates admission and resource schema without persisting the CRD when supported by the relevant admission stack. That explanation applies to a different technical failure. Here the controlling principle is: The snapshot-status tool inspects backup metadata without modifying the running etcd member or performing a restore.

D:

This principle describes a separate cause: Kubeadm upgrade apply updates the managed control-plane configuration; kubelet packages and other nodes require separate coordinated work. The reported condition is governed by: The snapshot-status tool inspects backup metadata without modifying the running etcd member or performing a restore. The two mechanisms should not be conflated.