Cyber Monday 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
1 months ago
Alright, let's do this! Time to put my Kubernetes skills to the test.
upvoted 0 times
...
Yolande
1 months ago
Haha, 'prevent-psp-policy' - that's a mouthful! But I'm sure I can remember it.
upvoted 0 times
Freeman
3 days ago
And finally, bind the ClusterRole to the ServiceAccount with the ClusterRoleBinding.
upvoted 0 times
...
Aleisha
10 days ago
Don't forget to also create the new ClusterRole and ServiceAccount.
upvoted 0 times
...
Dorthy
12 days ago
Creating the new PodSecurityPolicy is crucial to prevent privileged Pods.
upvoted 0 times
...
Linn
25 days ago
It is a bit of a mouthful, but it's important for security.
upvoted 0 times
...
...
Horace
1 months ago
I agree, creating a PodSecurityPolicy can be tricky.
upvoted 0 times
...
Sang
2 months ago
I think the task is quite challenging.
upvoted 0 times
...
Remedios
2 months ago
Wow, this seems like a pretty straightforward task. I'm confident I can nail this one!
upvoted 0 times
Cherelle
6 days ago
If you have any questions, feel free to ask for help.
upvoted 0 times
...
Madelyn
7 days ago
I'm sure you'll do great, just take it step by step.
upvoted 0 times
...
Jani
20 days ago
Just follow the steps provided and you'll be fine.
upvoted 0 times
...
Jame
24 days ago
I agree, it looks like a simple task to complete.
upvoted 0 times
...
Ira
30 days ago
Gregg: Thanks for the reassurance, I'll get started on it now.
upvoted 0 times
...
Gregg
1 months ago
User 2: Just follow the steps provided, and you'll be fine.
upvoted 0 times
...
Marta
1 months ago
I agree, it does seem straightforward.
upvoted 0 times
...
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77