Courseiva
Security And SCCmediumMultiple ChoiceObjective-mapped

EX280 Security And SCC Practice Question

A cluster administrator wishes to enforce the restricted Pod Security Standard across an entire namespace named auditing-ns. Which label should the administrator apply to the namespace to enforce this policy while generating audit warnings for non-compliant pods?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

pod-security.kubernetes.io/enforce: restricted and pod-security.kubernetes.io/audit: restricted

Namespace-level Pod Security Standards are enforced using standard Kubernetes labels. To enforce while auditing, the enforce label is set to restricted, and the audit label can also be set.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • pod-security.kubernetes.io/enforce: restricted and pod-security.kubernetes.io/audit: restricted

    Why this is correct

    This combination sets the enforcement level to restricted and logs audit warnings.

  • security.openshift.io/scc.enforce: restricted-v2

    Why it's wrong here

    OpenShift SCCs use different labeling schemes; Pod Security Standards use the standard kubernetes.io labels.

  • security.openshift.io/pod-security-standard: enforce-restricted

    Why it's wrong here

    This is a non-existent label.

  • admission.cluster.openshift.io/validate-psa: true

    Why it's wrong here

    This is not a valid namespace label for Pod Security Standards.

About these practice questions

This EX280 question is part of Courseiva's 509-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed August 2026 · checked against the official Red Hat exam blueprint

This EX280 practice question is part of Courseiva's free Red Hat certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the EX280 exam.