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 9 Discussion

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

SIMULATION

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:

0/2000 characters
Una
5 months ago
Yeah, but having specific permissions is way better for security!
upvoted 0 times
...
Edmond
5 months ago
I thought the default service account was enough for most cases?
upvoted 0 times
...
Ruthann
5 months ago
Wait, can you really list pods from inside a pod? Sounds risky.
upvoted 0 times
...
Burma
5 months ago
Totally agree, service accounts are essential for pod security!
upvoted 0 times
...
Charlie
5 months ago
Just created a ServiceAccount named backend-sa in the default namespace.
upvoted 0 times
...
Launa
5 months ago
I feel like I need to double-check the exact commands for creating the service account and pod. I hope I remember the syntax correctly!
upvoted 0 times
...
Kanisha
5 months ago
I'm a bit confused about the automounting feature. Do I need to explicitly set `automountServiceAccountToken` to false for this task?
upvoted 0 times
...
Beata
5 months ago
I think we did a similar question where we had to create a pod with a specific service account. It involved setting the `serviceAccountName` in the pod spec, right?
upvoted 0 times
...
Mendy
6 months ago
I remember we practiced creating service accounts, but I'm not entirely sure how to set the permissions for listing pods.
upvoted 0 times
...
Ressie
6 months ago
I'm leaning towards Option D. Spreading the EC2 instances across multiple AZs, using Auto Scaling, and Spot Instances seems like a solid way to improve reliability.
upvoted 0 times
...
Melda
6 months ago
Hmm, I'm not sure about this one. I know Salesforce has a lot of different tools, but I'm not familiar with all of them. I'll have to think this through carefully.
upvoted 0 times
...
Dana
6 months ago
Hmm, this looks like a tricky one. I'll need to think carefully about the different file systems and their timestamp formats.
upvoted 0 times
...

Save Cancel