Question 380
At Horizon observability, in a disposable simulated environment during a monitored release window: A lab application in observability needs a disposable Secret lab-metrics-key with test key TOKEN set to dummy-demo-two; no real credentials may appear in examples. 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
For production use protected secret-delivery workflows, RBAC and encryption-at-rest controls. This reduces recurrence of the specific operational failure. It reinforces the action: Run kubectl -n observability create secret generic lab-metrics-key --from-literal=TOKEN=dummy-demo-two for this disposable lab only. The relevant mechanism is: Kubernetes Secrets are API objects intended for sensitive values, but literals in a shell command can leak via shell history and process observation.
Incorrect Answers
This routine guards against another mechanism: CronJob suspension prevents new scheduled Jobs but does not terminate existing Jobs already running. The recurring exposure in the current case is: Kubernetes Secrets are API objects intended for sensitive values, but literals in a shell command can leak via shell history and process observation. The matching preventive check is “For production use protected secret-delivery workflows, RBAC and encryption-at-rest controls”.
That safeguard is relevant to: A toleration allows a Pod past a matching taint but does not ensure placement without node selection and capacity. The current failure instead follows from: Kubernetes Secrets are API objects intended for sensitive values, but literals in a shell command can leak via shell history and process observation. Its prevention measure is “For production use protected secret-delivery workflows, RBAC and encryption-at-rest controls”.
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: Kubernetes Secrets are API objects intended for sensitive values, but literals in a shell command can leak via shell history and process observation. The matching preventive check is “For production use protected secret-delivery workflows, RBAC and encryption-at-rest controls”.