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 4 Question 77 Discussion

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

Create a new ServiceAccount named backend-sa in the existing namespace default, which has the capability to list the pods inside the namespace default.

Create a new Pod named backend-pod in the namespace default, mount the newly created sa backend-sa to the pod, and Verify that the pod is able to list pods.

Ensure that the Pod is running.

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Glenna
1 months ago
This is a pretty straightforward question, but I can imagine it might trip up some people if they're not familiar with how ServiceAccounts work. Good thing we've got this explanation to guide us!
upvoted 0 times
...
Leoma
1 months ago
Wait, do we need to create any specific permissions or Role for the backend-sa ServiceAccount? I don't want to forget that step and end up with a non-working solution.
upvoted 0 times
Billy
3 days ago
As long as you create the ServiceAccount and mount it to the Pod, you should be good to go without any extra steps.
upvoted 0 times
...
Sena
7 days ago
The ServiceAccount will inherit the permissions of the default service account in the same namespace.
upvoted 0 times
...
Vilma
21 days ago
Just create the ServiceAccount and mount it to the Pod, it should work fine without any additional permissions.
upvoted 0 times
...
Kyoko
23 days ago
No, you don't need to create any specific permissions or Role for the backend-sa ServiceAccount. It will automatically have the default permissions.
upvoted 0 times
...
...
Alethea
2 months ago
Haha, I bet the exam question is going to be something like, 'Which command do you use to list the Pods in the default namespace?' I'm already prepared for that one!
upvoted 0 times
Leota
21 days ago
Kayleigh: You use the kubectl command to list the Pods in the default namespace.
upvoted 0 times
...
Kayleigh
22 days ago
User 2: What is it?
upvoted 0 times
...
Jina
1 months ago
User 1: I think I know the answer to that question.
upvoted 0 times
...
...
Val
2 months ago
We should make sure that the Pod is able to list pods by mounting the backend-sa to the pod.
upvoted 0 times
...
Leontine
2 months ago
Sounds good to me. As long as we follow the instructions carefully, we should be able to get this done without any issues.
upvoted 0 times
Samira
19 days ago
User 4: Finally, verify that the pod is able to list pods and ensure that it is running.
upvoted 0 times
...
Kattie
21 days ago
User 3: Next, we need to create a new Pod named backend-pod and mount the backend-sa to it.
upvoted 0 times
...
Joanna
28 days ago
User 2: Make sure to grant it the capability to list pods in the default namespace.
upvoted 0 times
...
Sharika
2 months ago
User 1: Let's create a new ServiceAccount named backend-sa in the default namespace.
upvoted 0 times
...
...
Eva
3 months ago
Yes, and we also need to create a new Pod named backend-pod in the default namespace.
upvoted 0 times
...
Val
3 months ago
I think we need to create a new ServiceAccount named backend-sa in the default namespace.
upvoted 0 times
...
Norah
3 months ago
Okay, let's see if I understand this correctly. We need to create a new ServiceAccount named backend-sa in the default namespace, and then mount that ServiceAccount to a new Pod named backend-pod. The goal is to verify that the Pod can list the Pods in the default namespace.
upvoted 0 times
Camellia
25 days ago
Make sure to check that the Pod is running successfully.
upvoted 0 times
...
Elenor
26 days ago
After that, we can verify if the Pod is able to list the Pods in the default namespace.
upvoted 0 times
...
Carlota
27 days ago
Next, we need to create a Pod named backend-pod and mount the backend-sa ServiceAccount to it.
upvoted 0 times
...
Nieves
30 days ago
Let's start by creating the ServiceAccount backend-sa in the default namespace.
upvoted 0 times
...
Truman
1 months ago
Make sure to check that the Pod is running successfully.
upvoted 0 times
...
Santos
1 months ago
After that, we can verify if the Pod is able to list the Pods in the default namespace.
upvoted 0 times
...
Yuonne
1 months ago
Next, we need to create a Pod named backend-pod and mount the backend-sa ServiceAccount to it.
upvoted 0 times
...
Leatha
2 months ago
Let's start by creating the ServiceAccount backend-sa in the default namespace.
upvoted 0 times
...
...

Save Cancel