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

Posted by Izetta on Jun 27, 2022 at 11:51 AM

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

Suggested Answer: A

Get Premium CKS Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
12 comments · newest first
BU
Buck 12 months ago
I thought you could just add permissions later if needed?
EL
Ellen 1 year ago
Agreed, but it's a good security practice!
MO
Moon 1 year ago
Wait, why can't it access secrets? Seems limiting.
KI
Kizzy 1 year ago
Nice! That role binding looks good too.
IZ
Izetta 1 year ago
Just created a service account named backend-qa in the qa namespace.
EM
Emiko 1 year 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!
EU
Eun 1 year 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?
TA
Tammy 1 year ago
I practiced something similar last week, but I can't recall if I need to specify the namespace in the rolebinding command.
FR
Francene 1 year 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.
LA
Lauran 1 year 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.
MA
Maryann 1 year 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.
VE
Veronika 1 year 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".
0/2000 characters

Save Cancel