Bird
0
0

What is the correct label key to specify the Pod Security Standard enforcement level on a Kubernetes namespace?

easy📝 Syntax Q3 of 15
Kubernetes - RBAC and Security
What is the correct label key to specify the Pod Security Standard enforcement level on a Kubernetes namespace?
Akubernetes.io/pod-security-level
Bsecurity.kubernetes.io/pod-policy
Cpod-security.kubernetes.io/enforce
Dpod-security.kubernetes.io/level
Step-by-Step Solution
Solution:
  1. Step 1: Recall the standard label key

    The official label key for enforcing Pod Security Standards is pod-security.kubernetes.io/enforce.
  2. Step 2: Eliminate incorrect options

    Other options are not recognized by Kubernetes for this purpose.
  3. Final Answer:

    pod-security.kubernetes.io/enforce -> Option C
  4. Quick Check:

    Check Kubernetes docs for exact label keys [OK]
Quick Trick: Enforce label key starts with pod-security.kubernetes.io [OK]
Common Mistakes:
  • Using incorrect or non-existent label keys
  • Confusing annotation keys with label keys

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes