Question 200
At Horizon observability, in a disposable simulated environment during a monitored release window: An authorized operator needs a short-lived join instruction for a new worker, rather than copying a long-lived bootstrap secret into a ticket. 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
Avoid logging join tokens and rotate or expire temporary bootstrap credentials promptly. This reduces recurrence of the specific operational failure. It reinforces the action: Run sudo kubeadm token create --ttl 15m --print-join-command on an authorized control-plane host and keep the output confidential. The relevant mechanism is: Bootstrap join tokens are sensitive credentials and a short TTL reduces the period in which a leaked token could be abused. Applied here, the relevant facts are: for a new worker, rather than copying a long-lived bootstrap secret into a ticket. Work only within the stated target and verify before declaring success. The question asks which operational control most directly prevents this failure or configuration drift.
Incorrect Answers
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: Bootstrap join tokens are sensitive credentials and a short TTL reduces the period in which a leaked token could be abused. Choose “Avoid logging join tokens and rotate or expire temporary bootstrap credentials promptly”.
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: Bootstrap join tokens are sensitive credentials and a short TTL reduces the period in which a leaked token could be abused. Its prevention measure is “Avoid logging join tokens and rotate or expire temporary bootstrap credentials promptly”.
This routine guards against another mechanism: Node labels are discoverable metadata matched by selectors; a node label alone does not create a workload restriction. The recurring exposure in the current case is: Bootstrap join tokens are sensitive credentials and a short TTL reduces the period in which a leaked token could be abused. The matching preventive check is “Avoid logging join tokens and rotate or expire temporary bootstrap credentials promptly”.