Question 30
At Horizon observability, in a disposable simulated environment during a monitored release window: A namespaced workload metrics-api needs a dedicated service account audit-bot rather than the default identity. Work only within the stated target and verify before declaring success. Which Kubernetes behavior best explains the required change or diagnosis?
Explanation
Correct Answer
ServiceAccounts provide workload identity; creating one does not automatically grant extra RBAC permissions. This explains the stated condition. The corresponding action is: Run kubectl -n observability create serviceaccount audit-bot and set the workload to use that service account separately. The direct acceptance evidence is: Run kubectl -n observability get serviceaccount audit-bot and inspect the Deployment's serviceAccountName after binding it.
Incorrect Answers
The offered statement is true for this other mechanism: A NoSchedule taint repels Pods without a matching toleration but does not automatically evict already running Pods. It does not explain the facts described here, which follow from: ServiceAccounts provide workload identity; creating one does not automatically grant extra RBAC permissions.
This principle describes a separate cause: A ResourceQuota caps combined admitted requests in a namespace; per-Pod limits alone do not enforce a namespace-wide budget. The reported condition is governed by: ServiceAccounts provide workload identity; creating one does not automatically grant extra RBAC permissions. The two mechanisms should not be conflated.
Custom resources are reconciled only when their schemas are registered and the operator controller is healthy. That explanation applies to a different technical failure. Here the controlling principle is: ServiceAccounts provide workload identity; creating one does not automatically grant extra RBAC permissions.