CKS Minimize Microservice Vulnerabilities • Set 9
CKS Minimize Microservice Vulnerabilities Practice Test 9 — 15 questions with explanations. Free, no signup.
You are writing a Rego policy for OPA Gatekeeper to deny pods that do not have 'runAsNonRoot: true' set in their security context. The ConstraintTemplate expects an input parameter 'runAsNonRoot' that is a boolean. Which Rego rule correctly denies such pods?
Choose an answer to begin — your selection is scored in the full session.
15 questions · instant feedback and full explanations after every question.