Question 660
A CI Deployment succeeds but its pod cannot access a required namespace resource after the pipeline omits an intended RoleBinding and the team disables all RBAC as a shortcut. Once the issue is resolved, which ongoing practice BEST prevents this type of failure?
Explanation
Correct Answer
This control reduces recurrence of the same class of failure: Kubernetes Secrets and service-account tokens are distinct security objects, and workload API authorization depends on scoped Roles and RoleBindings. Apply the recurring practice: Review workload identity permissions and mounted credentials when deploying new charts or updating Kubernetes APIs. The previous example was: A CI Deployment succeeds but its pod cannot access a required namespace resource after the pipeline omits an intended RoleBinding and the team disables all RBAC as a shortcut.
Incorrect Answers
Kubernetes readiness controls endpoint inclusion while rollout surge and unavailable limits shape when old replicas are removed and new ones serve traffic. For this case, Kubernetes Secrets and service-account tokens are distinct security objects, and workload API authorization depends on scoped Roles and RoleBindings.
Supervisor add-on services have their own version, storage, network, identity and configuration prerequisites beyond the act of enabling an add-on. Here, create a dedicated service account, add only required namespaced permissions, scope sensitive Secrets and test allowed and denied Kubernetes API calls.
Monitor VIP availability and Service endpoint health separately after deployment and scale events. In this case, Kubernetes Secrets and service-account tokens are distinct security objects, and workload API authorization depends on scoped Roles and RoleBindings.