nerdexam
Linux_FoundationLinux_Foundation

CKS · Question #9

CKS Question #9: Real Exam Question with Answer & Explanation

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

Submitted by tarun92· May 5, 2026Minimize Microservice Vulnerabilities

Question

Question: 6 SIMULATION Analyze and edit the given Dockerfile FROM ubuntu:latest RUN apt-get update -y RUN apt-get install nginx -y COPY entrypoint.sh / ENTRYPOINT ["/entrypoint.sh"] USER ROOT Fixing two instructions present in the file being prominent security best practice issues Analyze and edit the deployment manifest file apiVersion: v1 kind: Pod metadata: name: security-context-demo-2 spec: securityContext:

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

#Dockerfile Security#Kubernetes Pod SecurityContext#Non-Root User#Least Privilege
Full CKS PracticeBrowse All CKS Questions