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?
Explanation
Correct Answer
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
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”.
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”.
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”.