ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 4 - CKS discussion

Report
Export

Context

A Role bound to a Pod's ServiceAccount grants overly permissive permissions. Complete the following tasks to reduce the set of permissions.

Task

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.

A.
Answers
A.
Suggested answer: A

Explanation:

asked 18/09/2024
Richard Banks
44 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first