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 1 Question 49 Discussion

Actual exam question for Linux Foundation's CKS exam
Question #: 49
Topic #: 1
[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:

Mozell
6 months ago
I believe it's important to restrict the creation of privileged Pods.
upvoted 0 times
...
Giovanna
6 months ago
I think using the new PodSecurityPolicy is crucial for security.
upvoted 0 times
...
Yuriko
6 months ago
I agree with you, it requires attention to detail.
upvoted 0 times
...
Giovanna
6 months ago
I find the task of creating a PodSecurityPolicy challenging.
upvoted 0 times
...

Save Cancel