QuestionQ253

VerifiedKubernetes Fundamentals

An administrator must ensure that Pods in the test namespace comply with Kubernetes Pod Security Standards to prevent unsafe configurations. The objective is to enforce the Restricted policy.

Which action should be performed?

Explanation

Kubernetes enforces Pod Security Standards through the Pod Security admission controller at the namespace level. Configuring the test namespace to enforce the Restricted level causes Pods that violate that policy to be rejected. RBAC RoleBindings and NetworkPolicies address authorization and network communication, respectively, rather than Pod Security Standard enforcement.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!