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 CKS Exam - Topic 1 Question 56 Discussion

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

Create a User named john, create the CSR Request, fetch the certificate of the user after approving it.

Create a Role name john-role to list secrets, pods in namespace john

Finally, Create a RoleBinding named john-role-binding to attach the newly created role john-role to the user john in the namespace john. To Verify:Use the kubectl auth CLI command to verify the permissions.

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Kenneth
4 months ago
I’m surprised it’s that simple to manage permissions.
upvoted 0 times
...
Denise
4 months ago
Totally agree, this is how RBAC works in Kubernetes!
upvoted 0 times
...
Anastacia
4 months ago
Wait, can you really create a role and role-binding like that?
upvoted 0 times
...
Tommy
4 months ago
Sounds straightforward, but what if the CSR gets denied?
upvoted 0 times
...
Romana
5 months ago
Just create the CSR with kubectl and approve it.
upvoted 0 times
...
Willard
5 months ago
I feel confident about creating the user and CSR, but I’m a bit uncertain about the namespace part for the role and role binding.
upvoted 0 times
...
Mee
5 months ago
For the kubectl auth command, I believe we need to check the permissions after creating the role and binding, but I might mix up the flags.
upvoted 0 times
...
Rosalyn
5 months ago
I think we had a similar question about roles and role bindings last week, but I can't recall the exact syntax for the RoleBinding.
upvoted 0 times
...
Ulysses
5 months ago
I remember we practiced creating a CSR and approving it, but I'm not sure about the exact commands for fetching the certificate.
upvoted 0 times
...
Theola
5 months ago
This seems like a good opportunity to demonstrate my Kubernetes knowledge. I'm confident I can complete all the tasks required - creating the user, CSR, approving the certificate, setting up the role and role binding, and verifying the permissions. I'll make sure to follow the instructions carefully.
upvoted 0 times
...
Kimbery
5 months ago
Okay, let me break this down step-by-step. First, I'll use kubectl to create the user and generate the CSR. Then I'll approve the CSR and fetch the certificate. Next, I'll create the role and the role binding as described. Finally, I'll verify the permissions using the kubectl auth command.
upvoted 0 times
...
Cory
5 months ago
Hmm, I'm a bit unsure about the steps here. I'll need to review the kubectl commands for creating the user, CSR, and approving the certificate. And then the role and role binding creation - I'll have to double-check the syntax for those.
upvoted 0 times
...
Diego
5 months ago
This question looks straightforward, I think I can handle it. I'll start by creating the user and the CSR, then approve the certificate. After that, I'll create the role and role binding as specified.
upvoted 0 times
...
Nan
6 months ago
Hmm, I'm not entirely sure about this one. Black box testing means the tester doesn't have access to the internal implementation, but I'm not sure if that means "complete" visibility or something else. I'll have to think about this a bit more.
upvoted 0 times
...
Veronika
6 months ago
This is a tricky one. I'll need to think carefully about the differences between Agile and PRINCE2 to determine where they blend best.
upvoted 0 times
...
Carman
6 months ago
I'm drawing a blank on this one. The options all sound kind of similar to me. I'll have to make an educated guess and hope for the best.
upvoted 0 times
...
Rosalia
10 months ago
As a Kubernetes admin, I'd be careful about approving random CSRs. Make sure you know who 'john' is and why they need those permissions before signing off!
upvoted 0 times
...
Haydee
10 months ago
Haha, I wonder if the developers who created the 'NEW_CRD' resource had a sense of humor when they named it. Anyway, this question looks straightforward enough.
upvoted 0 times
...
Avery
10 months ago
The explanation provided is very detailed and covers all the steps required. I think I have a good understanding of how to approach this type of scenario now.
upvoted 0 times
Gilbert
9 months ago
No problem at all. Happy to help anytime!
upvoted 0 times
...
Kiley
9 months ago
I will definitely reach out if I need more help. Thanks again for your assistance.
upvoted 0 times
...
Pearly
9 months ago
You're welcome! Let me know if you have any other questions or need further clarification.
upvoted 0 times
...
Layla
10 months ago
Thanks for the detailed explanation. It really helps to have all the steps laid out clearly.
upvoted 0 times
...
...
Samira
10 months ago
This is a great question that covers some important Kubernetes concepts. Creating a user, CSR, and then attaching permissions via a role and role binding is a common real-world task.
upvoted 0 times
Florinda
9 months ago
User3: Retrieve the certificate from the CSR with 'kubectl get csr/myuser -o yaml'.
upvoted 0 times
...
Micah
9 months ago
User2: Get the list of CSRs with 'kubectl get csr'.
upvoted 0 times
...
Clay
9 months ago
User1: Use kubectl to create a CSR and approve it.
upvoted 0 times
...
...
Melodie
11 months ago
Yes, but the explanation provided gives a clear step-by-step guide. We just need to follow it carefully and verify the permissions using the kubectl auth CLI command.
upvoted 0 times
...
Helene
11 months ago
I agree, it seems like we need to create a CSR, fetch the certificate, and set up roles and role bindings. It's a lot to remember.
upvoted 0 times
...
Melodie
11 months ago
I think this question is quite challenging. I'm not sure if I remember all the steps correctly.
upvoted 0 times
...

Save Cancel