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

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

You can switch the cluster/configuration context using the following command:

[desk@cli] $kubectl config use-context qa

Context:

A pod fails to run because of an incorrectly specified ServiceAccount

Task:

Create a new service account named backend-qa in an existing namespace qa, which must not have access to any secret.

Edit the frontend pod yaml to use backend-qa service account

Note:You can find the frontend pod yaml at /home/cert_masters/frontend-pod.yaml

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Buck
4 months ago
I thought you could just add permissions later if needed?
upvoted 0 times
...
Ellen
4 months ago
Agreed, but it's a good security practice!
upvoted 0 times
...
Moon
5 months ago
Wait, why can't it access secrets? Seems limiting.
upvoted 0 times
...
Kizzy
5 months ago
Nice! That role binding looks good too.
upvoted 0 times
...
Izetta
5 months ago
Just created a service account named backend-qa in the qa namespace.
upvoted 0 times
...
Emiko
5 months ago
I definitely remember editing the pod YAML to set the service account, but I hope I don't forget to apply the changes afterward!
upvoted 0 times
...
Eun
5 months ago
I feel like I might have mixed up the permissions for the role. I know we need to exclude secrets, but did I get the verbs right?
upvoted 0 times
...
Tammy
5 months ago
I practiced something similar last week, but I can't recall if I need to specify the namespace in the rolebinding command.
upvoted 0 times
...
Francene
5 months ago
I think I remember that creating a service account is done with `kubectl create sa`, but I'm not sure about the exact syntax for the role and rolebinding.
upvoted 0 times
...
Lauran
5 months ago
Hmm, I'm a bit unsure about this one. I know the SIP domain is important for SIP trunking, but I can't quite remember where it needs to be configured in the SAT forms.
upvoted 0 times
...
Maryann
6 months ago
I'm pretty sure this is asking about use case development, so the answer is probably related to the types of tests or scenarios that come out of that process. I'm leaning towards "Scenarios" as the best answer.
upvoted 0 times
...
Veronika
6 months ago
Okay, let me see. I think the key here is that the question is asking about a hotel plan that includes both the room and all meals. Based on that, I'm going to go with "inclusive plan".
upvoted 0 times
...

Save Cancel