BlackFriday 2024! 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 4 Question 69 Discussion

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

Context

A PodSecurityPolicy shall prevent the creation of privileged Pods in a specific namespace.

Task

Create a new PodSecurityPolicy named prevent-psp-policy,which prevents the creation of privileged Pods.

Create a new ClusterRole named restrict-access-role, which uses the newly created PodSecurityPolicy prevent-psp-policy.

Create a new ServiceAccount named psp-restrict-sa in the existing namespace staging.

Finally, create a new ClusterRoleBinding named restrict-access-bind, which binds the newly created ClusterRole restrict-access-role to the newly created ServiceAccount psp-restrict-sa.

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Paris
4 days ago
Alright, let's do this! Time to put my Kubernetes skills to the test.
upvoted 0 times
...
Yolande
7 days ago
Haha, 'prevent-psp-policy' - that's a mouthful! But I'm sure I can remember it.
upvoted 0 times
...
Horace
10 days ago
I agree, creating a PodSecurityPolicy can be tricky.
upvoted 0 times
...
Sang
12 days ago
I think the task is quite challenging.
upvoted 0 times
...
Remedios
16 days ago
Wow, this seems like a pretty straightforward task. I'm confident I can nail this one!
upvoted 0 times
Gregg
2 days ago
User 2: Just follow the steps provided, and you'll be fine.
upvoted 0 times
...
Marta
8 days ago
I agree, it does seem straightforward.
upvoted 0 times
...
...

Save Cancel