CKS · Question #7
CKS Question #7: Real Exam Question with Answer & Explanation
Sign in or unlock CKS to reveal the answer and full explanation for question #7. The question stem and answer options stay visible for context.
Question
Given an existing Pod named web-pod running in the namespace security. Edit the existing Role bound to the Pod's ServiceAccount sa-dev-1 to only allow performing watch operations, only on resources of type services. Create a new Role named role-2 in the namespace security, which only allows performing update operations, only on resources of type namespaces. Create a new RoleBinding named role-2-binding binding the newly created Role to the Pod's ServiceAccount. Don't delete the existing RoleBinding.
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.