CK.IV · CKAD practice question

Which container securityContext setting prevents a container from gaining more privileges than its parent process (including via setuid/setgid binaries)?

Choose one answer
Check answer and explanation

Correct answer: allowPrivilegeEscalation: false

Explanation

Setting allowPrivilegeEscalation: false sets PR_SET_NO_NEW_PRIVS on the process so child processes cannot escalate privileges beyond the parent.

Common trap

Setting allowPrivilegeEscalation: false sets PR_SET_NO_NEW_PRIVS on the process so child processes cannot escalate privileges beyond the parent.

Source: Original unofficial practice; not an official CKAD exam item
Checked against the cited text on 2026-11-30.

Report an error in this question