nerdexam
Linux_FoundationLinux_Foundation

CKS · Question #22

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

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

Submitted by jordan8· May 4, 2026Cluster Hardening

Question

Given an existing Pod named nginx-pod running in the namespace test-system, fetch the service-account-name used and put the content in /candidate/KSC00124.txt Create a new Role named dev-test-role in the namespace test-system, which can perform update operations, on resources of type namespaces. Create a new RoleBinding named dev-test-role-binding, which binds the newly created Role to the Pod's ServiceAccount ( found in the Nginx pod running in namespace test-system).

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

#RBAC#Service Accounts#Kubernetes Security#kubectl
Full CKS PracticeBrowse All CKS Questions