Study. uk . com
  1. Home
  2. All questions
  3. Question 622

CKA study material · question 622 of 1000

You want a namespace to reject Pods that break the restricted profile, while also recording near-misses without blocking them. Which two Pod Security modes do you configure? Choose two.

  1. enforce
  2. audit
  3. exempt
  4. dryrun
Show the answer

Answer: A. enforce
B. audit

The three modes are enforce, which rejects, audit, which annotates the audit log, and warn, which warns the user. A namespace can set several at once, at different levels.

Source: Pod Security Admission (Kubernetes) — Pod Security Admission labels for namespaces

Challenge yourself on this topic → Study as cards