nerdexam
Linux_Foundation

CKS · Question #12

Given the following container configuration: ``yaml runAsUser: 1000 containers: - name: sec-ctx-demo-2 image: gcr.io/google-samples/node-hello:1.0 securityContext: runAsUser: 0 privileged: True allowP

Sign in or unlock CKS to reveal the answer and full explanation for question #12. The question stem and answer options stay visible for context.

Submitted by alyssa_d· May 4, 2026Runtime Security

Question

Given the following container configuration:
runAsUser: 1000
containers:
 - name: sec-ctx-demo-2
 image: gcr.io/google-samples/node-hello:1.0
 securityContext:
 runAsUser: 0
 privileged: True
 allowPrivilegeEscalation: false
Fix two fields present in the file being prominent security best practice issues. Don't add or remove configuration settings; only modify the existing configuration settings. Whenever you need an unprivileged user for any of the tasks, use user test-user with the user id 5487.

Unlock CKS to see the answer

You've previewed enough free CKS questions. Unlock CKS for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Security Context#Least Privilege#Container Security#Privileged Containers
Full CKS Practice