Question 1150
A cluster upgrade changes workload securityContext defaults and the team ignores admission warning logs during staging. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?
Explanation
Correct Answer
Review namespace pod-security labels, admission warnings, violations and workload securityContext. This is the most discriminating evidence for the described failure or requirement. Pod Security Admission evaluates security standards at admission; it does not continuously sandbox existing containers after admission. The corresponding implementation is: Configure Pod Security Admission policy levels for namespaces to restrict unsafe Pod settings while documenting exceptions. Workload context: A cluster upgrade changes workload securityContext defaults and the team ignores admission warning logs during staging.
Incorrect Answers
Inspect securityContext, runAsUser, allowPrivilegeEscalation, capabilities, seccompProfile and startup errors. These observations are more relevant to Linux securityContext and seccomp basics, not this case. The distinguishing check is: Review namespace pod-security labels, admission warnings, violations and workload securityContext. Workload context: A cluster upgrade changes workload securityContext defaults and the team ignores admission warning logs during staging.
Inspect namespace labels, Pod selectors, network policy rules, RBAC permissions and effective connectivity tests. These observations are more relevant to Namespace segmentation with NetworkPolicies, not this case. The distinguishing check is: Review namespace pod-security labels, admission warnings, violations and workload securityContext. Workload context: A cluster upgrade changes workload securityContext defaults and the team ignores admission warning logs during staging.
Review container lastState, exit code, restart count, previous logs and application configuration. These observations are more relevant to CrashLoopBackOff and previous logs, not this case. The distinguishing check is: Review namespace pod-security labels, admission warnings, violations and workload securityContext. Workload context: A cluster upgrade changes workload securityContext defaults and the team ignores admission warning logs during staging.


