nerdexam
Linux_FoundationLinux_Foundation

CKS · Question #28

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

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

Submitted by ricky.ec· May 5, 2026Minimize Microservice Vulnerabilities

Question

Context: Cluster: prod Master node: master1 Worker node: worker1 You can switch the cluster/configuration context using the following command: [desk@cli] $ kubectl config use-context prod Task: Analyse and edit the given Dockerfile fixing two instructions present in the file being prominent security/best-practice issues. Analyse and edit the given manifest file /home/cert_masters/mydeployment.yaml fixing two fields present in the file being prominent security/best-practice issues.

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 Best Practices#Kubernetes SecurityContext#Privilege Escalation Prevention#Container Hardening
Full CKS PracticeBrowse All CKS Questions