Question 20
At Horizon observability, in a disposable simulated environment during a monitored release window: The observability namespace is consuming shared resources without a declared aggregate CPU request ceiling of 6. 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
Review namespace quota headroom after material changes in workload size or tenancy. This reduces recurrence of the specific operational failure. It reinforces the action: Run kubectl -n observability create quota metrics-api-cpu --hard=requests.cpu=6 after checking no conflicting quota exists. The relevant mechanism is: A ResourceQuota caps combined admitted requests in a namespace; per-Pod limits alone do not enforce a namespace-wide budget.
Incorrect Answers
This routine guards against another mechanism: A Namespace supplies a scope for namespaced resources while its metadata labels support policy and inventory selectors. The recurring exposure in the current case is: A ResourceQuota caps combined admitted requests in a namespace; per-Pod limits alone do not enforce a namespace-wide budget. The matching preventive check is “Review namespace quota headroom after material changes in workload size or tenancy”.
The suggested review tracks a different technical risk: A NoSchedule taint repels Pods without a matching toleration but does not automatically evict already running Pods. Here the sustained control must address: A ResourceQuota caps combined admitted requests in a namespace; per-Pod limits alone do not enforce a namespace-wide budget. Choose “Review namespace quota headroom after material changes in workload size or tenancy”.
That safeguard is relevant to: Helm rollback submits resources from a prior release revision but cannot automatically undo external side effects or storage migrations. The current failure instead follows from: A ResourceQuota caps combined admitted requests in a namespace; per-Pod limits alone do not enforce a namespace-wide budget. Its prevention measure is “Review namespace quota headroom after material changes in workload size or tenancy”.