Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Linux Foundation Exam CKS Topic 1 Question 80 Discussion

Actual exam question for Linux Foundation's CKS exam
Question #: 80
Topic #: 1
[All CKS Questions]

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.

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Cordelia
10 days ago
Hmm, this seems straightforward. I'd go with option C. Gotta love these Kubernetes security questions, they really keep you on your toes!
upvoted 0 times
...
Verlene
12 days ago
I think the task is quite challenging.
upvoted 0 times
...
Melinda
16 days ago
I'm pretty sure the answer is C. The question is clear about the tasks required, and the images show the correct YAML configurations.
upvoted 0 times
Janae
9 days ago
I think you're right, the answer is C. The question provides clear instructions on what needs to be done.
upvoted 0 times
...
...

Save Cancel